Skip to content

Instantly share code, notes, and snippets.

Rob Brown rob-brown

Block or report user

Report or block rob-brown

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@rob-brown
rob-brown / ElixirConf2014.md
Last active Nov 13, 2019
Notes from ElixirConf 2014
View ElixirConf2014.md

ElixirConf 2014

Dave Thomas—Opening Keynote

Twitter | Slides

Think different(ly)

Get out of your rut and learn new ways to think.

@rob-brown
rob-brown / ExecuteSigil.ex
Last active Dec 27, 2015
An Elixir sigil for executing terminal commands similar to Ruby.
View ExecuteSigil.ex
defmodule ExecuteSigil do
@doc """
Handles the sigil %x. Takes the given command line string, unescapes the necessary
characters and replaces interpolations, executes it, and returns the
results as a string.
## Examples
iex> %x"echo Hello \x45\x6c\x69\x78\x69\x72\x21"
@rob-brown
rob-brown / RBNetworkActivityIndicatorManager.h
Created Jul 31, 2011
A threadsafe network activity indicator manager.
View RBNetworkActivityIndicatorManager.h
//
// RBNetworkActivityIndicatorManager.h
//
// Copyright (c) 2011 Robert Brown
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@rob-brown
rob-brown / RBSimpleSingleton.h
Created Jul 31, 2011
A singleton that can be safely subclassed to reduce code duplication.
View RBSimpleSingleton.h
//
// RBSimpleSingleton.h
//
// Copyright (c) 2011 Robert Brown
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
You can’t perform that action at this time.