Skip to content

Instantly share code, notes, and snippets.

@weslly
weslly / gist:1556429
Created January 3, 2012 19:16
My settings for nettuts+ fetch plugin
{
"files":
{
"blueprint-ie": "https://raw.github.com/joshuaclayton/blueprint-css/master/blueprint/ie.css",
"blueprint-screen": "https://raw.github.com/joshuaclayton/blueprint-css/master/blueprint/screen.css",
"bootstrap-mixins": "https://raw.github.com/twitter/bootstrap/master/lib/mixins.less",
"jquery": "http://code.jquery.com/jquery.min.js",
"jquery-placeholder": "https://raw.github.com/mathiasbynens/jquery-placeholder/master/jquery.placeholder.min.js",
"money.js": "http://josscrowcroft.github.com/money.js/money.min.js",
"nivoslider-css": "https://raw.github.com/gilbitron/Nivo-Slider/master/nivo-slider.css",
@weslly
weslly / dabblet.css
Created February 3, 2012 16:49
box-sizing test
/**
* box-sizing test
*/
* { -moz-box-sizing: border-box; box-sizing: border-box; }
div:first-child {
width:200px;
height:200px;
background-color:green;
@weslly
weslly / .zshrc
Created March 8, 2012 14:09
zshrc
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="dieter"
# Example aliases
Process: Sublime Text 2 [49477]
Path: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Identifier: com.sublimetext.2
Version: Beta, Build 2185 (2185)
Code Type: X86-64 (Native)
Parent Process: launchd [245]
Date/Time: 2012-03-09 15:50:22.898 -0300
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
Process: Sublime Text 2 [53649]
Path: /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2
Identifier: com.sublimetext.2
Version: Beta, Build 2186 (2186)
Code Type: X86-64 (Native)
Parent Process: launchd [245]
Date/Time: 2012-03-09 20:27:18.550 -0300
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
@weslly
weslly / Espresso Soda.tmTheme
Created March 19, 2012 00:48
Espresso Soda Improved
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Espresso Soda</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
Process: CodeKit [7599]
Path: /Applications/CodeKit.app/Contents/MacOS/CodeKit
Identifier: com.incident57.CodeKit
Version: 1.0 (5943)
Code Type: X86-64 (Native)
Parent Process: launchd [211]
Date/Time: 2012-03-21 11:08:56.936 -0300
OS Version: Mac OS X 10.7.3 (11D50)
Report Version: 9
@weslly
weslly / dabblet.css
Created April 23, 2012 18:42
svbtle kudos
/**
* svbtle kudos
*/
.kudos {
margin: 300px;
width: 40px;
height: 40px;
border: 4px solid black;
@weslly
weslly / gist:2495073
Created April 26, 2012 01:33
example content for wordpress posts
The purpose of this HTML is to help determine what default settings are with CSS and to make sure that all possible HTML Elements are included in this HTML so as to not miss any possible Elements when designing a site.
<hr />
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
@weslly
weslly / generate.php
Created September 24, 2012 19:35
Generate line numbers to Sublime VintageLines plugin
<?php
// Set the content-type
header('Content-Type: image/png');
// Replace with your own font and font-size
$font = 'UbuntuMono-R.ttf';
$fontsize = 11;
// Create the numbers directory if it doesn't exist
if(!is_dir(dirname(__FILE__) . '/numbers/')) {