I hereby claim:
- I am pixyj on github.
- I am pixyj (https://keybase.io/pixyj) on keybase.
- I have a public key whose fingerprint is 8D6D 422D 5213 FBBA 29A7 B0A6 64B8 E4D3 338B E6AF
To claim this, I am signing this object:
sudo apt-get update | |
sudo apt-get install --assume-yes\ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
import React, { Component } from 'react' | |
import { render } from 'react-dom' | |
import { createStore } from 'redux' | |
import { connect, Provider } from 'react-redux' | |
// Reducer and Store | |
function counterReducer(state={value: 0}, action) { | |
switch(action.type) { | |
case 'INC': |
import argparse | |
import os | |
import time | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser(description='Timer') | |
parser.add_argument('-s','--seconds', help='Seconds from now', required=True) | |
args = vars(parser.parse_args()) | |
seconds = int(args['seconds']) |
aaren | |
aarika | |
abagael | |
abagail | |
abbe | |
abbey | |
abbi | |
abbie | |
abby | |
abbye |
I hereby claim:
To claim this, I am signing this object:
Usability is a quality attribute that assesses how easy user interfaces are to use.
class Item: | |
def __init__(self, key, value, previous, next): | |
self.key = key | |
self.value = value | |
self.previous = previous | |
self.next = next | |
class LRU: | |
def __init__(self, maxlength=10): |
defmodule ExperimentCoordinator do | |
use GenServer | |
require Logger | |
def handle_call({:configure, config}, _from, :not_started) do | |
Logger.info "Configuring node with parameters: #{inspect config}..." | |
{:reply, :ok, :ready} | |
end | |
def handle_call(:begin_pings, _from, :ready) do |
defmodule ShuntingYard do | |
@moduledoc """ | |
Shunting yard algorithm as explained at https://en.wikipedia.org/wiki/Shunting-yard_algorithm | |
Supports an use-case of mine where all operators are left-associative, | |
and no functions are present in the expression | |
iex> c("shunting_yard.ex") |
import Queue | |
import threading | |
# This is the current version of the database. | |
rows = { | |
1: { | |
"version": 2, | |
"postcode": 111111, | |
"id": 1 | |
}, |