Install or update ddd with:
curl -fsSL https://diffdump.com/install | bashThe checksum-verifying installer places ddd in ~/.local/bin, adds that
directory to your login shell's profile when necessary, and creates the ddc,
| import { execFile } from 'node:child_process' | |
| import { existsSync, mkdirSync, readFileSync } from 'node:fs' | |
| import { dirname, resolve } from 'node:path' | |
| import { fileURLToPath } from 'node:url' | |
| import { promisify } from 'node:util' | |
| import { parse } from 'yaml' | |
| type RepositoryPackage = { | |
| readonly packageDirectory: string | |
| readonly packageName: string |
| /loop once every two hours. | |
| !git reset --hard && git checkout dev && git pull && pnpm i && pnpm build | |
| Study across all backend apps and packages and identify opportunities to improve the code. | |
| Look to : | |
| - simplify code | |
| - reduce verbosity | |
| - improve conciseness |
| #!/usr/bin/env bash | |
| # ralph.sh | |
| # Usage: ./ralph.sh <iterations|review> | |
| set -e | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <iterations|review>" | |
| exit 1 | |
| fi |
| name | freckle-cli |
|---|---|
| description | Use the `freckle` CLI when asked to do anything related to Freckle, list or dataset building, GTM enrichment or workflows. |
When freckle is referenced, always use the freckle CLI.
IMPORTANT: Interview me relentlessly about every aspect of the request until we reach a shared understanding. For each question, provide your recommended answer.
I hereby claim:
To claim this, I am signing this object:
| <html> | |
| <body> | |
| <script src="./test-app.js"></script> | |
| </body> | |
| </html> |
| var q = require('q'); | |
| // Sample Async Function | |
| function asyncFunction(data, cb) { | |
| setTimeout(function() { | |
| // call cb with error | |
| cb(new Error('Error')); | |
| // Or call with success | |
| cb(null, {status: 'true'}); | |
| }, 100); |
| var allTheXmlsYay = []; | |
| function getXML(url) { | |
| var d = $q.defer(); | |
| d3.xml(url, 'image/svg+xml' function(xml) { | |
| // If error variable is present | |
| // if(err) d.reject(err); | |
| d.resolve(xml); |
| var addScript = function(url,success){ | |
| var script = document.createElement('script'); | |
| script.src = url; | |
| var head = document.getElementsByTagName('head')[0], done=false; | |
| script.onload = script.onreadystatechange = function(){ | |
| if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { | |
| done=true; | |
| success(); |