This file contains hidden or 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
Verifying my Blockstack ID is secured with the address 163ZDKhjevLrcLPsAcGfoVWeASXVDhN8PH https://explorer.blockstack.org/address/163ZDKhjevLrcLPsAcGfoVWeASXVDhN8PH |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
<html> | |
<head> | |
<script src="https://unpkg.com/vue"></script> | |
</head> | |
<body> | |
<div id="app-4"> | |
<ol> | |
<li v-for="todo in todos"> | |
{{ todo.text }} | |
</li> |
This file contains hidden or 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
Verifying that "joshuakarjala.id" is my Blockstack ID. https://onename.com/joshuakarjala |
This file contains hidden or 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 slackEvents = require('slack-events-listener')('<verificationToken>', onSlackEvent); | |
var bodyParser = require('body-parser'); | |
var app = require('express')(); | |
function onSlackEvent(event, cb) { | |
// do something. call cb with err if you want Slack to resend the message (your database might be down) | |
writeToDatabase(event, cb); | |
} | |
// /slack_events should match whatever webhook you set in Slack |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am joshuakarjala on github. | |
* I am joshuakarjala (https://keybase.io/joshuakarjala) on keybase. | |
* I have a public key whose fingerprint is 7366 B4EC 95B7 28CB 04D5 6754 671A D291 4D03 28B7 | |
To claim this, I am signing this object: |
This file contains hidden or 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
//apparently if you change the case in your require string you get a different object. Instead of a caseError | |
var g = require('getenv'); | |
var G = require('getEnv'); | |
var e = require('getenv'); | |
g === G; | |
// returns false | |
g === e; |
This file contains hidden or 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
window.onload = function() { | |
document.querySelector('.dit-modal-overlay--transparent').remove(); | |
}; |