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
Transcode (change quality to 240) | |
for f in *.mp4; do ffmpeg -y -i "$f" -threads 0 -preset slow -s 320x240 -c:v libx264 -strict -2 "360/${f%}"; done | |
Change mp4 to 3gp | |
for f in *.mp4; do ffmpeg -y -i "$f" -r 20 -s 176x144 -vb 100k -acodec aac -strict experimental -ac 1 -ar 8000 -ab 24k "3gp/${f%}.3gp"; done |
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
const alphabet = { | |
"ա":"a", "բ":"b", "գ":"g", "դ":"d", "ե":"e", "զ":"z", | |
"է":"e", "ը":"y", "թ":"t", "ժ":"zh", "ի":"i", "լ":"l", | |
"խ":"kh", "ծ":"ts", "կ":"k", "հ":"h", "ձ":"dz", "ղ":"gh", | |
"ճ":"ch", "մ":"m", "յ":"y", "ն":"n", "շ":"sh", "ո":"v", | |
"չ":"ch", "պ":"p", "ջ":"j", "ռ":"r", "ս":"s", "վ":"v", | |
"տ":"t", "ր":"r", "ց":"c", "ու":"u", "փ":"p", "ք":"q", | |
"և":"ev", "օ":"o", "ֆ":"f", "եւ":"ev", | |
"Ա":"a", "Բ":"b", "Գ":"g", "Դ":"d", "Ե":"e", "Զ":"z", |
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
CircuitBuildTimeout 10 | |
LearnCircuitBuildTimeout 0 | |
MaxCircuitDirtiness 10 |
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
npm init | |
npm i gulp browser-sync gulp-sass --save-dev | |
npm i bootstrap jquery popper.js --save |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |