Skip to content

Instantly share code, notes, and snippets.

View rudenoise's full-sized avatar

Joel Hughes rudenoise

View GitHub Profile
[
{
"token": "home",
"view": "path/to/home/view"
},
{
"token": "applicant",
"view": "path/to/contact/view",
"subSteps": [
{
# MOTD
function echo_color() {
local color="$1"
printf "${color}$2\033[0m\n"
}
echo_color "\033[0;90m" "c-f Move forward"
echo_color "\033[0;90m" "c-b Move backward"
echo_color "\033[0;90m" "c-p Move up"
echo_color "\033[0;90m" "c-n Move down"
echo_color "\033[0;90m" "c-a Jump to beginning of line"

Keybase proof

I hereby claim:

  • I am rudenoise on github.
  • I am rudenoise (https://keybase.io/rudenoise) on keybase.
  • I have a public key ASB7Fb9eM4ftj5VxlGzDVfF7gSdjrqN6_6-Vaigy4TxaQgo

To claim this, I am signing this object:

package main
import(
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"net/http"
//"os"
)
@rudenoise
rudenoise / countLinesParallel.go
Created September 1, 2012 19:52
A Go program for counting lines in files under a given directory, makes use of parallelism via GoRoutines
package main
import (
"bufio"
"flag"
"fmt"
"io"
"os"
"path/filepath"
"regexp"
@rudenoise
rudenoise / gist:3450591
Created August 24, 2012 13:35
My first go (console) app for analysing file length/size(bytes): sizeFiles
package main
import (
"bufio"
"flag"
"fmt"
"io"
"os"
"path/filepath"
"regexp"