$ wget https://registry.npmjs.org/jsbin/-/jsbin-3.11.23.tgz
$ tar xvfz jsbin-3.11.23.tgz
$ cd package
$ sed -i '/ "sqlite3": "~2.2.0",/c\ "sqlite3": "*",' package.json
$ npm install --build-from-source -g
$ cd C:\Users\user\AppData\Roaming\npm\node_modules\jsbin && npm install express
$ cd ./node_modules/express && npm install connect
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/bash - | |
#title :Create Sass Project | |
#description :Start a new Sass project using github.com/scotch-io/less-or-sass-starter.git | |
#backtitle :Sass Starter | |
#author :derekbtw | |
#version :1.0 | |
#============================================================================== | |
today=$(date +%m%d%Y) | |
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
$(".carousel").on("touchstart", function(event){ | |
var xClick = event.originalEvent.touches[0].pageX; | |
$(this).one("touchmove", function(event){ | |
var xMove = event.originalEvent.touches[0].pageX; | |
if( Math.floor(xClick - xMove) > 5 ){ | |
$(".carousel").carousel('next'); | |
} | |
else if( Math.floor(xClick - xMove) < -5 ){ | |
$(".carousel").carousel('prev'); | |
} |
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
cd projects | |
@echo off | |
COLOR 0A | |
set /p dname= New project name: | |
git clone https://github.com/BlackrockDigital/startbootstrap-bare.git %dname% | |
cd %dname% | |
mkdir scss | |
cd scss | |
echo //main > main.scss |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/* | |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
β Easily create more unicode tables using the following resources: β | |
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ© | |
β http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%E2%94%80-%E2%95%BF%EF%BF%A8%5D β | |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ | |
β http://apps.timwhitlock.info/emoji/tables/unicode β | |
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
ββββββββββββββββββββββββββββββββββββββββββββββββββββ |
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
#Place the following inside the directory you don't want SSL on | |
RewriteCond %{HTTPS} on | |
RewriteCond %{REQUEST_URI} ^/ | |
RewriteRule (.*) http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] |
NewerOlder