This file contains 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
"productVariationsPart": { | |
"productVariations":{ | |
"MHAK2AM/A": { | |
"productTitle": "Studio Wireless Over-Ear Headphones - Titanium", | |
"dimensionColor": "titanium" | |
}, | |
"MH8K2AM/A": { | |
"productTitle": "Studio Wireless Over-Ear Headphones - Red", | |
"dimensionColor": "red" | |
}, |
This file contains 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
Hello world! | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis I'm over here exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |
Hello world again! | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
This file contains 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 |
This file contains 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 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 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 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 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 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 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); |
NewerOlder