I hereby claim:
- I am ashleyh on github.
- I am ashleyh (https://keybase.io/ashleyh) on keybase.
- I have a public key ASAsFuD7rNUKbNca7ClxlpFfAnQ_FahZp90jZJQPgRva2Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# top-most EditorConfig file | |
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = false | |
trim_trailing_whitespace = false | |
[*.c] | |
indent_style = space |
#!/bin/bash | |
if [[ "$1" = "--helper" ]] ; then | |
exec sleep 1000 # XXX | |
fi | |
session=$(tmux new-session -d -P -F '#{session_name}' "$0 --helper") | |
echo "session name: $session" | |
tty=$(tmux list-panes -t "$session" -F '#{pane_tty}') |
Seen in retrospect, joining a local hacklab started by two software engineers some months after dropping out of | |
school had a great impact on me. Although I had previously been interested in programming, my greatest achievement before then was | |
to write a second degree equation solver. Those two engineers were also FOSS advocates: I soon | |
installed Debian GNU/Linux. | |
I began reading about and playing with the OS, network services, etc. It would not have gone any further if one of those | |
engineers had not introduced me to Python while returning from a hackmeeting in Madrid. | |
As a consequence, I began playing around with Python: I implemented Conway's Game of Life, a strategic board game called | |
Abalone, etc. After a while, I discovered the Django web framework and began developing three or four little web pages. |
I dropped out of high school when I was 16 years old, mainly because of typical teenager concerns. Some months later, | |
^--- too informal? -----------------------^ | |
two software engineers started a local software group that, in retrospect, had a great impact on me. Although I had | |
previously been interested in programming, my greatest achievement was to write a second degree equation solver. Those | |
^---------------------------------?--------------------------------^ | |
two engineers were also open source advocates: it did not take me long before I installed Debian GNU/Linux. | |
I began reading about and playing with the OS, network services, etc. It would not have gone | |
any further if one of those engineers had not introduced me to Python while returning from a hackmeeting in Madrid. | |
^---?-----^ |
for { | |
cat <- cats | |
val kittenCount = cat.Kittens.Count() | |
if kittenCount < 2 || kittenCount > 100 | |
} yield WtfCat(cat) |
use std; | |
type counter = fn@ () -> int; | |
fn make_counter() -> counter { | |
let n = @mutable 0; | |
ret fn@ () -> int { | |
let r = *n; | |
*n += 1; | |
ret r; |
syntax on | |
set wildmode=list:longest,full | |
set showmode | |
set showcmd | |
set autoindent | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set guioptions-=T | |
set guifont=Menlo:h11 |
// licensed under GPLv3, copyright 2011 aph | |
package main | |
import ( | |
"log" | |
"io" | |
"io/ioutil" | |
"http" | |
"strings" |