I hereby claim:
- I am ar1a on github.
- I am ar1a (https://keybase.io/ar1a) on keybase.
- I have a public key whose fingerprint is 7D24 8733 6DED 2D1C 034A DB97 1F73 0658 8FE1 F239
To claim this, I am signing this object:
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
Got a new key, you can find it here: http://ar1as.space/key.pgp | |
-----BEGIN PGP SIGNATURE----- | |
iQIzBAEBCAAdFiEEn1+p+K/dD7SxaNwNDFeT4rzRm5cFAlnPRywACgkQDFeT4rzR | |
m5cv5A//eDKTK/lpdXRYKQkfkFObfFn6p4D4AcZOBxyncA5e5X38zNcmtTBWVfI/ | |
ki6EmTazOYxy7313xwyhov83Luh3G9hRNlEsN/NI1INAXJnNFWbrXFdoganfjYIK | |
nxXBQvb17DN25rC1Du4YQzL5e8fcvALHVftcgvDEBprabz4xqc65DRmxt7cPSkQD |
require 'faraday' | |
require 'json' | |
require 'stringio' | |
class String | |
def titleize | |
split(/ |\_/).map(&:capitalize).join(' ') | |
end | |
end | |
o |
I hereby claim:
To claim this, I am signing this object:
alias pbcopy='xclip -selection clipboard -in' | |
r() { | |
tr -dc 0-9A-Za-z < /dev/urandom | dd status=none bs=1 count=${1:-13} | tee >(pbcopy) && echo | |
} |
;; Posframe! | |
;; https://www.reddit.com/r/emacs/comments/80bdck/using_a_posframe_to_show_ivys_candidate_menu/dvcsarc | |
(defvar helm-posframe-buffer nil) | |
(defun helm-posframe-display (buffer &optional _resume) | |
(posframe-show | |
(setq helm-posframe-buffer buffer) | |
:poshandler #'posframe-poshandler-frame-bottom-left-corner | |
:left-fringe 10 | |
:width (frame-width) |
*background: #002b36 | |
*foreground: #839496 | |
*fadeColor: #002b36 | |
*cursorColor: #93a1a1 | |
*colorUL: #268bd2 | |
!! black dark/light | |
*color0: #073645 | |
*color8: #002b36 |
// ==UserScript== | |
// @name Lastpass copier | |
// @namespace ar1as.space/lastpass | |
// @match https://lastpass.com/* | |
// ==/UserScript== | |
'use strict'; | |
const copyToClipboard = target => { | |
const { type, selectionStart, selectionEnd } = target; | |
target.type = 'text'; |
#!/bin/sh | |
set -eu | |
if [ $# -ne 2 ]; then | |
exit 1 | |
fi | |
if [ _"$2" != _"suspend" ]; then | |
exit 1 | |
fi |
#!/usr/bin/env zsh | |
# usage: lazyload <name> <path> [source ...] -- callback | |
lazyload() { | |
local name="$1"; shift | |
local spath="$1"; shift | |
local sources=() | |
while [[ $# -gt 0 ]]; do | |
case "$1" in |
~ ❯❯❯ mtr -w oldschool90.runescape.com | |
Start: 2018-10-29T00:42:48+1100 | |
HOST: Uranium Loss% Snt Last Avg Best Wrst StDev | |
1.|-- _gateway 0.0% 10 0.2 0.3 0.2 0.4 0.0 | |
2.|-- loop203129240.bng1.vdc01.syd.aussiebb.net 0.0% 10 2.1 2.1 1.5 2.6 0.4 | |
3.|-- Bundle-Ether20.ken-edge903.sydney.telstra.net 0.0% 10 1.9 2.3 1.9 2.7 0.2 | |
4.|-- bundle-ether2.chw-edge903.sydney.telstra.net 0.0% 10 2.7 2.3 1.9 2.9 0.4 | |
5.|-- opt2823000.lnk.telstra.net 0.0% 10 3.2 3.3 2.8 3.8 0.3 | |
6.|-- ??? 100.0 10 0.0 0.0 0.0 0.0 0.0 | |
7.|-- 124.19.61.1 0.0% 10 4.4 5.1 4.2 6.8 0.9 |