Graphite does two things:
- Store numeric time-series data
- Render graphs of this data on demand
What Graphite does not do is collect data for you, however there are some tools out there that know
{ | |
"variables": { | |
"ssh_user": "root", | |
"ssh_pass": "T@c0_Bu3n0" | |
}, | |
"builders": [ | |
{ |
#!/bin/bash | |
set -e | |
sudo rm -f /etc/update-motd.d/10-help-text | |
sudo rm -f /etc/update-motd.d/51-cloudguest | |
sudo rm -f /etc/update-motd.d/91-release-upgrade | |
echo -e "[sysinfo]\nexclude_sysinfo_plugins = LandscapeLink" | sudo tee /etc/landscape/client.conf | |
echo deb https://get.docker.com/ubuntu docker main | sudo tee /etc/apt/sources.list.d/docker.list | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
Graphite does two things:
What Graphite does not do is collect data for you, however there are some tools out there that know
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2
#!/usr/bin/env ruby | |
# giftube – Generates an animated gif from a YouTube url. | |
# | |
# Usage: | |
# | |
# giftube [youtube url] [minute:second] [duration] | |
# | |
# ex. | |
# |
diff --git a/redis.conf b/redis.conf | |
index 44fb536..505cb6e 100644 | |
--- a/redis.conf | |
+++ b/redis.conf | |
@@ -150,6 +150,13 @@ slave-serve-stale-data yes | |
# | |
# repl-timeout 60 | |
+# When setting up replication, the slave will purge the current data set before | |
+# loading the data sync from the master. Setting this will prevent that from |
A Thor Task to unwatch all Github watched repositories (excluding owned) and optionally export to delicious.
Sorry Github, for I have sinned. I use the Watch feature as a bookmarker.
Install required gems:
gem install thor rest-client
Use it as such:
#!/bin/sh -e | |
# Usage: license | |
# Prints an MIT license | |
# | |
# $ license > COPYING | |
year=`date "+%Y"` | |
cat <<EOF | |
Copyright (c) $year Alexander Zhuravlev | |
Permission is hereby granted, free of charge, to any person obtaining |