Skip to content

Instantly share code, notes, and snippets.

Christina Warren filmgirl

Block or report user

Report or block filmgirl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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
// Directions
// Step 1: Click Gist Raw, then Copy/Paste entire gist into Bookmarklets.org/maker/
// Step 2: Change the first 3 variables: alias, event, docs
// Step 3: At the bottom of the Bookmarklets.org page, drag the Bookmarklet Hyperlink to your Browser ToolBar
// Step 4: Enjoy
var alias = 'chwarren';
var event = prompt('Enter value for the event', ''); //docs,build,ignite,blog,think of this as broad category
var channel = prompt('Enter value for the channel', '') //facebook,hackernews,print,think of this as medium being used
@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 Feb 5, 2018
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>
You can’t perform that action at this time.