Skip to content

Instantly share code, notes, and snippets.

View redvers's full-sized avatar

Redvers Davies redvers

  • 11:44 (UTC -04:00)
View GitHub Profile
actor Main
new create(env: Env) =>
let y: U32 val = 1
// let y31: U32 val = y.shr(32) // (compile fail) shift amount greater than type width
// let unk = y.shr(32) // (compile fail) shift amount greater than type width
// env.out.print(y.shr(32)) // (compile fail) argument not a subtype of parameter
env.out.print(y.shr(33).string()) // Compiler Dumps Core
CON
_clkmode = xtal1 + pll16x
_xinfreq = 6_250_000
VAR
long r0
PUB main
cognew(@entrypoint, @r0)
@redvers
redvers / .tmux.conf
Created August 17, 2016 15:17
default .tmux.conf file
set-option -g status-keys vi
set-option -g mode-keys vi
set-window-option -g window-status-current-bg blue
set-option -g prefix C-a
bind-key C-a last-window
set-option -s escape-time 0
set-option -g history-limit 1000000
set-option -g display-time 2000
set-option -g display-panes-time 3000

Keybase proof

I hereby claim:

  • I am redvers on github.
  • I am red (https://keybase.io/red) on keybase.
  • I have a public key whose fingerprint is 047E F648 EA70 9B15 8A73 9970 7644 44D8 4457 6D7D

To claim this, I am signing this object: