Skip to content

Instantly share code, notes, and snippets.

View 99darwin's full-sized avatar

Nick Saponaro 99darwin

View GitHub Profile
@99darwin
99darwin / custom-slack.css
Last active August 4, 2018 13:30
Custom dark theme for slack
body { background: ##2f3136; color: #dcddde; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@99darwin
99darwin / handlebars.index.js
Created July 14, 2018 19:11
Standard server setup using handlebars as a view engine
const
express = require('express'),
exphbs = require('express-handlebars'),
bodyParser = require('body-parser'),
path = require('path'),
app = express(),
routes = require('./routing/htmlRoutes'),
port = process.env.PORT || 3200;
app.use(bodyParser.json());
@99darwin
99darwin / README.md
Created June 19, 2018 19:24
Simple coinmarketcap API call

CoinMarketCap Query

Simple API call to CoinMarketCap for the USD price of DIVI.

Dependencies

npm i --save request request-promise lodash
Verifying my Blockstack ID is secured with the address 1PkhonJWSLg2mMwtKnGcKr94LDXU5EMyhm https://explorer.blockstack.org/address/1PkhonJWSLg2mMwtKnGcKr94LDXU5EMyhm
0x4a86bECCC2f7d1d9bfd0Fd66b6CF3A9b802804F6