I hereby claim:
- I am trsdln on github.
- I am trsdln (https://keybase.io/trsdln) on keybase.
- I have a public key ASDgFO6IIUQeSe_UUbGnXAKoe6Ldt9GvBU3JeyHULNHhAwo
To claim this, I am signing this object:
| import R from 'ramda'; | |
| import HMD from 'hm-def'; | |
| import $ from 'sanctuary-def'; | |
| import F from 'fluture'; | |
| import { env, create as createS } from 'sanctuary'; | |
| import { env as flutureEnv } from 'fluture-sanctuary-types'; | |
| const funcName = R.concat ('func-sandbox/'); | |
| const docsLink = R.concat ('http://trsdln.com/func-sandbox#'); |
I hereby claim:
To claim this, I am signing this object:
| class LazyBlazeTemplateCompiler { | |
| constructor() { | |
| //store compiled templates in key-value store | |
| this._templateCache = {}; | |
| } | |
| compile(templateName) { | |
| //check if template already compiled | |
| //compile if it isn't yet compiled | |
| const handleBarsText = Assets.getText(`notification-templates/${templateName}`); |
| //this is test framework | |
| class TestCase { | |
| protected assertEquals(a,b){ | |
| if(a === b){ | |
| return true; | |
| }else{ | |
| throw new Error(`Equals failed: "${a}" is not equal "${b}"`); | |
| } | |
| } | |
| } |
| #!/bin/bash | |
| # | |
| # Mac OS X Junk config files detection | |
| # | |
| # Usage: | |
| # ./detect-configs.sh microsoft | |
| # | |
| # - detect Microsoft's config files | |
| # |
| class SingletonTest { | |
| constructor() { | |
| //intialize you singletone here | |
| } | |
| static getInstance() { | |
| if (!SingletoneTest._instance) { | |
| SingletonTest._instance = new SingletonTest(); | |
| } |
| #!/usr/bin/env python | |
| """ | |
| Convert CSV file to libsvm format. | |
| Note: All strings will be converted into numbers (see StringValuesHelper) | |
| based on: https://github.com/zygmuntz/phraug/blob/master/csv2libsvm.py | |
| Usage example: |