Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Christian Dannie Storgaard",
"label": "Fullstack / Technical Team Lead and general Linux person",
"image": "",
"email": "cybolic@gmail.com",
"phone": "",
"url": "",
"summary": "I've been building websites, apps and games since 1995, going from AmigaOS through Windows and settling in permanently with Linux in 2000.\nWith experience in desktop, web, server, mobile (Android/iOS) and a bit of audio and game development, I'm very much a \"full-stack\" developer.\n\nI've built back-ends for tens of thousands of users, presentation apps and sites for much fewer and always try to hit the right balance between engineering complexity and the product's needs. Sometimes that means a cluster of services and a full-fat client, other times, it's a microserver with a front-end that could run on your toaster.\n\nOver the course of my career, I've successfully helped - as a develope
@Cybolic
Cybolic / reshow_transparent_windows.sh
Last active November 28, 2018 21:30
This script makes opaque all windows that are currently completely transparent. Compton sometimes sets the transparency of windows to zero, so this helps get out of when this happens.
#!/usr/bin/env bash
WINDOW_IDS=$(xwininfo -root -tree | grep -v '("i3-frame"' | grep -oP '(?:[[:space:]]+)(0x[[:alnum:]]+)(?= ".*?":)')
for w_id in $WINDOW_IDS; do
w_prop="$(xprop -id $w_id)"
if (echo "$w_prop" | grep '_NET_WM_WINDOW_OPACITY' | grep ' = 0') &>/dev/null; then
xprop -f _NET_WM_WINDOW_OPACITY 32c -set _NET_WM_WINDOW_OPACITY "0xffffffff" -id $w_id
fi;
done
@Cybolic
Cybolic / player-mpris-tail2.py
Last active August 31, 2018 16:11
MPRIS status script for polybar
#!/usr/bin/env python3
import sys
import dbus
from operator import itemgetter
import argparse
import re
from urllib.parse import unquote
from dbus.mainloop.glib import DBusGMainLoop
@Cybolic
Cybolic / cpufreq.r.5s.sh
Created March 23, 2017 12:36
CPU governor selector for Argos
#!/usr/bin/env bash
echo "CPU | iconName=cpu"
echo "---"
echo "---"
GOVERNORS=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors)
SELECTED=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
for governor in $GOVERNORS; do

Keybase proof

I hereby claim:

  • I am cybolic on github.
  • I am cybolic (https://keybase.io/cybolic) on keybase.
  • I have a public key whose fingerprint is B075 F95B 694C E628 3A7B D687 3827 DEBF 029C 65C2

To claim this, I am signing this object:

@Cybolic
Cybolic / iterateinpairs.jade
Created January 10, 2013 16:05
Jade template: Iterate over sequence in pairs.
n = 1
for item, i in list
- if (i%2 == 0) // even
- if (i != 0) // not first
!= "</div>"
!= "<div class=\"pairNr" + n + "\">"
- n++
.item
| Here's item number #{i+1}.
| It's a beautiful item, containing #{item}.