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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Blue Component</key> | |
<real>0.0</real> | |
<key>Green Component</key> | |
<real>0.0</real> |
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
<?php | |
// Writes the appropriate #leftnav menu based on page id | |
$current_page_id = get_the_ID(); | |
$amenities_sub_nav_pages = array(34, 63); | |
if (in_array($current_page_id, $amenities_sub_nav_pages)) { | |
wp_nav_menu(array( | |
'container' => 'false', | |
'menu' => 'amenities-sub-nav', | |
'menu_id' => 'leftnav' | |
)); |
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
!function(b) { | |
var a = function(d, c, f) { | |
if (f) { | |
f.stopPropagation(); | |
f.preventDefault() | |
} | |
this.$element = b(d); | |
this.$newElement = null; | |
this.button = null; | |
this.options = b.extend({}, b.fn.selectpicker.defaults, this.$element.data(), typeof c == "object" && c); |
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
tweetbot:///search?query=[[draft]]%20lang%3Aen%20-filter%3Aretweet%20-%22RT%20%22 |
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
#!/bin/sh | |
# | |
# Grab a random gif from giphy.com | |
# | |
# Example: | |
# $ gif // places a gif url on your clipboard | |
# $ gif -o // opens a gif url in your default browser | |
# $ gif chicago+bulls // places a Bulls-related gif url on your clipboard | |
# $ gif chicago+bulls -o // opens a Bulls-related gif url in your default browser | |
# |
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
AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:@"I'm watching you"]; | |
[utterance setRate:0.1666]; | |
[utterance setPitchMultiplier:0.55]; | |
[[[AVSpeechSynthesizer alloc] init] speakUtterance:utterance]; |
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
jQuery(function(){ | |
if (window.matchMedia) { | |
if (window.matchMedia("(max-device-width: 480px)").matches) { | |
// | |
// Swaps in new mobile src for existing images | |
// Expects: <img class="mobile-src-overwrite-400" src="path/to/asset?parms=1" width="800"> | |
// Returns: <img class="mobile-src-overwrite-400" src="path/to/asset-mobile?fmt=png-alpha&wid=400&qlt=95" width="400"> | |
// | |
jQuery('[class*="mobile-src-overwrite-"]').each(function(){ |
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
jQuery(function(){ | |
if (window.matchMedia) { | |
if (window.matchMedia("(max-device-width: 480px)").matches) { | |
jQuery('.mobile-src').each(function(){ | |
var $el = jQuery(this), | |
newSrc = $el.attr('src').split('?')[0] + "-mobile?fmt=png-alpha&qlt=95"; | |
jQuery('<img>', { | |
'src': newSrc, | |
'load': function(){ |
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
for i in {1..25}; do convert original.jpg -font Helvetica -pointsize 200 -draw "gravity center fill white text 0,20 '$i'" water-marked-image-$i.jpg; 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
# Mac\n | |
.DS_Store\n\n | |
# Sass\n | |
.sass-cache/\n\n | |
# Node\n | |
node_modules\n | |
node_modules/\n | |
npm-debug.log |