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
# mas install <id> | |
id6450717509 14 macOS Sonoma | |
id1638787999 13 macOS Ventura | |
id1576738294 12 macOS Monterey | |
id1526878132 11 macOS Big Sur | |
1466841314 10.15 macOS Catalina | |
1398502828 10.14 macOS Mojave | |
1246284741 10.13 macOS High Sierra | |
1127487414 10.12 macOS Sierra | |
1147835434 10.11 OS X El Capitan (new) |
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
prezto | |
https://github.com/sorin-ionescu/prezto | |
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
# https://github.com/mathiasbynens/dotfiles | |
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
$files = Get-ChildItem . | |
foreach ($file in $files) { | |
ffmpeg -i $file $($file.BaseName + ".flac") | |
} |
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
# http://boxstarter.org/package/url? | |
# URL Setup | |
# http://boxstarter.org/package/nr/url?*url to raw gist* | |
# Run in Powershell | |
# START *URL above* | |
# Windows options | |
Set-ExplorerOptions -showHidenFilesFoldersDrives | |
Set-ExplorerOptions -showProtectedOSFiles |
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
fmpeg -i video input/frame_%04d.bmp | |
#your processing here, ie. python3 glitch.py | |
ffmpeg -framerate 29.97 -i output/wp_frame_%04d.bmp output.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
// If you do not want to create your own shapes, you can use SpriteKit to create a shape for you based on the sprite’s texture. | |
//objc | |
SKSpriteNode *sprite = [SKSpriteNode spriteNodeWithImageNamed:@"Spaceship"]; | |
sprite.physicsBody = [SKPhysicsBody bodyWithTexture:sprite.texture size:sprite.texture.size]; | |
//swift | |
let sprite = SKSpriteNode(imageNamed:"Spaceship") | |
sprite.physicsBody = SKPhysicsBody(texture: sprite.texture!, size: sprite.size) |
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
# follow http://www.pyimagesearch.com/2015/06/15/install-opencv-3-0-and-python-2-7-on-osx/ | |
# install numpy | |
sudo pip install numpy | |
# https://github.com/Breakthrough/PySceneDetect | |
sudo pip install pyscenedetect |
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
# encode | |
cat chickenhours.jpg | base64 > chickn.txt | |
# decode | |
base64 --decode -i chicknJK.txt -o outJK.jpg |
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
# view paths | |
# ld -v 2 | |
CPPFLAGS=-I$HOME/local/include | |
LDFLAGS=-L$HOME/local/lib |