This file contains 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
TODO: | |
- edit /opt/statsd/local.js | |
- correct the graphite host to localhost | |
- if desired, put 'debug: true' in there | |
- make the box accessible via the hostname 'graphite' | |
- update conf/storage-schemas.conf, see example for these retention rules: | |
6 hours of 10 second data | |
1 week of 1 minute data | |
5 years of 10 minute data |
This file contains 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
# | |
# Now living in https://github.com/mat/dotfiles | |
# | |
require 'benchmark' | |
require 'open-uri' | |
require 'rubygems' | |
require 'active_support/all' | |
require 'nokogiri' |
This file contains 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
#!/usr/bin/env ruby | |
# | |
# Now living in https://github.com/mat/dotfiles | |
# | |
class Rlikestats | |
attr_accessor :values, :count, :mean, :stdev, :lines | |
def initialize |
This file contains 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
[alias] | |
# bread and butter | |
st = status | |
s = status -sb | |
d = diff | |
dc = diff --cached | |
p = pull --rebase | |
ir = rebase -i origin/master | |
amend = commit --amend | |
l = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an> -%C(yellow)%d%Creset %s %Cgreen(%cr) %Creset' --abbrev-commit --date=relative |
This file contains 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
CmdUtils.CreateCommand({ | |
name: "trakkor", | |
description: "Notifies you when a web page changes via Trakkor.", | |
help: "Select text on the current page to be tracked.", | |
homepage: "http://trakkor.better-idea.org", | |
author: {name: "Matthias Luedtke", email: "[email protected]"}, | |
takes: {"text to track": noun_arb_text}, | |
icon: "http://trakkor.better-idea.org/images/favicon.ico", | |
execute: function(textToTrack) { |
NewerOlder