I hereby claim:
- I am adamwespiser on github.
- I am adamwespiser (https://keybase.io/adamwespiser) on keybase.
- I have a public key ASDvVfiszzMDEZN4nTBPDJakWg9yqyuwpGloZCblP3xQigo
To claim this, I am signing this object:
#https://stats.stackexchange.com/questions/29044/plotting-confidence-intervals-for-the-predicted-probabilities-from-a-logistic-re | |
library(tidyverse) | |
library(magrittr) | |
set.seed(1234) | |
# create fake data on gambling. Does prob win depend on bid size? | |
mydat <- data.frame( |
library(rstan) | |
library(dplyr) | |
options(mc.cores = parallel::detectCores()) | |
rstan_options(auto_write = TRUE) | |
seed_sim = 1234 | |
set.seed(seed_sim) | |
# set up data | |
N = 4000 |
I hereby claim:
To claim this, I am signing this object:
Objective: A comparison of performance between Free Monad and mtl transformers | |
```Haskell | |
Free f a = { unFree :: f (Free f a) } | |
``` | |
http://softwareengineering.stackexchange.com/questions/242795/what-is-the-free-monad-interpreter-pattern | |
# construction of free monad via individual functions | |
http://www.atamo.com/articles/free-monads-wont-detox-your-colon/ |
git-merge-guide.md
ammend to a commit:
git commit --amend
###Overview: A quick exercise in using vimdiff to merge conflicted git files http://www.rosipov.com/blog/use-vimdiff-as-git-mergetool/ git {branch,checkout,merge}
###Set up
git config --global merge.tool vimdiff
git config --global merge.conflictstyle diff3
-- http://pentestmonkey.net/cheat-sheet/sql-injection/postgres-sql-injection-cheat-sheet | |
-- show tables | |
select * from pg_tables; | |
-- get all the active connections/tasks | |
select * from pg_stat_activity; | |
-- get sizes of active databases | |
\l+ |
data Opa = Add | |
| Sub | |
| Mul | |
| Div | |
data Opr = Lt | |
| Gt | |
data Opb = And | |
| Or |
#!/bin/bash | |
echo "current dir" | |
ls ./ | |
echo | |
echo "Root directory" | |
ls / |