This is for all your writer friends: for the MLA or APA purist, why not introduce a little excitement to their day with a belated April fools prank?
Download the comma
script and chmod +x comma
to make it executable.
div style="width:500px;height:500px;border:1px solid black;" | |
button click="browse" | |
| Browse | |
button click="upload" | |
| Upload | |
file-upload url="/files" onfile="onfile" | |
= yield |
// Create a Promise that resolves after ms time | |
var timer = function(ms) { | |
return new Promise(resolve => { | |
setTimeout(resolve, ms); | |
}); | |
}; | |
// Repeatedly generate a number starting | |
// from 0 after a random amount of time | |
var source = async function*() { |
var graph = [ | |
'AB6', | |
'AC3', | |
'BD6', | |
'CD5', | |
'CE9', | |
'DF8', | |
'DE3', | |
'EG8', | |
'FG2' |
{ | |
"presets": [ | |
"es2015", | |
"es2016", | |
"es2017" | |
], | |
"plugins": [] | |
} |
import processImage from 'process-image'; | |
var file = /* File() object from drag-n-drop or file input */ | |
var imageProcessOpts = { | |
maxWidth: 1200, | |
maxHeight: 1200, | |
quality: 0.6 | |
}; |
/* Metaproxy | |
* The proxy that doesn't do anything | |
**/ | |
let target = { a: 1, b: 2, c: 3 } | |
let handler = new Proxy({}, { | |
get: (...args) => Reflect[args[1]](...args) | |
}) |
#!/bin/bash | |
DEV_HOST="localhost:2368" | |
PROD_HOST="blog.yellowscale.com" | |
BUILD_DEST=${1:-./build} | |
DEV_URL="http://${DEV_HOST}" | |
PROD_URL="https://${PROD_HOST}" | |
# Hop into build directory | |
pushd $BUILD_DEST > /dev/null |
const SlackBot = require('slackbots'); | |
const BOT_NAME = 'Slacks or Shorts'; | |
const BOT_TOKEN = '<YOUR-TOKEN-HERE>'; | |
const BOT_HANDLE = 'slacks-or-shorts'; | |
let bot = new SlackBot({ | |
token: BOT_TOKEN, | |
name: BOT_NAME | |
}); |