Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jwarwick
jwarwick / resume.json
Last active February 10, 2022 19:09
Resume / Professional CV
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "John Warwick",
"label": "Software Architect",
"image": "https://www.gravatar.com/avatar/4e9afb71b1593dcb6422111ce1e03cff?s=200",
"email": "jwarwick@gmail.com",
"phone": "(617) 682-2306",
"summary": "Software architect with more than 20 years of experience in all aspects of the software development lifecycle. Recent work has focused on Cloud and IoT architecture across business segments and people-management of global teams.",
"location": {
@jwarwick
jwarwick / LookupNotWorking.ex
Created December 3, 2013 16:52
Elixir lookup not working
defmodule LookupNotWorking do
table = [
{ {:a}, "a"},
{ {:b}, "b"}
]
lc {key, val} inlist table do
def lookup(unquote(key)), do: unquote(val)
end
end
@jwarwick
jwarwick / LookupWorking.ex
Created December 3, 2013 16:51
Elixir lookup working
defmodule LookupWorking do
table = [
{:a, "a"},
{:b, "b"}
]
lc {key, val} inlist table do
def lookup(unquote(key)), do: unquote(val)
end
end
Emacs, specify modes for files:
// -*- mode: C++ -*-
./configure -debug-and-release -universal -dwarf2 -qt-libpng -qt-libjpeg -qt-libtiff
make
sudo make install