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:
pragma solidity ^0.4.21; | |
contract PausableHook { | |
modifier pausable() { | |
_; | |
} | |
} | |
contract Pausable is PausableHook { | |
bool private paused; |
#!/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" |
; 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 | |
# usage: git npm-clone left-pad | |
set -o errexit | |
pkg="$1" | |
shift |
I hereby claim:
To claim this, I am signing this object:
h | |
x | |
s/$/0/ | |
x | |
: shift | |
/^(/ { | |
s/// | |
x | |
s/$/1/ | |
x |
local unistd = require('posix.unistd') | |
local ltn12 = require('ltn12') | |
local _M = {} | |
-- creates a source from a file descriptor | |
function _M.source(fd, err) | |
if fd then | |
return function () | |
local chunk = unistd.read(fd, ltn12.BLOCKSIZE) -- [TODO] stat(fd).st_blksize? |
var TelegramBot = require('node-telegram-bot-api'); | |
var token = 'TOKEN'; | |
var bot = new TelegramBot(token, {polling: true}); | |
bot.getMe().then(function (me) { | |
console.log('%s on', me.username); | |
}); | |
bot.on('text', function (msg) { |
#!/usr/bin/env lua | |
i3ipc = require 'i3ipc' | |
conn = i3ipc.Connection() | |
tree = conn:get_tree() | |
ws = {} | |
for _, w in pairs(tree:workspaces()) do | |
if w.focused then |