This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# /etc/init.d/blah | |
# | |
# Some things that run always | |
touch /var/lock/blah | |
# Carry out specific functions when asked to by the system | |
case "$1" in | |
start) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head> | |
<style> | |
path { | |
fill: none; | |
} | |
.axis { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
body { | |
font: 10px sans-serif; | |
} | |
.axis path, | |
.axis line { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ubuntu upstart file at /etc/init/service.conf | |
pre-start script | |
mkdir -p /var/log/"#{fetch: application_name}"/ | |
end script | |
respawn | |
respawn limit 15 5 | |
start on runlevel [2345] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<head> | |
<style> | |
path { | |
fill: none; | |
} | |
.axis { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Common styles across all browsers | |
*/ | |
.selector { | |
/* | |
* Normal styles | |
*/ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Rails | |
module Rack | |
class Debugger | |
def initialize(app) | |
@app = app | |
# clear ARGV so that rails server options aren't passed to IRB | |
ARGV.clear | |
require 'byebug' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- git-rebase--interactive.old 2011-06-11 13:17:48.000000000 +0400 | |
+++ git-rebase--interactive 2012-04-17 12:44:09.000000000 +0400 | |
@@ -951,7 +951,7 @@ | |
REVISIONS=$ONTO...$HEAD | |
SHORTREVISIONS=$SHORTHEAD | |
fi | |
- git rev-list $MERGES_OPTION --pretty=oneline --abbrev-commit \ | |
+ git rev-list $merges_option --pretty=">%h (%an <%ae>) %s"\ | |
--abbrev=7 --reverse --left-right --topo-order \ | |
$REVISIONS | \ |