Skip to content

Instantly share code, notes, and snippets.

View LukyVj's full-sized avatar
🏠
Working from home

Lucas Bonomi LukyVj

🏠
Working from home
View GitHub Profile
@remi
remi / .gitconfig
Created July 27, 2011 18:14
Alias pour utiliser git en français!
[alias]
etat = status
pousser = push
tirer = pull
commettre = commit
ranger = stash
ajouter = add
enlever = rm
cloner = clone
fusionner = merge
@liamcurry
liamcurry / gist:2597326
Created May 4, 2012 19:56
Vanilla JS vs jQuery

Moving from jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@chriseppstein
chriseppstein / Sass.scss
Last active December 11, 2015 12:18 — forked from Snugug/Sass.scss
@function add-grid($grid-definition) {
$grid-split: split_string($grid-definition, 'at');
$number: to-number(nth($grid-split, 2));
@debug $number;
@debug type-of($number);
@return $number;
}
@cobyism
cobyism / gh-pages-deploy.md
Last active May 22, 2024 02:55
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

@ganshoot
ganshoot / Purecssio-grid-system.markdown
Created August 22, 2013 06:15
A CodePen by LukyVJ.
@LukyVj
LukyVj / Demo-important.js.markdown
Created September 5, 2013 09:46
A Pen by LukyVJ.

Demo important.js

With jq_important.js | It don't need jquery loaded. The script auto load Jquery.

A Pen by LukyVJ on CodePen.

License.

@gustavokuklinski
gustavokuklinski / gist:6641280
Last active December 23, 2015 13:19
Simply easy Grid System using the same brain as ScrathFramework. http://github.com/tuxlinski/ScrathFramework
/*
Debugger
-- Uncoment this lines for layout Debug
Debuging code is very important
*/
.container, .container-rwd { outline: 1px solid #ff00ff; }
.row { outline: 2px solid #0000ff; }
.block1, .block2, .block3, .block2-2 { outline: 2px solid #ffff00; }
@roytomeij
roytomeij / global_variables.scss
Last active December 25, 2015 15:49
Gist with all parts for "Sass CSS3 animation trajectory ascii art".
$grid-width: str-length(nth($grid, 1));
$column-width: 100% / $grid-width;
$row-height: 100% / length($grid);
@omgmog
omgmog / parallax-scroll.js
Created October 28, 2013 15:26
Simple parallax background scrolling with jQuery
$(function() {
var $el = $('.parallax-background');
$(window).on('scroll', function () {
var scroll = $(document).scrollTop();
$el.css({
'background-position':'50% '+(-.4*scroll)+'px'
});
});
});
@pascalduez
pascalduez / SassMeister-input.scss
Last active December 20, 2023 20:38
Some Sass string functions: capitalize, ucwords, camelize, ...
// ----
// Sass (v3.3.4)
// Compass (v1.0.0.alpha.18)
// ----
// Capitalize string
// --------------------------------------------------------------------------------
// @param [string] $string
// --------------------------------------------------------------------------------
// @return [string]