Skip to content

Instantly share code, notes, and snippets.

View filmgirl's full-sized avatar

Christina Warren filmgirl

View GitHub Profile
@filmgirl
filmgirl / gist:cebd43130087c41496e3c3435117f09c
Created January 16, 2025 18:08
Testing Text for GitHub Copilot Regex Challenge
In today's digital age, communication has become increasingly complex. Sarah Johnson ([email protected]) leads our marketing team, while project updates are handled by Dev Kumar at [email protected]. Customers can reach our support desk at [email protected], but for urgent matters, they should contact James Wilson, our emergency coordinator, at [email protected]. The quarterly newsletter is managed by [email protected], though individual department newsletters like [email protected] and [email protected] have their own dedicated channels. For general inquiries, contact [email protected] or, if you're a member of the press, reach out to [email protected]. Our sustainability initiatives can be discussed with [email protected]. Our main education conatct is [email protected]
Additional email addresses include:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- na
@filmgirl
filmgirl / thumb.sh
Last active April 16, 2024 01:01
Grab thumbnail from a YouTube URL and save to whatever folder you're in
## Put in your .zshrc or .bashrc file, make sure yt-dlp and ffmpeg are already installed
thumb() {
yt-dlp --ignore-errors --write-thumbnail --skip-download $1
}
@filmgirl
filmgirl / G2V.sh
Created March 5, 2022 19:01
Gif to Video ZSH Snippet For macOS/QuickTime
## 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 February 25, 2019 03:33 — forked from scottcate/Bookmarklet for CDA Web Trends
Bookmarklet Template for adding Web Trends tracking
@filmgirl
filmgirl / delete-custom-post-type.sql
Created July 30, 2018 19:13
SQL query for efficiently deleting WordPress CPT
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 November 30, 2019 04:05
Create Bootable USB Drive for OS X El Capitan
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
### 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 January 24, 2025 09:28
Fix Message.app Receive Sound in Yosemite
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 April 3, 2018 07:04
Create Bootable USB Drive for OS X Yosemite
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
@filmgirl
filmgirl / mavericks-install
Created October 23, 2013 19:58
OS X Mavericks
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --nointeraction