I hereby claim:
- I am countingtoten on github.
- I am countingtoten (https://keybase.io/countingtoten) on keybase.
- I have a public key whose fingerprint is B9E8 2A68 DC51 59C2 9E55 679D 4788 757F 15B3 847A
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class Player() | |
case class X() extends Player { | |
override def toString(): String = { | |
"X" | |
} | |
} | |
case class O() extends Player { | |
override def toString(): String = { | |
"O" | |
} |
module Main exposing (..) | |
import Html exposing (..) | |
import Html.Events exposing(onClick) | |
type alias Model = { incr: Int, decr: Int, value: Int } | |
type Msg = Increment | Decrement | |
update : Msg -> Model -> Model |
/** Reads queue of new users to index */ | |
class NewUserQueue extends Actor with ActorLogging { ... } | |
// Define our messages for the NewUserQueue | |
object NewUserQueue { | |
case class Listen(ref: ActorRef) | |
case class StopListen(ref: ActorRef) | |
case class NewUsers(users: Seq[User]) | |
} |
&sync.Pool{ | |
New: func() interface{} { | |
buf := bytes.NewBuffer(nil) | |
buf.Grow(2048) | |
return buf | |
}, | |
} | |
} | |
buf := BufferPool.Get().(*bytes.Buffer) |
import scala.annotation.tailrec | |
import scala.util.{Try, Success, Failure} | |
sealed trait Player | |
case object X extends Player { | |
override def toString: String = { | |
"X" | |
} | |
} | |
case object O extends Player { |
#!/bin/bash | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export HOMEBREW_GITHUB_API_TOKEN="" | |
export GITLAB_PRIVATE_TOKEN="" | |
# Ruby (fixes Homebrew using system Ruby) | |
export GEM_HOME=$HOME/.gems |
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
const MaxUint = ^uint(0) | |
const MinUint = 0 | |
const MaxInt = int(^uint(0) >> 1) |
Copied from http://arstechnica.com/civis/viewtopic.php?f=19&t=1197911 (via http://www.libertypages.com/clarktech/?p=349) | |
----------------------------------------------- | |
MarkLT1 | |
Ars Scholae Palatinae | |
et Subscriptor | |
Tribus: Where the women are strong, the men are good looking, and all the children are above average. | |
Registered: Nov 11, 2002 | |
Posts: 924 | |
----------------------------------------------- |
cask_args appdir: "/Applications" | |
tap "homebrew/cask-fonts" | |
brew "mas" | |
mas "1Blocker", id: 1107421413 | |
mas "Day One", id: 1055511498 | |
mas "Deliveries", id: 924726344 | |
mas "Due", id: 524373870 | |
mas "Fantastical", id: 435003921 |