start new:
tmux
start new with session name:
tmux new -s myname
/*global ga*/ | |
/*global Modernizr*/ | |
/*jslint bitwise: true*/ | |
$(function(){ | |
'use strict'; | |
var cardpool = []; | |
var allcards = []; | |
function mnetgaevent(label,action){ | |
try{ | |
ga('send', 'event', label, action); |
<?php | |
if(!$variable) | |
die('<iframe width="100%" height="100%" src="http://www.youtube.com/embed/IAISUDbjXj0?autoplay=1&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>'); | |
?> |
#!/bin/bash | |
# Script to convert PDF file to JPG images | |
# | |
# Dependencies: | |
# * pdftk | |
# * imagemagick | |
PDF=$1 |
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?'.filemtime(get_stylesheet_directory().'/style.css'); ?>" /> |
/* | |
* Copyright (c) 2010 Tobias Schneider | |
* This script is freely distributable under the terms of the MIT license. | |
*/ | |
(function(){ | |
var UPC_SET = { | |
"3211": '0', | |
"2221": '1', | |
"2122": '2', |
#!/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/2108403/hack.sh | sh | |
# |
<!DOCTYPE html> | |
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> | |
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> | |
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> | |
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<!--[if IE]><![endif]--> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
/* | |
Possible solution: transparent to :visible pseudoclass. | |
BTW, it's not Webkit, it's chrome-only bug (at least MAC version 16.0.912.63) | |
Feel free to comment. | |
http://kyuumeitai.posterous.com/ | |
*/ | |
a { | |
-moz-transition: 1s background; | |
-ms-transition: 1s background; |