// jQuery
$(document).ready(function() {
// code
})
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://npmjs.org/install.sh | sh |
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
(function(){ | |
var size = document.height; | |
document.getElementById('all').style.height = size; | |
}()); |
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
// Importa o Semantic.grid, no caso estou importanto a versão SASS. | |
@import '../semantic-grid/stylesheets/scss/grid.scss'; | |
$columns: 12; | |
$column-width: 60; | |
$gutter-width: 0; | |
// Responsivo | |
$total-width: 100%; |
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
project | |
--images | |
--scripts | |
----main.scss | |
--styles | |
----_variables.scss | |
----_fonts.scss | |
----_global.scss | |
----_section1.scss | |
----_section2.scss |
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
// Name: Zombie Grid | |
// Author: Matheus Lucca do Carmo / me@matheuslc.com | |
// Version: 0.0.1 | |
//-------------------------------------------- | |
// | |
// Variables | |
//-------------------------------------------- | |
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
// Name: Zombie Grid | |
// Author: Matheus Lucca do Carmo / me@matheuslc.com | |
// Version: 0.0.1 | |
//-------------------------------------------- | |
// | |
// Variables | |
//-------------------------------------------- | |
$grid-columns: 12; // Set your columns |
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
projectname | |
css | |
sass | |
_mixins.scss | |
_variables.scss | |
_globall.scss | |
_media.scss (media queries) | |
_grid.scss | |
_main.scss (arquivo que uso só para @include) |
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
//addEventListener polyfill 1.0 / Eirik Backer / MIT Licence | |
(function(win, doc){ | |
if(win.addEventListener)return; //No need to polyfill | |
function docHijack(p){var old = doc[p];doc[p] = function(v){return addListen(old(v))}} | |
function addEvent(on, fn, self){ | |
return (self = this).attachEvent('on' + on, function(e){ | |
var e = e || win.event; | |
e.preventDefault = e.preventDefault || function(){e.returnValue = false} | |
e.stopPropagation = e.stopPropagation || function(){e.cancelBubble = true} |
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
{ | |
"always-semicolon": true, | |
"block-indent": 4, | |
"colon-space": true, | |
"color-case": "lower", | |
"color-shorthand": true, | |
"combinator-space": true, | |
"element-case": "lower", | |
"eof-newline": true, | |
"leading-zero": false, |
OlderNewer