Skip to content

Instantly share code, notes, and snippets.

View aranw's full-sized avatar

Aran Wilkinson aranw

View GitHub Profile
View gist:7efd3781f165115afa360a93acae5a29
error: hash mismatch in fixed-output derivation '/nix/store/qg02m7rc2qvklrqd7pv6iasq08ax3lmm-source.drv':
specified: sha256-//OI5dJL8qtOGzda2RwHp3vB/icaYjUBpmLyB5pHeog=
got: sha256-wlRKGZBG07F8qldUJHBMKs/5mQj28exU5VbR8gVkHRc=
error: 1 dependencies of derivation '/nix/store/w3x0skh1cv89x8yad3r2c044mxr9glm7-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/4qq0yinpjprv8mgz0jd3g1qky50r72yw-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/makssz15svqx3b46qqv4alg00rnqzf0g-activation-aranw.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dax1fpv1nds531qdsk38q15mhvbi25gk-darwin-system-22.05.20220210.1882c6b+darwin4.bcdb602.drv' failed to build
View gist:b63c810c2728a5ac977a053a8ba63177
Function panic: runtime error: invalid memory address or nil pointer dereference
goroutine 20 [running]:
runtime/debug.Stack(0xc000132f20, 0x9070c0, 0xdd12d0)
/go/src/runtime/debug/stack.go:24 +0xa7
main.executeFunction.func1(0xa3e620, 0xc0002421c0)
/tmp/sgb/staging/srv/worker.go:116 +0x6e
panic(0x9070c0, 0xdd12d0)
/go/src/runtime/panic.go:513 +0x1b9
extractor.F(0x2aba25e19080, 0xc0001a50e0, 0xc000023510, 0xe, 0xc000024ee0, 0x17, 0xc000023520, 0xf, 0xc000023508, 0x8, ...)
View gist:46accc5ac464af6984da733a439bd5a2
Verifying my Blockstack ID is secured with the address 1H4VjTzySeQtanLYu1kWib4bAvnsGWMAj9
View gist:5578b7fbdd6d12c7add9
package main
import (
func main() {
test := []int{1, 2, 3, 4, 5}
View gist:af7b99b5cdb70fdc07e8
1,bob,"Bob is amazing"
2,jim,"Jim is just as amazing as Bob"

Keybase proof

I hereby claim:

  • I am aranw on github.
  • I am aranw ( on keybase.
  • I have a public key whose fingerprint is AEF5 4791 7C1B BB93 AA15 6DDD E2CA 29CF 18AB 5998

To claim this, I am signing this object:

aranw / filters.php
Last active December 26, 2015 18:19
View filters.php
//Needs refactoring I guess into one, but thats a topic for another day
Route::filter('user', function() {
if (! Session::has('User')) {
return Redirect::to('/');
View gist:6530272
class StatsdEventHandler {
public function increment($metrics, $delta, $sampleRate, $event)
public function subscribe($events)
aranw / gist:5992199
Created July 13, 2013 21:01
Nesting Route Groups
View gist:5992199
Route::group(array('prefix' => 'api/v1'), function()
// URL => api/v1/
Route::get('auth', function() {
// URL => api/v1/auth
View gist:5635354
public function processReset($token)
$credentials = array('email' => Input::get('email'));
return Password::reset($credentials, function($user, $password)
$user->password = Hash::make($password);