Skip to content

Instantly share code, notes, and snippets.

View swagger.json
{
"swagger": "2.0",
"info": {
"description": "Description",
"version": "1.0.0",
"title": "Bulk Mailer API",
"contact": {
"email": "admin@indigov.us"
}
},
View swagger.json
{
"swagger": "2.0",
"info": {
"description": "Description",
"version": "1.0.0",
"title": "Bulk Mailer API",
"contact": {
"email": "admin@indigov.us"
}
},
View tsconfig.json
{
"compilerOptions": {
"outDir": "./dist/",
"sourceMap": true, // Only utilized if webpack is configured to output sourcemap
"noImplicitAny": true,
"module": "CommonJS",
"target": "es6",
"jsx": "react",
"strict": true,
"baseUrl": ".", // This must be specified if "paths" is.
View .prettierrc
{
"printWidth": 120,
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true
}
View test.json
// Override key bindings by placing them into your key bindings file.
[
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
"when": "inZenMode" },
{ "key": "shift+escape", "command": "closeReferenceSearchEditor",
"when": "inReferenceSearchEditor && !config.editor.stablePeek" },
{ "key": "escape", "command": "closeReferenceSearchEditor",
"when": "inReferenceSearchEditor && !config.editor.stablePeek" },
{ "key": "shift+escape", "command": "cancelSelection",
"when": "editorHasSelection && textInputFocus" },
View npm.log
0 info it worked if it ends with ok
1 verbose cli [ '/Users/sessa/.nvm/versions/node/v10.15.1/bin/node',
1 verbose cli '/Users/sessa/.nvm/versions/node/v10.15.1/bin/npm',
1 verbose cli 'run',
1 verbose cli 'ios' ]
2 info using npm@6.4.1
3 info using node@v10.15.1
4 verbose run-script [ 'preios', 'ios', 'postios' ]
5 info lifecycle Quiz@0.0.1~preios: Quiz@0.0.1
6 info lifecycle Quiz@0.0.1~ios: Quiz@0.0.1
View log.log
2019-02-15T21:04:51.011903+00:00 app[web.1]: Promise {
2019-02-15T21:04:51.011906+00:00 app[web.1]: <rejected> RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: undefined
2019-02-15T21:04:51.011909+00:00 app[web.1]: at ServerResponse.writeHead (_http_server.js:209:11)
2019-02-15T21:04:51.011911+00:00 app[web.1]: at ServerResponse.writeHead (/app/server/node_modules/on-headers/index.js:55:19)
2019-02-15T21:04:51.011913+00:00 app[web.1]: at ServerResponse._implicitHeader (_http_server.js:200:8)
2019-02-15T21:04:51.011915+00:00 app[web.1]: at ServerResponse.end (/app/server/node_modules/compression/index.js:103:14)
2019-02-15T21:04:51.011916+00:00 app[web.1]: at ServerResponse.send (/app/server/node_modules/express/lib/response.js:221:10)
2019-02-15T21:04:51.011918+00:00 app[web.1]: at ServerResponse.json (/app/server/node_modules/express/lib/response.js:267:15)
2019-02-15T21:04:51.011920+00:00 app[web.1]: at Object.<anonymous> (/app/server/dist/index.js:1:18175)
2019-02-15T21:04:51.011922+00:00 ap
View gist:ac4c1a08006378253ee8dcabf3c565e1
inteface IConversationResponse extends Response {
collection: IConversation,
id: number
}
View iframe.html
<style type="text/css">
iframe {
width: 500px;
height: 100%;
margin: 0 auto;
display block;
border: 1px solid #ccc;
}
</style>
View tab.html
<script type='text/javascript' src='http://public.tableausoftware.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 514px; height: 1094px;'><noscript><a href='http:&#47;&#47;www.cnbc.com&#47;id&#47;100869938'><img alt='Deficient Bridges in the U.S. ' src='http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;KM&#47;KM5GBH3Z4&#47;1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' width='514' height='1094' style='display:none;'><param name='host_url' value='http%3A%2F%2Fpublic.tableausoftware.com%2F' /> <param name='path' value='shared&#47;KM5GBH3Z4' /> <param name='toolbar' value='yes' /><param name='static_image' value='http:&#47;&#47;public.tableausoftware.com&#47;static&#47;images&#47;KM&#47;KM5GBH3Z4&#47;1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes