Skip to content

Instantly share code, notes, and snippets.

View lambdatastic's full-sized avatar

Cassandra Cruz lambdatastic

View GitHub Profile
@lambdatastic
lambdatastic / tools.js
Created December 20, 2017 23:54
Salty Bets console stuff
document.body.appendChild((() => { const ele = document.createElement('script'); ele.src = "//cdnjs.cloudflare.com/ajax/libs/ramda/0.25.0/ramda.min.js"; return ele; })());
const betTools = {};
// strings for ids
const targets = {
input: "wager",
buttonPrefix: "player"
}
@lambdatastic
lambdatastic / curry.js
Created November 15, 2016 21:40
Random snippets
function(key, options) {
// random stuff
return function(dispatch) {
// other things
}
}
// is equal to
curry(
@lambdatastic
lambdatastic / rr_fsa_compliance.js
Last active October 25, 2016 20:17
Medium Snippets
import R from 'ramda'
// Object -> Boolean
var FSAcompliant = R.pipe(
R.keys,
R.reject(
R.anyPass([
R.equals('type'),
R.equals('payload'),
R.equals('meta'),
@lambdatastic
lambdatastic / Lambdaconf_2016_1.md
Last active January 21, 2017 00:24
Talk Proposals

Pragmatic Monads in JS

Title

Monads in JS: A pragmatic guide

Abstract

Monands are touted as the best solution for common problems in functional programming, but can be hard to pearn if you want to learn how to use them without having a degree in Category Theory. In this talk, we'll discuss common monads that you can start using today (and are already using), focusing on the practical benefits to us as developers.

@lambdatastic
lambdatastic / Additional Reading
Last active October 22, 2016 23:41
React class
http://reactkungfu.com/2015/07/approaches-to-testing-react-components-an-overview/
https://facebook.github.io/react/docs/test-utils.html
https://ponyfoo.com/articles/es6-modules-in-depth
reactiflux@discord
@lambdatastic
lambdatastic / 2FA.md
Last active July 26, 2016 19:31
Presentations

class: middle, center

Two-Factor Authentication

Why and how you should use it


What is 2FA? MFA?

Keybase proof

I hereby claim:

  • I am lambdatastic on github.
  • I am celkam (https://keybase.io/celkam) on keybase.
  • I have a public key ASCWnv27lvqExEZ5WOma091og2TJiDDRcONtJLo7WIX9WAo

To claim this, I am signing this object:

@lambdatastic
lambdatastic / .nvimrc
Created March 3, 2016 20:57
My nvimrc
" Must be first, will change a lot of options as a side effect
set nocompatible
" Intialize Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'