Personal-use CLI. Accesses only the owner's Google Tasks. No data is collected, stored remotely, or shared.
See docs @ https://docs.github.com/en/rest/gists/gists?apiVersion=2022-11-28#create-a-gist
content=$(awk '{gsub(/\\/, "\\\\"); gsub(/"/, "\\\""); printf "%s\\n", $0}' /path/to/your/file | sed ':a;N;$!ba;s/\n/\\n/g')# Navigate to your existing repository
cd /path/to/existing/repo
# Add the new repository as a remote
git remote add new-repo /path/to/new/repo
# Fetch the branch from the new repository
git fetch new-repo branch-name- converts webp to png
1
for x in *.webp; do dwebp {} -o ${x%.*}.png ::: $x; done - convert transparent pngs to white background (multiple files w/ renaming)
convert '*.png' -background white -alpha remove -alpha off -set filename:fn '%[basename]-white' '%[filename:fn].png'
Separate image into discrete channels, colored as channel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Place your key bindings in this file to override the defaults | |
| [ | |
| { | |
| "key": "ctrl+`", | |
| "command": "workbench.action.terminal.focus", | |
| "when": "!terminalFocus" | |
| }, | |
| { | |
| "key": "ctrl+tab", | |
| "command": "workbench.action.terminal.focusNext", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create photomosaics from a source image and a directory of tile images. | |
| // by Greg Borenstein, January 2013 | |
| // Read more here: http://www.urbanhonking.com/ideasfordozens/2013/01/14/making-photomosaics-in-processing/index.html | |
| // NOTE: based on luminance (white/black) only, NOT HUE | |
| // see inline comments for more details | |
| // ------------------------------------- | |
Some of these DO NOT WORK and I'm not sure why they are here ugh
ffmpeg -r 15 -f image2 -s 500x500 -pattern_type glob -i '*.png' -vcodec libx264 -crf 17 -pix_fmt yuv420p 'combined.mp4'
ffmpeg -r 3 -f image2 -pattern_type glob -i '*.png' -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -vcodec libx264 -crf 17 -pix_fmt yuv420p 'combined.mp4'
ffmpeg -r 3 -f image2 -pattern_type glob -i '*.png' -vf scale=-2:2048 -vcodec libx264 -crf 17 -pix_fmt yuv420p 'combined.mp4'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In recent days (the last 12-24 hours), there have been a couple of posts on a one | |
| 'Marak Squires', who goes by the tag JimBastard. He stands accused of stealing code, | |
| and being a general douchebag. Stealing code isn't good. Being a douchebag isn't | |
| acutally illegal. However, the way that the campaign against him has been carried | |
| out worries me. | |
| The post to reddit that brought this issue to attention was entitled 'Code Thief at | |
| Large: Marak Squires / JimBastard'. It can be found here: | |
| http://www.reddit.com/r/programming/comments/ebge2/code_thief_at_large_marak_squires_jimbastard/. | |
| It was a link to a github gist that can be found here: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rules: {"start":"P","rules":{"P":"P+P[PN]T","T":"PP"}} | |
| instructions: P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP+P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP[P+P[PN]T+P+P[PN]T[P+P[PN]TN]PPN]P+P[PN]TP+P[PN]T+P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP+P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP[P+P[PN]T+P+P[PN]T[P+P[PN]TN]PPN]P+P[PN]TP+P[PN]T[P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP+P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP[P+P[PN]T+P+P[PN]T[P+P[PN]TN]PPN]P+P[PN]TP+P[PN]TN]P+P[PN]T+P+P[PN]T[P+P[PN]TN]PPP+P[PN]T+P+P[PN]T[P+P[PN]TN]PP+P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP+P+P[PN]T+P+P[PN]T[P+P[PN]TN]PP[P+P[PN]T+P+P[PN]T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