start new:
tmux
start new with session name:
tmux new -s myname
[2013-05-05 14:03:41] LONGPOLL detected new block | |
[2013-05-05 14:03:41] thread 1: 38328 hashes, 7.20 khash/s | |
[2013-05-05 14:03:41] thread 3: 39972 hashes, 7.51 khash/s | |
[2013-05-05 14:03:41] thread 0: 37920 hashes, 7.13 khash/s | |
[2013-05-05 14:03:41] thread 2: 40116 hashes, 7.54 khash/s | |
[2013-05-05 14:03:42] LONGPOLL detected new block | |
[2013-05-05 14:03:42] thread 1: 6048 hashes, 7.48 khash/s | |
[2013-05-05 14:03:42] thread 3: 5976 hashes, 7.39 khash/s | |
[2013-05-05 14:03:42] thread 2: 5760 hashes, 7.13 khash/s | |
[2013-05-05 14:03:42] thread 0: 5892 hashes, 7.29 khash/s |
[2013-05-05 14:03:41] LONGPOLL detected new block | |
[2013-05-05 14:03:41] thread 1: 38328 hashes, 7.20 khash/s | |
[2013-05-05 14:03:41] thread 3: 39972 hashes, 7.51 khash/s | |
[2013-05-05 14:03:41] thread 0: 37920 hashes, 7.13 khash/s | |
[2013-05-05 14:03:41] thread 2: 40116 hashes, 7.54 khash/s | |
[2013-05-05 14:03:42] LONGPOLL detected new block | |
[2013-05-05 14:03:42] thread 1: 6048 hashes, 7.48 khash/s | |
[2013-05-05 14:03:42] thread 3: 5976 hashes, 7.39 khash/s | |
[2013-05-05 14:03:42] thread 2: 5760 hashes, 7.13 khash/s | |
[2013-05-05 14:03:42] thread 0: 5892 hashes, 7.29 khash/s |
#!/usr/bin/env node | |
var http = require('http'), | |
httpProxy = require('http-proxy'); | |
// your grunt bin path (note, that for windows You need to call the target grunt file here, not its alias) | |
var gruntBin = 'c:/Users/Krzysiek/AppData/Roaming/npm/node_modules/grunt-cli/bin/grunt'; | |
var cp = require('child_process'); | |
var grunt = cp.spawn('node', [gruntBin, 'server'], {cwd: '.', env: process.env}); |
/** | |
* Task: attach_heads | |
* Description: Set the heads for all themes declared in themes.json | |
*/ | |
module.exports = function(grunt) { | |
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#Mac OS X
#!/usr/bin/env bash | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
#!/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 | |
# |
// Write a general-purpose reducer that excludes items based on a predicate | |
function excludeReducer(predicate) { | |
return function(newArray, item) { | |
return predicate(item) ? newArray : newArray.concat(item); | |
} | |
} | |
function excludeIdReducer(id) { | |
return excludeReducer(function(item) { |