Skip to content

Instantly share code, notes, and snippets.

View sulami's full-sized avatar
🐙
タコ

Robin Schroer sulami

🐙
タコ
View GitHub Profile
@sulami
sulami / Filtered Subreddits
Last active August 29, 2015 14:01
Filtered Subreddits
/r/polandball
/r/dota2
/r/funny
/r/adviceanimals
/r/leagueoflegends
/r/wheredidthesodago
/r/aww
/r/gifs
/r/4chan
/r/imgoingtohellforthis
" sane default search engine
let defaultengine = "duckduckgo"
" fix select all
iunmap <c-a>
" reopen last tab
map u :undo<CR>
" close tab
-- Logs begin at Thu 2014-12-04 23:36:44 CET, end at Thu 2015-03-05 12:25:39 CET. --
Mar 03 18:11:18 shodan.fritz.box kernel: Initializing cgroup subsys cpuset
Mar 03 18:11:18 shodan.fritz.box kernel: Initializing cgroup subsys cpu
Mar 03 18:11:18 shodan.fritz.box kernel: Initializing cgroup subsys cpuacct
Mar 03 18:11:18 shodan.fritz.box kernel: Linux version 4.0.0-rc1-sulami-00151-ga38ecbb (sulami@shodan.fritz.box) (gcc version 4.9.2 20150204 (prerelease) (GCC) ) #28 SMP PREEMPT Mon Mar 2 14:01:10 CET 2015
Mar 03 18:11:18 shodan.fritz.box kernel: Command line: BOOT_IMAGE=../../vmlinuz-mainline root=/dev/mapper/cryptroot cryptdevice=/dev/sda2:cryptroot crypto=:::: rw usbhid.mouspoll=1 initrd=../../initramfs-mainline.img
Mar 03 18:11:18 shodan.fritz.box kernel: e820: BIOS-provided physical RAM map:
Mar 03 18:11:18 shodan.fritz.box kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable
Mar 03 18:11:18 shodan.fritz.box kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved
Mar 03
@sulami
sulami / gist:5dc0ca20c6deda1f4c8d
Created March 16, 2015 13:19
Arch Installscript
# Arch Install Script
# Confirmed: regular MBR/GPT, LVM MBR, LUKS/LVM MBR, plain LUKS GPT/EFI
# ToDo: RAID, fix GPT+LVM
# vim: ft=sh
(loadkeys de-latin1) # german
(c)fdisk / (c)gdisk # make partitions
# EFI needs a ~200-2000 MB ef00-type fat32 partition as /boot
@sulami
sulami / tsp.py
Last active August 29, 2015 14:26
TSP
def rec(visited, list):
if len(visited) != len(list):
rv = []
remaining = []
for element in list:
if element not in visited:
remaining.append(element)
for r in remaining:
if len(visited) == len(list) - 1:
rv.append(rec(visited + [r], list))
@sulami
sulami / livecoding.js
Last active September 14, 2015 09:21
Livecoding.tv Dark Chat
// ==UserScript==
// @name Livecoding.tv Dark Chat
// @namespace webogram.fixes
// @include https://www.livecoding.tv/chat/*
// @version 1
// @grant none
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;

Keybase proof

I hereby claim:

  • I am sulami on github.
  • I am sulami (https://keybase.io/sulami) on keybase.
  • I have a public key whose fingerprint is 2F9C 6174 3E6D 8A55 3DE6 3CAD 4900 077F A141 8106

To claim this, I am signing this object:

# Rejected alternatives for conditional workflow semantics
# 'explicit' key
# Pros:
# - Somewhat self-explanatory
#
# Rejected because:
# * Adds a special-purpose key to workflow which only serves to mark a workflow
# as "not run on receipt of a webhook".
# * Configgers cannot control workflows as groups. 'explicit' allows marking
@sulami
sulami / fix-webogram.js
Created August 16, 2015 11:31
Webogram Full-Width Userscript
// ==UserScript==
// @name Fix Webogram width
// @namespace webogram.fixes
// @match https://web.telegram.org/*
// @version 2
// @grant none
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
@sulami
sulami / md-to-org.rkt
Last active March 22, 2020 10:13
Convert my markdown blog sources to org-mode
#!/usr/bin/env racket
#lang racket
(require threading)
(define (complement f)
(λ args
(not (apply f args))))