Skip to content

Instantly share code, notes, and snippets.

View matason's full-sized avatar

Chris Maiden matason

View GitHub Profile
@gregharvey
gregharvey / ffs.txt
Created February 14, 2017 15:00
This is what I have to put up with...
Feb 14 15:47:17 <@instanceofjamie> gregharvey: I'm going to hold out for matason to come back. I don't know if I have to run this on one or both app servers.
Feb 14 15:47:31 <@gregharvey> k
Feb 14 15:48:22 <galooph> ♬♪♫ you're holding out for a hero ♫♪♬ “ヽ(´▽`)ノ”
Feb 14 15:49:14 <@instanceofjamie> ♬♪♫ tilt he end of the night ♫♪♬ “ヽ(´▽`)ノ”
Feb 14 15:49:19 <@instanceofjamie> join in, andymartel
Feb 14 15:50:11 <andymartel> ♬♪♫ He's gotta be strong and he's gotta be fast ♬♪♫ “ヽ(´▽`)ノ”
Feb 14 15:50:19 <@instanceofjamie> \m/
Feb 14 15:50:28 <galooph> bring it home, emlyn
Feb 14 15:50:35 <@instanceofjamie> NOT WITH A JOKE
Feb 14 15:50:42 <galooph> glol
@bentappin
bentappin / Climbing.md
Last active September 22, 2016 14:08
@pm98zz-c
pm98zz-c / in-outdoor.sh
Last active April 20, 2022 15:58
Indoor-Outdoor gnome-theme switching
#!/bin/sh
### DEPRECATED
### MOVED TO https://github.com/pm98zz-c/in-outdoor
####################################################
### Gnome 3 general.
TERMINAL_DARK="false"
OUT_THEME="'Adwaita'" # Legacy GTK
IN_THEME="'Adwaita-dark'"
OUT_BRIGHTNESS="100%"
@henrik
henrik / rules.md
Last active May 23, 2022 12:31
Sandi Metz' four rules from Ruby Rogues episode 87. Listen or read the transcript: http://rubyrogues.com/087-rr-book-clubpractical-object-oriented-design-in-ruby-with-sandi-metz/
  1. Your class can be no longer than 100 lines of code.
  2. Your methods can be no longer than five lines of code.
  3. You can pass no more than four parameters and you can’t just make it one big hash.
  4. When a call comes into your Rails controller, you can only instantiate one object to do whatever it is that needs to be done. And your view can only know about one instance variable.

You can break these rules if you can talk your pair into agreeing with you.

@baris
baris / irssi_notify.pl
Created January 8, 2013 06:31
irssi notify.pl using notify-send (instead of dbus-send) on ubuntu.
##
## Put me in ~/.irssi/scripts, and then execute the following in irssi:
##
## /load perl
## /script load notify
##
use strict;
use Irssi;
use vars qw($VERSION %IRSSI);
@iros
iros / API.md
Created August 22, 2012 14:42
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 17, 2024 01:28
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname