Skip to content

Instantly share code, notes, and snippets.

View jdmaresco's full-sized avatar

JD Maresco jdmaresco

View GitHub Profile
@jdmaresco
jdmaresco / notion2blog.js
Created May 22, 2020 16:48
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "support.indinerocorp.com"
const START_PAGE = "https://www.notion.so/inDinero-Help-Center-465343520bbe4af19f3b0144b70a1192"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
@jdmaresco
jdmaresco / notion2blog.js
Created May 22, 2020 16:48
Notion.so > Personal Blog | custom domain + disqus comment
const MY_DOMAIN = "support.indinerocorp.com"
const START_PAGE = "https://www.notion.so/inDinero-Help-Center-465343520bbe4af19f3b0144b70a1192"
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
const corsHeaders = {
"Access-Control-Allow-Origin": "*",
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdmaresco
jdmaresco / a new name.md
Created November 13, 2015 16:29
a new description

asdf

@jdmaresco
jdmaresco / abc.md
Created November 9, 2015 19:06
asdfg

asdf

@jdmaresco
jdmaresco / sprint-kickoff.md
Created October 17, 2015 22:37
Notes from the meeting

Sprint Kickoff

Priorities

  • Initial mockup of the app
  • Interaction design review
  • Meeting with mobile developer
@jdmaresco
jdmaresco / blah.md
Last active October 15, 2015 22:08
asdf

there’s a big header

paragraph test text

there’s another header

This is a test paragraph where a few words are bold in weird ways


This post talks about Ethereum, a new "Blockchain 2.0" platform for decentralized apps. It builds on a previous post, which discussed how Bitcoin and the blockchain work at a high level.

When you send a message or check your news feed on your Facebook app, almost everything is routed through centralized servers. Your Instagram photos. Your email. Even your Snapchat messages (they say they're deleted... but are you really sure?) While most of us don't understand how all of this works, it's hard to miss the fact that centralized systems have major flaws, despite (or even because of) their growing complexity. The NSA can intercept your private user data from Google by tapping into their centralized network. Hackers can reveal millions of people's identities and online choices by hacking in through Ashley Madison's VPN. Apple iMessage goes down when Apple's servers go down. And 56 million credit cards ca

@jdmaresco
jdmaresco / gist:3d7bfbc922a44e641f33
Created August 28, 2015 03:48
Custom Ethereum Genesis File
{
"nonce": "0x0000000000000042",
"difficulty": "0x40000",
"alloc": {
"YOUR_COINBASE_ADDRESS": {
"balance": "10015200000000000000000"
}
},
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
# what's up
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
---
# another title
```javascript
var x = 4;
y = x;
console.log(y);