Skip to content

Instantly share code, notes, and snippets.

@krzysiekherod
krzysiekherod / gist:9744218
Created March 24, 2014 16:48
automatic bisect
git bisect start HEAD HEAD~20 && git bisect run rspec ./spec/YOUR_TEST_FILE.rb:LINE_NUMBER ; git bisect reset
@krzysiekherod
krzysiekherod / gist:5337204
Created April 8, 2013 14:30
Contract acceptance email
Received: from XING-EXCHSVR02.xing.hh (172.20.1.17) by XING-EXCHSVR01.xing.hh
(172.20.1.16) with Microsoft SMTP Server (TLS) id 14.2.318.4; Fri, 5 Apr 2013
16:38:22 +0200
Received: from gateway-1.mail.fra1.xing.com (10.4.39.2) by
XING-EXCHSVR02.xing.hh (172.20.1.17) with Microsoft SMTP Server (TLS) id
14.2.318.4; Fri, 5 Apr 2013 16:38:21 +0200
Received: from mailout2-117.xing.com (mailout2-117.xing.com [109.233.156.117])
by gateway-1.mail.fra1.xing.com (Postfix) with ESMTP id C3D18100D220 for
<krzysztof.herod@xing.com>; Fri, 5 Apr 2013 16:38:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; d=xing.com; s=main; c=relaxed/simple;
@krzysiekherod
krzysiekherod / gist:5218227
Last active December 15, 2015 06:39
Script for calculating your happinass from www.trackyourhappiness.org reports
# Script for calculating sumarized happiness
# from raports from www.trackyourhappiness.org
# Reports from surveys have very detailed results,
# but don't have sumarized estimation of your happiness
# during the survey. You can use this script to calculate it
# from data stored in the page of the report
#
# How to use it:
# Fill in SURVEYS array and run "ruby trackyourhappiness.rb"
#
@krzysiekherod
krzysiekherod / gist:4718824
Created February 5, 2013 23:47
How to change seek time in MPlayerX (OSX)
cd ~/Library/Preferences
defaults write org.niltsh.MPlayerX SeekStepTimeL -float -3
defaults write org.niltsh.MPlayerX SeekStepTimeR -float 3