- SASS
$ gem install sass
- Bourbon
$ gem install bourbon
- Neat
$ gem install neat
- Bitters
$ gem install bitters
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] |
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
// 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
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
$(".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'); | |
} |
$ 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
#!/bin/bash - | |
#title :mkscript.sh | |
#description :This script will make a header for a bash script. | |
#author :bgw | |
#date :20111101 | |
#version :0.4 | |
#usage :bash mkscript.sh | |
#notes :Install Vim and Emacs to use this script. | |
#bash_version :4.1.5(1)-release | |
#============================================================================== |
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
// npm install browser-sync --save-dev | |
// npm run dev | |
{ | |
"name": "polymer-starter-kit", | |
"license": "BSD-3-Clause", | |
"devDependencies": { | |
"browser-sync": "^2.18.8", | |
"eslint": "^3.12.0", | |
"eslint-config-google": "^0.7.1", | |
"eslint-plugin-html": "^1.7.0" |
OlderNewer