Skip to content

Instantly share code, notes, and snippets.


John Molakvoæ skjnldsv

View GitHub Profile
skjnldsv / index.html
Created Aug 7, 2020
Nextcloud header user avatar blur test
View index.html
<div class="header__background">
<img src="">
View akvcam.default.ini
# Virtual camera configuration file example.
# Please, read the instructions to the end.
# First at all you must define how many virtual cameras will be created.
cameras/size = 2
# Then, define it's properties.
View nginx.conf
worker_processes auto;
error_log /var/log/nginx/error.log warn;
pid /var/run/;
events {
worker_connections 1024;
skjnldsv / docker-compose-traefik.yml
Last active Mar 5, 2020
A docker compose swarm file to run traefik as default balancer and expose the dashboard behind secured auth & ssl certs
View docker-compose-traefik.yml
version: '3.7'
# The official v2 Traefik docker image
image: traefik:v2.1
# Bind to host, advanced syntax to get real IPs
- target: 80
skjnldsv / docker-compose-rancher.yml
Last active Mar 4, 2020
A docker compose file to run rancher behind traefik
View docker-compose-rancher.yml
version: '3'
image: rancher/rancher:latest
restart: unless-stopped
- 80
- 443
View sxhkdrc
#! /bin/sh
# wm independent hotkeys
pulseaudio-ctl up
pulseaudio-ctl down
pulseaudio-ctl mute
xbacklight -inc 10%
View bspwmrc
#! /bin/sh
bspc config border_width 0
bspc config window_gap 20
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
#bspc config focus_by_distance true
#bspc config history_aware_focus true
View NC Drone order fix.user.js
// ==UserScript==
// @name NC Drone order fix for drone 1.0
// @namespace
// @version 0.2
// @description Put failed jobs on top
// @author MorrisJobke & Skjnldsv
// @match*
// ==/UserScript==
let init = function (delay) {
skjnldsv / index.html
Last active Nov 15, 2018
Perf: Ensure unique id objects vs array
View index.html
<div id="results">