Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Web server failed to start. Port 8080 was already in use.
krizajb / youtube-enhancer.json
Created December 29, 2020 09:20
youtube-enhancer config
krizajb / slo.json
Last active December 28, 2020 13:38
Slovenian QWERTZ keybindings for macOs
"title": "Slovenian keyboard bindings",
"rules": [
"description": "Alt + D, Alt + F - Square brackets",
"type": "basic",
"from": {
krizajb /
Last active March 17, 2020 08:17
CPC business process bug
// note: all steps check if the logged in user is the CPC_AUTHORITY (Role)
// was the chief selected (via dialog)
if (null != this.selectedChief) {
// store selected chief id to the application
// remove chiefs if from the visited id list (so the chief sees the application as "new" in the list)
// is registrar only changing the chief selection
function filterList(componentName, label, filter) {
let component = PF(componentName),
itemLabel = label.toLocaleLowerCase(),
item = $(component.items)
.filter(function () {
return $(this).data('label').toString().toLocaleLowerCase() === itemLabel;
if (item === undefined) {
krizajb / remap-win-key.ahk
Last active April 5, 2020 06:59
Authotkey script for remapping windows (super) key to Shift+Alt+Space and windows key + h to minimize the current window, windows + move.
; Remap windows key + h to minimize the current window
WinMinimize A
; Disable the keyboard layout switcher
Ctrl & Shift::
; Remap windows key to the launcher
krizajb /
Created July 27, 2019 14:11
Toggles touchpad
# -*- coding: utf-8 -*-
'''Program to toggle Touchpad Enable to Disable or vice-versa.'''
import commands
import re
def current_id():
""" Search through the output of xinput and find the line that has the
krizajb / fan-control.bat
Created July 20, 2019 20:45
Restarts HWiNFO instance end re-disables dGPU
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
start /min cmd /c taskkill /f /im HWiNFO64.exe
start /min /wait cmd /c D:\Documents\Qord\dell-xps\devcon.exe enable "PCI\VEN_10DE&DEV_1C8C&SUBSYS_087C1028&REV_A1"
start /min /wait cmd /c D:\Documents\Qord\dell-xps\devcon.exe disable "PCI\VEN_10DE&DEV_1C8C&SUBSYS_087C1028&REV_A1"
start /min cmd /c "C:\Program Files\HWiNFO64\HWiNFO64.exe"
krizajb / gmail-sidebar-toggle
Last active August 8, 2019 14:08
Toggle gmail left sidebar with escape key
// ==UserScript==
// @name Toggle left sidebar
// @namespace
// @version 0.1
// @description Toggles left gmail sidebar on "esc" keypress.
// @author
// @require
// @match *://*
// @grant none
// ==/UserScript==
krizajb /
Last active May 3, 2018 08:21 — forked from walkerjeffd/
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation