Skip to content

Instantly share code, notes, and snippets.

undefined

@alehlopeh
alehlopeh / Canvas Grid lines animation.markdown
Created January 21, 2016 07:08
Canvas Grid lines animation
@alehlopeh
alehlopeh / .vimrc
Created August 4, 2014 21:04
vimrc
"
"plugins -
"
"pathogen
"airline - https://github.com/bling/vim-airline.git
"nerdtree - https://github.com/scrooloose/nerdtree.git
"nerdtreetabs - https://github.com/jistr/vim-nerdtree-tabs
"CtrlP - https://github.com/kien/ctrlp.vim.git
"Undotree - https://github.com/mbbill/undotree.git
"Gist-vim - https://github.com/mattn/gist-vim.git
@alehlopeh
alehlopeh / gist:6084688
Created July 25, 2013 23:17
long shadows scss mixins
// Drop shadows
@mixin box-shadow($shadow, $moreshadow) {
-webkit-box-shadow: $moreshadow; // iOS <4.3 & Android <4.1
box-shadow: $moreshadow;
}
// LONG SHADOW MIXIN
// from http://codepen.io/awesomephant/pen/mAxHz
// USE: @include long-shadow($type: text, $color: indigo, $length: 50, $fadeout: false, $skew: true);
// EG: @include long-shadow(text, darken($twitter-blue, 10), 55, true);
require 'net/http'
require 'rexml/document'
class Palette
attr_accessor :name, :url, :colors
def initialize(id)
@name = String.new
@url = String.new
@colors = Array.new
function wgets()
{
local H='--header'
wget -e robots=off --mirror $H='Accept-Language: en-us,en;q=0.5' $H='Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' $H='Connection: keep-alive' -U 'Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2' --referer=http://google.com/ "$@";
}
@alehlopeh
alehlopeh / gist:3717826
Created September 13, 2012 21:31 — forked from axelav/gist:1839777
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt