Skip to content

Instantly share code, notes, and snippets.

View luiscielak's full-sized avatar
🤖

Luis Cielak luiscielak

🤖
View GitHub Profile
@luiscielak
luiscielak / dabblet.css
Created February 13, 2012 20:06
Tutorial 1 - floating an image to the right
/**
* Tutorial 1 - floating an image to the right
*
* http://css.maxdesign.com.au/floatutorial/tutorial0101.htm
*/
.floatright
{
float: right;
margin: 0 0 10px 10px;
@luiscielak
luiscielak / dabblet.css
Created February 10, 2012 02:57
CSS Transitions
/**
* CSS Transitions
* 2012-02-05
*/
a.foo{
transition-property: background 0.3s ease 0.5s; /* property; duration; timing; delay*/
padding: 5px 10px;
@luiscielak
luiscielak / dabblet.css
Created February 10, 2012 03:02
Tutorial 1
/**
* Tutorial 1
*/
.floatright
{
float: right;
}
@luiscielak
luiscielak / dabblet.css
Created February 10, 2012 02:57
CSS Transitions
/**
* CSS Transitions
* 2012-02-05
*/
a.foo{
transition-property: background 0.3s ease 0.5s; /* property; duration; timing; delay*/
padding: 5px 10px;
@luiscielak
luiscielak / dabblet.css
Created February 1, 2012 02:56
CSS-Tricks Title
/* Oprah Thing
Saw some movie and there was some Oprah-related commerical before it and it had title things like this during it
*/
body { background: black; padding: 100px; margin: 0; }
h1 {
text-align: center;
color: white;
text-transform: uppercase;
@luiscielak
luiscielak / open-chrome
Created August 17, 2015 19:27
Open Chrome with disable-web-security
open /Applications/Google\ Chrome.app/ --args --disable-web-security
@luiscielak
luiscielak / .css
Created July 30, 2015 16:23
Debug
* { background-color: rgba(255,0,0,.2); }
* * { background-color: rgba(0,255,0,.2); }
* * * { background-color: rgba(0,0,255,.2); }
* * * * { background-color: rgba(255,0,255,.2); }
* * * * * { background-color: rgba(0,255,255,.2); }
* * * * * * { background-color: rgba(255,255,0,.2); }
@luiscielak
luiscielak / gist:52ff4fa7b774e353d478
Created April 29, 2015 14:05
D3.js loading local data file from file:///
Have a local web server, as explained (here)[https://github.com/mbostock/d3/wiki#using].
run:
python -m SimpleHTTPServer 8888 &
Then just load the page http://localhost:8888
[
{ "keys": ["ctrl+s"], "command": "toggle_side_bar" },
{ "keys": ["command+shift+r"], "command": "reindent" , "args": { "single_line": false } },
{ "keys": ["ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
{ "keys": ["ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} }
]
{
"binary_file_patterns":
[
"*.jpg",
"*.jpeg",
"*.png",
"*.gif",
"*.ttf",
"*.tga",
"*.dds",