Skip to content

Instantly share code, notes, and snippets.

Avatar

Christina Warren filmgirl

View GitHub Profile
@filmgirl
filmgirl / G2V.sh
Created Mar 5, 2022
Gif to Video ZSH Snippet For macOS/QuickTime
View G2V.sh
## Put in your .zshrc or .bashrc file
g2v() {
ffmpeg -f gif -i $1 -pix_fmt yuv420p $2
}
## Modified from https://ewanvalentine.io/make-your-own-gif-to-mp4-converter-using-ffmpeg-and-bash/
@filmgirl
filmgirl / Bookmarklet for CDA Web Trends
Last active Feb 25, 2019 — forked from scottcate/Bookmarklet for CDA Web Trends
Bookmarklet Template for adding Web Trends tracking
View Bookmarklet for CDA Web Trends
@filmgirl
filmgirl / delete-custom-post-type.sql
Created Jul 30, 2018
SQL query for efficiently deleting WordPress CPT
View delete-custom-post-type.sql
DELETE FROM wp_posts
WHERE post_type = 'post_type';
DELETE FROM wp_postmeta
WHERE post_id NOT IN (
SELECT
id FROM wp_posts);
DELETE FROM wp_term_relationships
WHERE object_id NOT IN (
@filmgirl
filmgirl / el-capitan-install-usb
Last active Nov 30, 2019
Create Bootable USB Drive for OS X El Capitan
View el-capitan-install-usb
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
View gist:f64a26c50bc34501f582
### Keybase proof
I hereby claim:
* I am filmgirl on github.
* I am film_girl (https://keybase.io/film_girl) on keybase.
* I have a public key whose fingerprint is E37D B179 06A2 0DB3 CB19 8F4D ABA8 5C28 322E D770
To claim this, I am signing this object:
@filmgirl
filmgirl / MessagesFix
Last active Aug 29, 2015
Fix Message.app Receive Sound in Yosemite
View MessagesFix
defaults write ~/Library/Containers/com.apple.tonelibraryd/Data/Library/Preferences/com.apple.ToneLibrary.plist "sms-sound-identifier" "/Applications/Messages.app/Contents/Resources/Default.aiff"
@filmgirl
filmgirl / yosemite-install-usb
Last active Apr 3, 2018
Create Bootable USB Drive for OS X Yosemite
View yosemite-install-usb
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
View mavericks-install
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction
@filmgirl
filmgirl / instagram-for-video-embed
Last active Dec 18, 2015
Instagram video embed steps. Replace URLs with Amazon S3 links from Instagram page.
View instagram-for-video-embed
<video controls="controls" poster="http://distilleryimage3.s3.amazonaws.com/2ea7416ad9e311e28f2322000a9e0753_7.jpg" width="640" height="640">
<source src="http://distilleryvesper3-7.ak.instagram.com/2ea7416ad9e311e28f2322000a9e0753_101.mp4" type="video/mp4" />
<img alt="C-Mac's Messy Desk" src="http://distilleryimage3.s3.amazonaws.com/2ea7416ad9e311e28f2322000a9e0753_7.jpg" width="640" height="640" title="No video playback capabilities, please download the video below" />
</video>