View quote.ex
# iex
Erlang/OTP 21 [erts-10.0.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Interactive Elixir (1.8.0-dev) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> x = """
...(1)> 3
...(1)> """
"3\n"
iex(2)> x =
...(2)> """
View gron.py
#!/usr/bin/python3 -SB
import re
import sys
import json
def main():
o = json.loads(sys.stdin.read())
gron(["json"], o)
View all-git-status.sh
#!/bin/bash
for i in */; do
echo
echo "======================" "$i" "======================"
env "GIT_WORK_TREE=$PWD/$i" "GIT_DIR=$PWD/$i/.git" git status
done
View attach-keyboard-mouse-to-guest.sh
#!/bin/bash
set -eu
guest=$1
attached_to_file=~/.cache/keyboard-mouse-attached-to-guest
echo -n -E "$guest" > $attached_to_file
View 0001-Activate-IME-to-use-Hiragana-input-by-default.patch
From 2777305b6b2cf2302c1e91592a7afd2f743b021e Mon Sep 17 00:00:00 2001
From: Ivan Kozik <ivan@ludios.org>
Date: Sat, 3 Mar 2018 11:30:13 +0000
Subject: [PATCH] Activate IME to use Hiragana input by default
---
src/unix/ibus/property_handler.cc | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/unix/ibus/property_handler.cc b/src/unix/ibus/property_handler.cc
View thelounge.user.js
// ==UserScript==
// @name thelounge: Fix styles
// @namespace thelounge_styles
// @include http://YOURDOMAIN:9000/*
// @version 1
// @grant GM_addStyle
// @run-at document-start
// ==/UserScript==
GM_addStyle(`
View gist:4591cf38f74b0c3990048e1f58882a86
Embody problems:
back support is too stiff, there is little of the advertised "pixelated" flex
feels like I'm being grabbed by the spine (and one must sit perfectly centered)
lumbar support on the back feels a little too low (I am 5'11")
when sitting completely upright, no contact with seat back outside of lumbar support
extensible front seat edge feels lumpy and is a little too high
apparently caused by a bunch of wire supports
lumpiness might be causing leg numbness (I have no numbness with another chair at the same height)
arms tilt when seat tilts - prefer they stay level with base:
to avoid changing hand height on keyboard
View exercise-lxc.sh
#!/bin/bash
# Script to make sure unprivileged LXC containers actually work
# and don't lock up the kernel, systemd, etc.
# https://github.com/lxc/lxc/issues/1403
umask 000
for i in {1..10}; do
lxc-create -t download -n deleteme-$i -- -d debian -r stretch -a amd64
View 0001-Fix-annoying-behavior-on-tab-close-don-t-focus-the-m.patch
From c9a47967acc88a483d82533b1f002c13b34fbaa3 Mon Sep 17 00:00:00 2001
From: Ivan Kozik <ivan@ludios.org>
Date: Wed, 27 Dec 2017 12:43:24 +0000
Subject: [PATCH] Fix annoying behavior on tab close: don't focus the
most-recently-used tab; focus the tab to the right instead
---
src/ViewContainerTabBar.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
View 0001-Give-tabs-with-activity-a-more-eye-catching-color.patch
From 5d6154a825bc0c4ba9845b2723177c6e3fdf0d4a Mon Sep 17 00:00:00 2001
From: Ivan Kozik <ivan@ludios.org>
Date: Sun, 3 Dec 2017 23:55:22 +0000
Subject: [PATCH] Give tabs with activity a more eye-catching color
---
src/ViewContainer.cpp | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/src/ViewContainer.cpp b/src/ViewContainer.cpp