A tiny but blazing fast router for Vercel serverless functions.
import { router } from '...';
let app = router({
import java.io.BufferedReader; | |
import java.io.*; | |
import java.net.*; | |
class Handler implements Runnable { | |
private Socket client; | |
public Handler (Socket c) { | |
client = c; | |
} |
### Keybase proof | |
I hereby claim: | |
* I am herber on github. | |
* I am herber (https://keybase.io/herber) on keybase. | |
* I have a public key ASDmoPdl8PyRM29lJUYhtRWvd_kNhQlzUcfFeQV1vPA92Qo | |
To claim this, I am signing this object: |
const emitter = () => { | |
const listener = {}; | |
const x = {}; | |
x.on = (name, fn) => { | |
if (typeof fn !== 'function' || typeof name !== 'string') { | |
throw new Error('Wrong parameter(s)'); | |
} | |
listener[name] = fn; |
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Bel Test</title> | |
</head> | |
<body> | |
<div id="__root"></div> | |
<br><br> | |
<input type="text" id="text"/><button id="add">Add</button> |
int test[2] = { 'v1', 'v2' };
int test[10];
const l => (type) { | |
return (text) => { | |
console.log(`${ type } - ${ text }`); | |
}; | |
} | |
module.exports = l; |
const bubbleSort = (arr) => { | |
for (let i = arr.length - 1; i >= 0; i--){ | |
for(let j = 1; j <= i; j++){ | |
if(arr[j - 1] > arr[j]){ | |
const temp = arr[j - 1]; | |
arr[j - 1] = arr[j]; | |
arr[j] = temp; | |
} | |
} | |
} |
Lorem markdownum; Sic corporis vixque et haesit caudas verborum iactu deo contemptuque frangit hederae gemini. Iuncta at amens abrepti te traherent ille ponunt capitisque galeaque quidem ire. Cum non valuisse ignare promunturiumque feraxque: sors sub ver neque et scilicet veniensque quae. Avulsumque ducunt imas praestans, sua ego admovet castos.
package main | |
import ( | |
"fmt" | |
"strings" | |
"io/ioutil" | |
"log" | |
"os" | |
"path/filepath" | |
"strconv" |