Skip to content

Instantly share code, notes, and snippets.

@yorickps
yorickps / tmux_local_install.sh
Last active May 17, 2018 12:37 — forked from ryin/tmux_local_install.sh
bash script for installing tmux without root access
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in "$HOME"/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=2.7
@yorickps
yorickps / leuvenair-sensor.rb
Last active April 17, 2018 20:26
Ruby script to get data from luftdaten sensor and transport it to Graphite via plaintext protocol
#!/usr/bin/env ruby
# install ruby
# install the gems:
# gem install json && gem install httparty
# make the script executable: chmod +x leuvenair-sensor.rb
# fill in the url and port of your Graphite instance
# run the script: ./leuvenair-sensor.rb
require 'socket'

Keybase proof

I hereby claim:

  • I am yorickps on github.
  • I am yorickp (https://keybase.io/yorickp) on keybase.
  • I have a public key ASDeVyHkv1MZoZLJYFPOHa1Ke5A25EeWoF5-SJ95kDT9GQo

To claim this, I am signing this object: