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
Show hidden characters
{ | |
"auto_find_in_selection": true, | |
"binary_file_patterns": | |
[ | |
"*.min.js", | |
"*.min.css", | |
"*.sql", | |
"*.map", | |
"node_modules/", | |
"bower_components/" |
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
<?php | |
/* | |
Question list | |
----------------------------------- */ | |
$questions = array | |
( | |
(object) array | |
( |
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
// Use these events to cancel a scroll in progress | |
var scrollEvents = 'scroll mousedown DOMMouseScroll mousewheel keyup touchstart pointerdown MSPointerDown'; |
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
<script> | |
var _gaq = _gaq || []; | |
_gaq.push(['_setAccount', 'UA-26260989-4']); | |
_gaq.push(['_setCustomVar', 1, 'A-B Test Variant', 'A', 1]); | |
_gaq.push(['_trackPageview']); | |
(function() { | |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
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
upstream somewhere | |
{ | |
server localhost:4000; | |
} | |
server | |
{ | |
location / | |
{ | |
try_files $uri @proxy; |
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
return ('ontouchstart' in window) || navigator.msPointerEnabled || window.DocumentTouch && document instanceof DocumentTouch; |
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
{ | |
"Badge Text" : "", | |
"Working Directory" : "\/Users\/Colin\/Sites\/", | |
"Prompt Before Closing 2" : false, | |
"Selected Text Color" : { | |
"Red Component" : 0.2274509817361832, | |
"Color Space" : "Calibrated", | |
"Blue Component" : 0.294117659330368, | |
"Alpha Component" : 1, | |
"Green Component" : 0.2470588237047195 |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/Cellar/node/8.0.0/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'install' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly install runPreinstallTopLevelLifecycles | |
5 silly preinstall @scope/[email protected] | |
6 info lifecycle @scope/[email protected]~preinstall: @scope/[email protected] | |
7 silly lifecycle @scope/[email protected]~preinstall: no script for preinstall, continuing |
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
// Output raw video frames (ppm file) | |
gource -f -1280x720 --stop-at-end --disable-progress -e 0.006 --bloom-multiplier 0.70 --multi-sampling --auto-skip-seconds 1 --seconds-per-day 0.5 --output-ppm-stream - > ~/Desktop/filename.ppm & | |
// Generate video from frames | |
ffmpeg -f image2pipe -vcodec ppm -i ~/Desktop/filename.ppm -an -pass 1 -vcodec libx264 -b 1000000 -pix_fmt yuv420p -threads 0 ~/Desktop/filename.mp4 |
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
import Etiquette from './lib/etiquette'; | |
import message from './lib/message'; | |
class Greeter extends Etiquette { | |
constructor (config) { | |
super(); | |
this.intro = config.intro; | |
this.name = config.name; |
OlderNewer