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
.el { | |
background-color: #000; | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#000'); | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbb), to(#000)); | |
background-image: -webkit-linear-gradient(top, #bbb, #000); | |
background-image: -moz-linear-gradient(top, #bbb, #000); | |
background-image: -ms-linear-gradient(top, #bbb, #000); | |
background-image: -o-linear-gradient(top, #bbb, #000); | |
background-image: linear-gradient(top, #bbb, #000); | |
} |
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
@font-face { | |
font-family: 'MyFont'; | |
src: url('myfont.eot'); | |
src: url('myfont.eot?#iefix') format('embedded-opentype'), | |
url('myfont.woff') format('woff'), | |
url('myfont.ttf') format('truetype'), | |
url('myfont.svg#webfont') format('svg'); | |
} | |
h1 { |
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
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="HandheldFriendly" content="true"> |
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
<video poster="images/preview.png" width="1280" height="720" controls="controls" preload="none"> | |
<source src="media/video.mp4" type="video/mp4"></source> | |
<source src="media/video.webm" type="video/webm"></source> | |
<source src="media/video.ogg" type="video/ogg"></source> | |
</video> | |
<audio controls="controls" preload="none"> | |
<source src="music.ogg" type="audio/ogg"> | |
<source src="music.mp3" type="audio/mpeg"> | |
</audio> |
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 id="sample-uploader-container" class="well"> | |
<span id="sample-uploader-upload" class="btn"><i class="icon-upload"></i> Select</span> or drop here | |
</div> | |
<div id="sample-uploader-fileslist"></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
for i in /*; do echo $i; find $i | wc -l; 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
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 |
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
# 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
"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 |