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:
| #!/bin/bash | |
| DB_TARGET_NAME='techcheck-dev'; | |
| DB_TARGET_USER='postgres'; | |
| DB_TARGET_PW='postgres'; | |
| DB_TARGET_HOST=''; | |
| DB_TARGET_PORT='5432'; | |
| DB_SOURCE_NAME=''; | |
| DB_SOURCE_USER=''; |
| '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); | |