The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23/12/2008
- Revised date: 15/12/2013
- Original post
// Foundation and Chosen CSS Merger | |
// ZURB Foundation v5 - Harvest Chosen v1.1 | |
// Add to the bottom of foundation_and_overrides.scss: `@import 'foundation-chosen';` | |
$chosen-form-spacing: $form-spacing / 4 + rem-calc(1) | |
$chosen-input-height: ($input-font-size + ($form-spacing * 1.5) - rem-calc(1)) | |
$chosen-input-height-multi: ($input-font-size + ($form-spacing * 1.5) - rem-calc(5)) | |
$chosen-border-radius: 0 | |
$chosen-highlighted: $primary-color |
# Sublime plugin | |
# Save file: Packages/CloseProjectAndExit/close_project_and_exit.py | |
# Copy to keymap: { "keys": ["ctrl+shift+`"], "command": "close_project_and_exit" } | |
import sublime | |
import sublime_plugin | |
class CloseProjectAndExitCommand(sublime_plugin.WindowCommand): | |
def run(self): |
#!/usr/bin/env ruby | |
# Add ${execpi 3600 path/to/conky_pacman.rb} to the bottom of ~/.conkyrc | |
# TODO: use regex to match package ratings (linux*) | |
CONKY_WIDTH = 35 | |
MAX_PACKAGES = 8 | |
COLOR_INFO = '#FFFFFF' | |
COLOR_HIGH = '#FF0000' | |
COLOR_MED = '#FFFF00' |
#!/bin/bash | |
if [ "$#" -eq "0" ] ; then | |
for file in *sublime-project | |
do | |
if [ -f $file ] ; then | |
# if no arguments, find if there is a project file in the current directory | |
filename="${file%.*}" | |
echo "Opening project: $filename" | |
/opt/sublime_text_2/sublime_text --class=sublime-text-2 -n $file & |
#!/bin/bash | |
# Fuubar format RSpec | |
# `fuubar` - runs all tests in spec/ | |
# `fuubar [path/from/spec]` - if the folder or file is found, runs tests in that folder/file | |
# also guesses where the file is located based on the partial file name | |
# examples: | |
# --- | |
# `fuubar user` - runs spec/models/user_spec.rb |