Skip to content

Instantly share code, notes, and snippets.

View CasualSuperman's full-sized avatar

Bobby Wertman CasualSuperman

View GitHub Profile
@CasualSuperman
CasualSuperman / AllActionsKnown.tsx
Last active December 2, 2020 03:18
Unknown action logger
import Module, {dependency} from 'parser/core/Module'
import {Data} from 'parser/core/modules/Data'
import {Ability, BuffEvent, CastEvent} from '../../../fflogs'
export default class AllActionsKnown extends Module {
static handle = 'aak'
static debug = false
@dependency private data!: Data
### Keybase proof
I hereby claim:
* I am casualsuperman on github.
* I am casualsuperman (https://keybase.io/casualsuperman) on keybase.
* I have a public key ASAhlNy1iUR86IM5t--mw8TBo8wQR-lt6CTfZQgzY8BtgQo
To claim this, I am signing this object:
package robots
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"strings"
)
@CasualSuperman
CasualSuperman / indexBy.js
Created December 22, 2011 17:58
Underscore.js indexBy mixin
/**
* Underscore function that combines _.find and _.indexOf
* Source: https://github.com/documentcloud/underscore/issues/413
*
* _.indexBy([2, 6, 4, 7, 9, 0], function(num) {
* return num % 2 === 1;
* });
* => 3
*/