I hereby claim:
- I am scarlac on github.
- I am scarlac (https://keybase.io/scarlac) on keybase.
- I have a public key ASA1YXEj0Dqd_4QlPt5BVll7v-5FmQQ2kxSeA-XPVzBmzAo
To claim this, I am signing this object:
| #!/usr/bin/env node | |
| var path = require('path'), | |
| fs = require('fs'), | |
| sys = require('util'), | |
| os = require('os'), | |
| exec = require('child_process').exec, | |
| child, | |
| mkdirp; |
I hereby claim:
To claim this, I am signing this object:
FourSquare is using API calls that are currently undocumented, yet seem quite interesting if you're integrating with it. Specifically, Documentation on oking a venue has been left out. Like, dislike and their undo counterparts are documented.
Here are the calls needed to rate a FourSquare venue:
Endpoint: https://developer.foursquare.com/docs/venues/like
| Param | Type | Description |
| function add(a, b) { | |
| return new Promise((resolve, reject) => { | |
| resolve(a + b); | |
| }); | |
| } // return promise | |
| function multiply(x, y) { | |
| return new Promise((resolve, reject) => { | |
| resolve(x * y); | |
| }); |
| const arr = [ | |
| 'Duis', | |
| ' felis ', | |
| ' ex ', | |
| 'finibus', | |
| ' vitae ', | |
| ' tempus ', | |
| ' ut ', | |
| 'commodo', | |
| ' nec ', |
| Test of Slack link og:title escaping feature, tag here: <Slack> |
smt=setInterval(() => {let x=document.querySelector('div[shade=medium]'); x ? x.click() : clearInterval(smt), console.log('done')}, 1000)I hereby claim:
To claim this, I am signing this object:
| const app = require('express')(); | |
| const upload = require('multer')(); | |
| app.post('/upload', upload.single('file'), function (req, res) { | |
| console.log('file', req.file); | |
| res.status(200).send(JSON.stringify({ ...req.file, buffer: null })); | |
| }); | |
| app.listen(4242, () => { console.log('ready.'); }); |