This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"claim": { | |
"claim_id": "100004-0", | |
"claim_group_id": "100004", | |
"source_system": "Edge", | |
"status": "Reopened", | |
"claim_group_status": null, | |
"closed": false, | |
"severity_score": null, | |
"received_date": "1926-03-01T00:00:00+00:00", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"theme": "stackoverflow" | |
}, | |
"basics": { | |
"name": "Thomas Hallock", | |
"label": "", | |
"picture": "", | |
"email": "hallock@gmail.com", | |
"phone": "+1.512.775.6652", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
API_BUTTON_CLICK, | |
API_BUTTON_CLICK_SUCCESS, | |
API_BUTTON_CLICK_ERROR, | |
} from './actions/consts'; | |
import { getDataFromAPI } from './api'; | |
const getDataStarted = () => ({ type: API_BUTTON_CLICK }); | |
const getDataSuccess = data => ({ type: API_BUTTON_CLICK_SUCCESS, payload: data }) | |
const getDataError = message => ({ type: API_BUTTON_CLICK_ERROR, payload: message }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
..., | |
ConversationSummary: { | |
component, // stateless component | |
wrapper, // composiiton of all wrappers | |
wrapped: ..., // wrapper(component) | |
// individual wrappers in case you want to pick and choose | |
redux, | |
redux_wrapped: redux(compoonent), | |
relay, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
on run argv | |
tell application "System Events" | |
-- get current clipboard contents as a string | |
set CurrentClipboard to the clipboard as string | |
-- set the clipboad to your password | |
-- start playing with the VPN | |
tell current location of network preferences |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var b = require('browserify')(); | |
var dep2bundleSrcs = []; | |
b.add(modulePath); | |
b.deps().pipe(require('through')(function (dep) { | |
var fullPath = path.resolve(dep.id); | |
if (undefined === dep2bundleSrcs[fullPath]) { | |
dep2bundleSrcs[fullPath] = []; | |
console.log("adding bundle for dep", fullPath); | |
} | |
dep2bundleSrcs[fullPath].push(bundleMainScriptPath); |