Skip to content

Instantly share code, notes, and snippets.

View ff6347's full-sized avatar
🤖
updating status…

Fabian Morón Zirfas ff6347

🤖
updating status…
View GitHub Profile
require 'growl'
module Jekyll
class GrowlGenerator < Generator
safe false
def generate(site)
Growl.notify 'Building...', :title => 'Jekyll'
end
end
@ff6347
ff6347 / README.md
Created November 21, 2012 08:20 — forked from mbostock/.block
U.S. Counties TopoJSON

A demo of TopoJSON on a U.S. counties shapefile from the U.S. census bureau. The original GeoJSON file was 2.2M; the TopoJSON file is 660K, a reduction of 70.5%! (Or gzipped, a 71% reduction from 596K to 176K.)

@ff6347
ff6347 / git_cheat_sheet.md
Created November 22, 2012 15:00 — forked from paulvollmer/git_cheat_sheet.md
git cheat sheet

git cheat sheet

switch branch

git checkout [branchname]

rename file/folder

git mv [old] [new]

@ff6347
ff6347 / demo_movie-countdown.jsx
Created November 28, 2012 09:31 — forked from seblavoie/demo_movie-countdown.jsx
AeTuts+ movie countdown script
{
app.beginUndoGroup("Demo Script");
// Creating project
var currentProject = (app.project) ? app.project : app.newProject();
// Creating comp
var compSettings = cs = [1280, 720, 1, 10, 24];
var defaultCompName = "Demo"
var currentComp = (currentProject.activeItem) ? currentProject.activeItem : currentProject.items.addComp(defaultCompName, cs[0], cs[1], cs[2], cs[3], cs[4]);
.letterPressShadow (@color) {
text-shadow: 0 -1px 1px darken(@color, 25%), 0 1px 1px lighten(@color, 25%);
}
@ff6347
ff6347 / simplexfont.lua
Created December 26, 2012 10:38 — forked from bortels/simplexfont.lua
hershey font
function drawchar(c, ox, oy)
ax=-1
ay=-1
bx=-1
by=-1
stroke(255,0,21,255)
strokewidth(3)
ch = font[c]
for p=1, ch.points do
ax=bx
.letterPressShadow (@color) {
text-shadow: 0 -1px 1px darken(@color, 25%), 0 1px 1px lighten(@color, 25%);
}
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# https://gist.github.com/raw/4523614/connection%20check.py
from datetime import datetime
from requests import get
from vlc import vlc
from growlnotify import growlnotify
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
320px - Smartphone
768px - Tablet
1024px - Netbook
1600px - Desktop