I hereby claim:
- I am josser on github.
- I am josser (https://keybase.io/josser) on keybase.
- I have a public key ASBnqM8fMlxKvEMi1UvJfqsUHnrz7XGGo-LCDfOGdJLNuQo
To claim this, I am signing this object:
'use strict'; | |
var keys = []; | |
var controlAlt = [ 'ctrl', 'alt' ]; | |
var margin = 0; | |
var increment = 0.1 | |
function log() { | |
Phoenix.log(JSON.stringify(arguments[0], true, 2)); | |
} |
import fs from 'fs' | |
import path from 'path' | |
import Sequelize from 'sequelize' | |
import config from '../config' | |
const sequelize = new Sequelize( | |
config.db.database, config.db.username, config.db.password, config.db.options | |
) | |
const db = {} |
'use strict'; | |
var keys = []; | |
var controlAlt = [ 'ctrl', 'alt' ]; | |
var margin = 0; | |
var increment = 0.1 | |
function log() { | |
Phoenix.log(JSON.stringify(arguments[0], true, 2)); | |
} |
I hereby claim:
To claim this, I am signing this object:
var ldap = require('ldapjs'); | |
var client = ldap.createClient({ | |
url: 'ldap://10.10.0.10' | |
}); | |
client.bind('user@donaim', 'pw', function(error) { | |
if (error) { |
var ldap = require('ldapjs'); | |
var client = ldap.createClient({ | |
url: 'ldap://10.10.0.10' | |
}); | |
client.bind('user@donaim', 'pw', function(error) { | |
if (error) { |
'use strict'; | |
var keys = []; | |
var controlAlt = [ 'ctrl', 'alt' ]; | |
var margin = 0; | |
var increment = 0.1 | |
function log() { | |
Phoenix.log(JSON.stringify(arguments[0], true, 2)); | |
} |
import { ADD_TODO } from 'constants/ActionTypes' | |
export const initialState = [ | |
{ | |
text: 'Use Redux', | |
completed: false, | |
id: 0 | |
} | |
] |
// Is it ok to use initialState as stub for reducer tests importing it from reducer itself? | |
import { initialState, fooReducer } from './reducers/foo'; | |
var reducedState = { ... initialState } | |
reducedState.name = 'bar'; | |
expect(fooReducer(initialState)).to.eql(reducedState); | |
var iterations = 100000000; | |
var stats = { | |
win: 0, | |
loose: 0 | |
} | |
function generatePrises() { | |
var initial = [0, 0, 0]; | |
initial[Math.floor(Math.random() * 3)] = 1; |