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
var gulp = require('gulp'), | |
browserify = require('browserify'), | |
es6ify = require('es6ify'), | |
hbsfy = require('hbsfy'), | |
bulkify = require('bulkify'), | |
source = require('vinyl-source-stream'), | |
streamify = require('gulp-streamify'), | |
concat = require('gulp-concat'), | |
gutil = require('gulp-util'), | |
livereload = require('gulp-livereload'), |
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
<div class="fotorama" data-nav="thumbs" data-width="700" data-ratio="4/3" | |
data-max-width="100%"> | |
<a href="1.jpg"><img src="thumb_1.jpg" width="100" height="75"></a> | |
<a href="2.jpg"><img src="thumb_2.jpg" width="100" height="75"></a> | |
<a href="3.jpg"><img src="thumb_3.jpg" width="100" height="75"></a> | |
<a href="4.jpg"><img src="thumb_4.jpg" width="100" height="75"></a> | |
<a href="5.jpg"><img src="thumb_5.jpg" width="100" height="75"></a> | |
</div> |
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
<div class="fotorama" data-allowfullscreen="native" data-fit="cover" | |
data-keyboard="true" data-width="700" data-ratio="4/3" data-max-width="100%"> | |
<img src="images/1.jpg"> | |
<img src="images/2.jpg"> | |
<img src="images/3.jpg"> | |
<img src="images/4.jpg"> | |
<img src="images/5.jpg"> | |
</div> |
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
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs) | |
[Bb]in/ | |
[Oo]bj/ | |
# mstest test results | |
TestResults | |
## Ignore Visual Studio temporary files, build results, and | |
## files generated by popular Visual Studio add-ons. |
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
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
position: relative; |
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>Label</key> | |
<string>org.mongodb.mongod</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/mongod</string> | |
<string>run</string> |
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
"C:\Program Files (x86)\Microsoft XDE\8.0\XDE.exe" /vhd "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.vhd" /video "720x1280" /memsize 1024 /language 409 /creatediffdisk "%Temp%\dd.720x1280.1024.vhd" /fastShutdown |
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
# Add to nginx.conf http section | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} |
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
# default rule | |
sudo ufw default deny | |
# allow ssh | |
sudo ufw allow 22/tcp | |
# enable firewall | |
sudo ufw enable | |
# allow https? |
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
sudo apt-get install python-software-properties | |
# Node.js | |
sudo apt-get purge nodejs npm | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
# mongodb | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
sudo touch /etc/apt/sources.list.d/10gen.list | |
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list |