start new:
tmux
start new with session name:
tmux new -s myname
/* | |
* 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', |
$(document).ready(function() { | |
window.disqus_no_style = true; | |
$.getScript('http://sitename.disqus.com/embed.js', function() { | |
var loader = setInterval(function() { | |
if($('#disqus_thread').html().length) { | |
clearInterval(loader); | |
disqusReady(); | |
} | |
}, 1000); |
#!/bin/bash | |
# Script to convert PDF file to JPG images | |
# | |
# Dependencies: | |
# * pdftk | |
# * imagemagick | |
PDF=$1 |
say -v Fred "Fitter, happier, more productive, | |
comfortable, | |
not drinking too much, | |
regular exercise at the gym | |
(3 days a week), | |
getting on better with your associate employee contemporaries, | |
at ease, | |
eating well | |
(no more microwave dinners and saturated fats), | |
a patient better driver, |
U+0193,U+00E1,U+00C9,U+00E9,U+00CD,U+00ED,U+00D1,U+00F1,U+00D3,U+00F3,U+00DA,U+00FA,U+00DC,U+00FC,U+00AB,U+00BB,U+00BF,U+00A1,U+20A7 |
$sprites: sprite-map("sprites/*.png"); | |
$sprites-retina: sprite-map("sprites-retina/*.png"); | |
@mixin sprite-background($name) { | |
background-image: sprite-url($sprites); | |
background-position: sprite-position($sprites, $name); | |
background-repeat: no-repeat; | |
display: block; | |
height: image-height(sprite-file($sprites, $name)); | |
width: image-width(sprite-file($sprites, $name)); |
#!/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 | |
# |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
#!/bin/sh | |
### | |
# SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
# For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
### | |
# Alot of these configs have been taken from the various places | |
# on the web, most from here | |
# https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |