Ink blot effect, kinda
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
<nav am-Nav='header'> | |
<ul am-Nav-List> | |
<li am-Nav-Item='active'><a href="#">Foo</a></li> | |
<li am-Nav-Item><a href="#">Bar</a></li> | |
</ul> | |
</nav> |
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
/** | |
* Animated pie chart - style loader with CSS | |
*/ | |
.pie { | |
width: 100px; | |
height: 100px; | |
border-radius: 50%; | |
background: yellowgreen; | |
background-image: linear-gradient(-90deg, currentColor 50%, transparent 0); |
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
// ---- | |
// libsass (v0.8.6) | |
// ---- | |
$group: 6; | |
$grid-column-namespace: "grid-namespace"; | |
// For each column width from 1 to the column group... | |
@for $i from 1 through $group { | |
> .#{$grid-column-namespace}-#{$i}-of-#{$group} { |
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
sudo apt-get update | |
sudo apt-get -y install openssh-server git-core zsh gcc make zlib1g-dev g++ mysql-server python-setuptools python-dev build-essential libmysqlclient-dev sqlite3 libsqlite3-dev nginx samba | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
chsh -s `which zsh` | |
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
#!/bin/bash | |
FOLDER=`pwd` | |
if [ $# -eq 1 ] | |
then | |
FOLDER=`readlink -f $1` | |
fi | |
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
from PIL import Image | |
from PIL.ExifTags import TAGS, GPSTAGS | |
def get_exif_data(image): | |
"""Returns a dictionary from the exif data of an PIL Image item. Also converts the GPS Tags""" | |
exif_data = {} | |
info = image._getexif() | |
if info: | |
for tag, value in info.items(): | |
decoded = TAGS.get(tag, tag) |
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
import numpy as np | |
import cv2 | |
import cv2.cv as cv | |
from video import create_capture | |
from common import clock, draw_str | |
import MySQLdb | |
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
#BECOME SUPER USER# | |
sudo -i | |
#add sublime to repository# | |
add-apt-repository ppa:webupd8team/sublime-text-2 | |
#update# | |
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
%link(href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css') | |
%ul.row-fluid.grid | |
%li.span2 | |
%h4 Header | |
%li.span2 | |
%h4 Header | |
%li.span2 | |
%h4 Header | |
%li.span2 |
NewerOlder