Skip to content

Instantly share code, notes, and snippets.

Betawolf

Block or report user

Report or block Betawolf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View tridactyl_config.json
data:application/json,{"configversion":"1.7","subconfigs":{},"priority":0,"exmaps":{"<Enter>":"ex.accept_line","<C-j>":"ex.accept_line","<C-m>":"ex.accept_line","<Escape>":"ex.hide_and_clear","<ArrowUp>":"ex.prev_history","<ArrowDown>":"ex.next_history","<C-a>":"text.beginning_of_line","<C-e>":"text.end_of_line","<C-u>":"text.backward_kill_line","<C-k>":"text.kill_line","<C-c>":"text.kill_whole_line","<C-f>":"ex.complete","<Tab>":"ex.next_completion","<S-Tab>":"ex.prev_completion","<Space>":"ex.insert_space_or_completion"},"ignoremaps":{"<S-Insert>":"mode normal","<CA-Escape>":"mode normal","<CA-`>":"mode normal","<S-Escape>":"mode normal","<C-^>":"tab %23","<C-6>":"tab %23"},"inputmaps":{"<Escape>":"composite unfocus | mode normal","<C-[>":"composite unfocus | mode normal","<C-i>":"editor","<Tab>":"focusinput -n","<S-Tab>":"focusinput -N","<CA-Escape>":"mode normal","<CA-`>":"mode normal","<C-^>":"tab %23","<C-6>":"tab %23"},"imaps":{"<Escape>":"composite unfocus | mode normal","<C-[>":"composite unfocus | m
@Betawolf
Betawolf / risk_table.md
Last active Apr 23, 2018
Risk Table for Lego Analysis
View risk_table.md
Team Round Theme.Decision.Z Risk.vuln Risk.vuln.ben Risk.vuln.ant Risk.impact Risk.impact.ben Risk.impact.ant Risk.threat Risk.threat.ben Risk.threat.ant Risk.asset Risk.asset.ben Risk.asset.ant Team.Score GM
MI_2.1 1 -0.0545289 39 0 39 30 0 30 73 0 73 17 0 17 29 Ben
MI_2.1 2 0.2011939 152 0 152 0 0 0 41 0 41 0 0 0 29 Ben
MI_2.1 3 -0.1528935 66 0 66
View gist:6bad72fb30ad3da70e9320cfac33ffe1
# original vector
vctseq <- c('1:4', '1:6', '1,5', '1,3,5', '2, 4:8, 10')
# helper function to parse text
# can be done within lapply, as well
fctParse <- function(x){eval(parse(text = paste0('c(',x,')')))}
# create list of number strings
lstseq <- lapply(vctseq, fctParse)
View keybase.md

Keybase proof

I hereby claim:

  • I am Betawolf on github.
  • I am betawolf (https://keybase.io/betawolf) on keybase.
  • I have a public key whose fingerprint is 283B 6FF2 1A72 1D73 8226 B28A 9A88 F479 F6D1 BBBA

To claim this, I am signing this object:

@Betawolf
Betawolf / squash.jl
Created Feb 23, 2016
Squash a string using filter() and a single call to string()
View squash.jl
function squash(str)
lc = 0
return string(filter(str) do x
if x != lc
lc = x
return true
end
return false
end)
You can’t perform that action at this time.