View Base16 Ocean Dark Linssen Tweaked.tmTheme
1 2 3 4 5 6 7 8 9 10
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Chris Kempson (http://chriskempson.com)</string>
<key>name</key>
<string>Base16 Ocean Dark</string>
<key>semanticClass</key>
<string>theme.dark.base16_ocean_dark</string>
View flash_detect.js
1 2 3 4 5 6 7 8 9 10
var _flash_installed = false;
if (
typeof navigator.plugins !== 'undefined' &&
typeof navigator.plugins['Shockwave Flash'] === 'object'
) { _flash_installed = true; }
 
try {
if (
typeof navigator.mimeTypes !== 'undefined' &&
(new ActiveXObject('ShockwaveFlash.ShockwaveFlash'))
View README.md
View post-checkout
1 2 3 4 5 6 7 8 9 10
#! /bin/sh
green='\033[0;32m'
nc='\033[0m'
 
# Start from the repository root.
cd ./$(git rev-parse --show-cdup)
 
# Delete .pyc files and empty directories.
echo "${green}Deleting PYC files...${nc}"
find . -name "*.pyc" -delete
View branches.sh
1 2 3 4 5
#!/bin/bash
CURRENT=`git branch | grep "*" | sed "s/* //"`
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v $CURRENT`; do
git branch --track ${branch#remotes/origin/} $branch
done
View google_webfont.coffee
1 2 3 4 5 6 7 8 9 10
window.WebFontConfig =
google:
families: ['Droid+Serif:400,700,400italic:latin']
 
wf = document.createElement('script')
wf.src = """#{if document.location.protocol == 'https' then 'https' else 'http'}
://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js"""
wf.type = "text/javascript"
wf.async = "true"
s = document.getElementsByTagName("script")[0]
View hack.sh
1 2 3 4 5 6 7 8 9
#!/usr/bin/env sh
 
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/4016420/hack.sh | sh
#
View template_rel_example.html
1 2 3 4 5 6 7
{exp:linssen_saef_field name="my_relationship_field"}
<p><label for="{id}">{label}</label><br />
<select name="{id}" id="{id}">
{options}<option value="{value}">{name}</option>{/options}
</select>
</p>
{/exp:linssen_saef_field}
View gist:3693060
1
git archive HEAD | gzip > $PWD\.tar\.gz
Something went wrong with that request. Please try again.