Skip to content

Instantly share code, notes, and snippets.

View vikramIde's full-sized avatar
🎯
Focusing

drummer_geek vikramIde

🎯
Focusing
View GitHub Profile
2512c0aa37166332f1ad21a458bcbfa677f4d05d171899dac6a625c266408550d6456f15c3459e53f0683584184c28f01ab6ec69b4df0c7360487867b16aee5c
$innerdata = json_decode('{
"sync_block": false,
"nest_uid":"1_1_1536657342_lyBhkbkLYT"
"contacts": [{
"con_title": "",
"con_fName": "",
"con_lName": "",
"con_job_title": "",
"emails": [{
"email": "",
[
[
{
id: 1,
sourceAccount: "A",
targetAccount: "B",
amount: 100,
category: "eating_out",
time: "2018-03-02T10:33:00.000Z"
},
[
[
{
id: 1,
sourceAccount: "A",
targetAccount: "B",
amount: 100,
category: "eating_out",
time: "2018-03-02T10:33:00.000Z"
},
[
[
{
id: 1,
sourceAccount: "A",
targetAccount: "B",
amount: 100,
category: "eating_out",
time: "2018-03-02T10:33:00.000Z"
},
[
[
{
id: 1,
sourceAccount: "A",
targetAccount: "B",
amount: 100,
category: "eating_out",
time: "2018-03-02T10:33:00.000Z"
},
[
[
{
id: 1,
sourceAccount: "A",
targetAccount: "B",
amount: 100,
category: "eating_out",
time: "2018-03-02T10:33:00.000Z"
},
[
{
id: 1,
sourceAccount: "A",
targetAccount: "B",
amount: 100,
category: "eating_out",
time: "2018-03-02T10:33:00.000Z"
},
{
@vikramIde
vikramIde / ygp-mapper
Created May 14, 2018 13:29
ygp-mapper
[{
"template": {
"skipRows": 1,
"where": [{
"column": "LDZ",
"operator": "=",
"query": "EA"
}, {
"column": "Type",
"operator": "=",
{
"name": "",
"version": "1.0.0",
"private": true,
"scripts": {
"precommit": "npm run -s lint",
"build": "del-cli dist && tsc",
"prestart": "npm run -s build",
"start": "concurrently -k -p \"[{name}]\" -n \"TS,ND\" -c \"cyan,green\" \"tsc -w\" \"nodemon -r dotenv/config app.ts dotenv_config_path=src/.env\" \"babel-node app.ts --presets es2015,stage-2\"",
"lint": "tslint -p tsconfig.json -t stylish"