Skip to content

Instantly share code, notes, and snippets.

View rowe-morehouse's full-sized avatar
👋
… hi!

Rowe Morehouse rowe-morehouse

👋
… hi!
View GitHub Profile
@rowe-morehouse
rowe-morehouse / Google-Cloud-Developer-Cheatsheet-v2020.4.7
Last active October 21, 2020 13:34
Anki flashcards for studying for Professional Google Cloud Developer certification. v2020.4.7 based on @gregsramblings / google-cloud-4-words
Anki flashcards for studying for Professional Google Cloud Developer certification. v2020.4.7
Based on https://github.com/gregsramblings/google-cloud-4-words
Download the .akpg and import into your Anki app for spaced repitition memorization.
@rowe-morehouse
rowe-morehouse / .profile
Last active October 20, 2020 20:50
Rowe Morehouse bash .profile
########################################
## ##
## Rowe Morehouse .profile 20201011 ##
## ##
########################################
##
## Load the shell .profiles, and then some.
##
@rowe-morehouse
rowe-morehouse / infinite-zoom.css
Created October 15, 2020 02:34 — forked from jayllellis/infinite-zoom.css
Infinite slow zoom CSS animation
.infinite-zoom{
-webkit-animation: zoomSlow 60s infinite linear;
-moz-animation: zoomSlow 60s infinite linear;
animation: zoomSlow 60s infinite linear;
}
@-webkit-keyframes zoomSlow {
0% {
-moz-transform: scale(1);
-webkit-transform: scale(1);
@rowe-morehouse
rowe-morehouse / regex.md
Created October 15, 2020 00:32 — forked from magicznyleszek/regex.md
RegEx Cheatsheet
@rowe-morehouse
rowe-morehouse / multiply-blending-mode-to-png.md
Created October 15, 2020 00:28 — forked from mfd/multiply-blending-mode-to-png.md
Multiply blending mode to PNG in Photoshop
  1. copy your image (Ctrl+A and Ctrl+C)
  2. make a new document-sized pure-black layer behind it
  3. group the black layer and yor image together
  4. add mask to the group
  5. enter mask edit mode (alt+click on the mask icon/thumbnail)
  6. paste your image in the mask (b/w) and then invert it.
  7. save it as a 24-bit transparent PNG
for i in **/*.mp4; do
    d=$(dirname "$i");
    b=$(basename "$i" .mp4);
    mkdir -p "720/${d}"
    ffmpeg -i "$i" -c:v libx264 -s hd720 "720/${d}/${b}_720.mp4"
done
@rowe-morehouse
rowe-morehouse / complete-list-of-ffmpeg-flags+commands.txt
Last active October 6, 2020 07:36 — forked from tayvano/gist:6e2d456a9897f55025e25035478a3a50
complete list of ffmpeg flags / commands
Originall From: http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | Posted 2015-05-29
ffmpeg full documentation: https://ffmpeg.org/ffmpeg.html
----------------------------------------
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full.
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…
Getting help:
-h — print basic options
@rowe-morehouse
rowe-morehouse / mov-to-gif.md
Last active October 4, 2020 17:39
Quicktime screen record .mov to animated .gof

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

  • Open "Quicktime Player",
  • Go to File -> New Screen Recording