I hereby claim:
- I am stephen-hill on github.
- I am stephenhill (https://keybase.io/stephenhill) on keybase.
- I have a public key whose fingerprint is CC3E 4529 85AC 469E 869E 940F BC2B 6754 C461 5BF4
To claim this, I am signing this object:
sudo apt-get update | |
sudo apt-get install munin-plugins-extra | |
cd /etc/munin/plugins | |
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_bytes | |
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_counters | |
sudo ln -snf /usr/share/munin/plugins/memcached_ memcached_rates | |
sudo aptitude install libcache-memcached-perl | |
sudo /etc/init.d/munin-node restart | |
sudo tail -f /var/log/munin/munin-node.log |
<?php | |
/** | |
* Copy Photos | |
* | |
* I made this script to copy photographs from my memory card to my network storage device. | |
* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2014 Stephen Hill <stephen@gatekiller.co.uk> |
I hereby claim:
To claim this, I am signing this object:
<?php | |
# Code ported from http://code.activestate.com/recipes/578838-rsa-a-simple-and-easy-to-read-implementation/ | |
function getPrimes($start, $stop) | |
{ | |
$primes = array(2); | |
$range = range(3, $stop + 1, 2); | |
foreach ($range as $n) { |
openssl req -x509 -nodes -days 36500 -newkey rsa:4096 -sha256 -keyout private.key -out certificate.crt |
[ | |
{ "keys": ["ctrl+alt+d"], "command": "delete_trailing_spaces" } | |
] |
############ | |
# Settings # | |
############ | |
background yes | |
use_xft yes | |
xftfont Droid Sans:size=9 | |
xftalpha 1 | |
update_interval 5 | |
total_run_times 0 | |
own_window yes |
Stephen Hill
1 Meadow Crescent
Wesham
PR4 3BB
Telephone: 01772 672326
Mobile: 07870 311509
Email: stephen@bloggie.co.uk
[playlist] | |
Title1=SomaFM: The Trip | |
File1=http://ice.somafm.com/thetrip | |
Title2=SomaFM: Deep Space One | |
File2=http://ice.somafm.com/deepspaceone | |
Title3=Linn Radio | |
File3=http://radio.linnrecords.com/cast/tunein.php/linnradio/playlist.pls | |
Title4=Trance1.FM | |
File4=http://yp.shoutcast.com/sbin/tunein-station.pls?id=162359 | |
Title5=Moviester |
<?php | |
namespace My\App\Controllers; | |
use Atto\Controller; | |
class NoteController extends Controller | |
{ | |
public function note($request) | |
{ |