This file contains hidden or 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 glob | |
import Image | |
# HDB: set preferences here | |
source_extension = "*.jpg" | |
size = 110, 80 | |
prefix = "t" | |
target_extension = "JPEG" | |
# get all the jpg files from the current folder |
This file contains hidden or 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
#!/usr/bin/env python | |
#-*- coding:utf-8 -*- | |
"""Prints a calendar by month, the user provides the year in a four digit format | |
and the month. | |
Exported Classes: | |
MonthCalendar - Formats and does the calculations for the CLI output of the | |
calendar | |
Cli - Recieves the data input and validates it |
This file contains hidden or 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
; Sends Ctrl + t whenever you press capslock | |
Capslock::^t |
This file contains hidden or 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
## start-gsd | |
127.0.0.1 infoq.com | |
127.0.0.1 www.infoq.com | |
127.0.0.1 youtube.com | |
127.0.0.1 www.youtube.com | |
127.0.0.1 friendster.com | |
127.0.0.1 www.friendster.com | |
127.0.0.1 myspace.com | |
127.0.0.1 www.myspace.com | |
127.0.0.1 hi5.com |
This file contains hidden or 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
body {background: #000;} | |
div {padding: 5px; color: #fff;} | |
.sicomoro {background: #a98c3e;} | |
.rosa_cardenal {background: #9b0556; } | |
.tangerine{background: #da9100; } | |
.san_marino{background: #3e5ba9;} | |
This file contains hidden or 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
/** | |
* Hola en azul | |
*/ | |
html { | |
color: #EED89C; | |
font-size: 1.5em; | |
background: black; | |
min-height: 100%; | |
font-family: Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif; | |
} |
This file contains hidden or 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
/** | |
* Hola en azul | |
*/ | |
html { | |
color: #EED89C; | |
font-size: 1.5em; | |
background: black; | |
min-height: 100%; | |
font-family: Futura, Futura-Medium, "Futura Medium", "Century Gothic", CenturyGothic, "Apple Gothic", AppleGothic, "URW Gothic L", "Avant Garde", sans-serif; | |
} |
This file contains hidden or 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
# Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
# that enables you to choose a character from a menu of options. If you are on Lion | |
# try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
# for input. | |
# | |
# It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
# it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode, | |
# as it means you cannot press and hold h/j/k/l to move through your file. You have | |
# to repeatedly press the keys to navigate. |
This file contains hidden or 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 fire | |
import os | |
from glob import glob | |
import subprocess | |
class Fjord(object): | |
def __init__(self, project_path, file_types, output_path, output_filename): |
This file contains hidden or 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
// Pase these lines into website's console ( Ctrl/Cmd + Shift + I ) | |
if(!!window.React || | |
!!document.querySelector('[data-reactroot], [data-reactid]')) | |
console.log('React.js'); | |
if(!!window.angular || | |
!!document.querySelector('.ng-binding, [ng-app], [data-ng-app], [ng-controller], [data-ng-controller], [ng-repeat], [data-ng-repeat]') || | |
!!document.querySelector('script[src*="angular.js"], script[src*="angular.min.js"]')) | |
console.log('Angular.js'); |
OlderNewer