I hereby claim:
- I am frangio on github.
- I am frangio (https://keybase.io/frangio) on keybase.
- I have a public key ASBbMtbuaHvF_wEB2-erBEkWduHAvJ3kQzRAISn7zH5ONwo
To claim this, I am signing this object:
h | |
x | |
s/$/0/ | |
x | |
: shift | |
/^(/ { | |
s/// | |
x | |
s/$/1/ | |
x |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
# usage: git npm-clone left-pad | |
set -o errexit | |
pkg="$1" | |
shift |
; miniKanren evolved from Kanren [1]; its implementation comprises three kinds | |
; of operators: functions such as unify and reify, which take substitutions | |
; explicitly; goal constructors ==, conde, and fresh, which take substitutions | |
; implicitly; and the interface operator run. We represent substitutions as | |
; association lists associating variables with values. | |
; unify is based on the triangular model of substitutions (See Baader and | |
; Snyder [2], for example). Vectors should not occur in arguments passed to | |
; unify, since we represent variables as vectors. |
#!/usr/bin/env sh | |
dpi="$(xrdb -query | grep -Fm1 Xft.dpi | cut -f2)" | |
scale="$((dpi / 96))" | |
exec "$(which --skip-tilde spotify)" --force-device-scale-factor="$scale" |
pragma solidity ^0.4.21; | |
contract PausableHook { | |
modifier pausable() { | |
_; | |
} | |
} | |
contract Pausable is PausableHook { | |
bool private paused; |
#!/usr/bin/env bash | |
set -o errexit -o pipefail | |
if [ "$#" -eq 0 ] | |
then | |
echo "usage: rs PATTERN REPLACEMENT [PATH...]" > /dev/stderr | |
exit 1 | |
fi |
[Unit] | |
Description=Lock all consoles | |
Documentation=man:physlock(1) | |
Before=sleep.target | |
OnFailure=hibernate.target | |
[Service] | |
Type=forking | |
ExecStart=physlock -d |
const express = require('express'); | |
const methods = require('methods'); | |
function AsyncRouter(options) { | |
const router = express.Router(options); | |
Object.setPrototypeOf(router, AsyncRouter.prototype); | |
return router; | |
} | |
Object.setPrototypeOf(AsyncRouter.prototype, express.Router); |
$ node -r time-require -r solc-0.6.8 -e '' | |
Start time: (2020-07-02 16:09:07 UTC) [treshold=1%] | |
# module time % | |
1 ./soljson.js (node_modules/solc-0.6.8/soljson.js) 2.2s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99% | |
2 solc-0.6.8 (node_modules/solc-0.6.8/index.js) 2.3s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100% | |
Total require(): 26 | |
Total time: 2.3s | |
$ node -r time-require -r solc-0.6.9 -e '' |