Skip to content

Instantly share code, notes, and snippets.

{
"json": {
"patientInformation": {
"patientId": "123",
"firstName": "",
"lastName": "",
"dateOfBirth": "11/21/2024",
"ssn": "",
"zip": ""
},
@beryann
beryann / Vision du Paradis
Created November 21, 2024 09:50
Une vision du Paradis/A vision of Paradise
osc(5, 0.2, 0.8)
.repeat(4, 4,() => Math.sin(time), () => Math.sin(time/2) )
.modulate(osc(10), 0.3)
.mult(noise(10).kaleid(20))
.saturate(20)
.invert()
.out()
@pbechliv
pbechliv / type-improvements.ts
Created November 21, 2024 09:49
Typescript Teaser
// Have fun!
// Try to improve the typings used in this code.
class Bar {
getData(): any {
return { id: 1, name: "Sample Data" }; // Simulating a response
}
processData(data: any, callback: Function): void {
// Process the data
#!/bin/bash
cd sdk-js/dist/
find . -name "*.br" -type f -delete
find . -name "*.gz" -type f -delete
for i in {0..11}
do
echo "[ BROTLI ${i} ]"
time {
@choco-bot
choco-bot / FilesSnapshot.xml
Created November 21, 2024 09:49
docfx-companion-tools v1.25.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<files>
<file path="C:\ProgramData\chocolatey\lib\docfx-companion-tools\docfx-companion-tools.nupkg" checksum="8BAD19D8924553C77A053A709B5A500C" />
<file path="C:\ProgramData\chocolatey\lib\docfx-companion-tools\docfx-companion-tools.nuspec" checksum="7C5BAE7FF0151279DD525674D9227EBF" />
<file path="C:\ProgramData\chocolatey\lib\docfx-companion-tools\tools.zip.txt" checksum="8FF5356AA784FFAE841C63B785B68527" />
<file path="C:\ProgramData\chocolatey\lib\docfx-companion-tools\tools\chocolateyinstall.ps1" checksum="912BA01D3999FC1820EE723E98C8F00D" />
<file path="C:\ProgramData\chocolatey\lib\docfx-companion-tools\tools\DocFxOpenApi.exe" checksum="3CF832EB7636C176A1B9A9E1BDAE0B24" />
<file path="C:\ProgramData\chocolatey\lib\docfx-companion-tools\tools\DocLanguageTranslator.exe" checksum="A6F20FB8B04B22DDB7C97B0269137671" />
@kasparsd
kasparsd / wp-zips.md
Created November 21, 2024 09:49
WordPress package ZIP structure and contents

WordPress core, plugin and theme ZIP structure

WordPress core:

wget https://wordpress.org/latest.zip
unzip -l latest.zip | head
Archive:  latest.zip
  Length      Date    Time    Name
---------  ---------- -----   ----

0 11-12-2024 22:43 wordpress/

@jerpelea
jerpelea / ci-arm-14.log
Last active November 21, 2024 09:48
[arm-14] CI Log for nuttx @ 12cd59b3e67fbb84793da6e11c83915f6ee32108 / nuttx-apps @ 1b91e3c4a661ab2e3b8f4aaf04050ac345795e80
Script started on 2024-11-21 10:33:53+01:00 [COMMAND="/awork/nuttx/NuttX/farm/run-job.sh arm-14" TERM="screen.xterm-256color" TTY="/dev/pts/9" COLUMNS="190" LINES="48"]
latest: Pulling from apache/nuttx/apache-nuttx-ci-linux
Digest: sha256:15949c71a5b70cd12ff63ff326c1d002fd41b8eda504f174c00e96d49b5c4cd5
Status: Image is up to date for ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest
ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest
/root
Cloning into 'nuttx'...
remote: Enumerating objects: 817191, done.
remote: Counting objects: 0% (1/1796)remote: Counting objects: 1% (18/1796)remote: Counting objects: 2% (36/1796)remote: Counting objects: 3% (54/1796)remote: Counting objects: 4% (72/1796)remote: Counting objects: 5% (90/1796)remote: Counting objects: 6% (108/1796)remote: Counting objects: 7% (126/1796)remote: Counting objects: 8% (144/1796)remote: Counting objects: 9% (162/1796)remote: Counting objects: 10% (180/1796)remote: Counting objects: 11% (198/1796)remote: Counting objects: 12
@choco-bot
choco-bot / 1.RegistrySnapshot.xml
Created November 21, 2024 09:47
getdataback-simple v5.73.0 - Passed - Package Tests Results
<?xml version="1.0" encoding="utf-8"?>
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<user>S-1-5-21-1903019838-3280197814-4172001227-1000</user>
<keys>
<key installerType="InnoSetup" displayName="GetDataBack Pro version 5.73" displayVersion="5.73">
<RegistryView>Registry64</RegistryView>
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GetDataBack Pro Install_is1</KeyPath>
<DefaultValue />
<InstallLocation><![CDATA[C:\Program Files\Runtime Software\GetDataBack Pro\]]></InstallLocation>
<UninstallString><![CDATA["C:\Program Files\Runtime Software\GetDataBack Pro\unins000.exe" /SILENT]]></UninstallString>
至兩千年後的你