Skip to content

Instantly share code, notes, and snippets.

View rummik's full-sized avatar
💤
Sleeping to escape reality

*Kim Zick rummik

💤
Sleeping to escape reality
View GitHub Profile
@rummik
rummik / pokemon-emerald.yaml
Last active July 21, 2016 21:34
Pokémon Emerald Pokédex Emojipack (see https://github.com/lambtron/emojipacks)
title: pokemon-emerald
emojis:
- name: bulbasaur
src: http://pkmn.net/sprites/emerald/1.gif
- name: ivysaur
src: http://pkmn.net/sprites/emerald/2.gif
- name: venusaur
src: http://pkmn.net/sprites/emerald/3.gif
- name: charmander
src: http://pkmn.net/sprites/emerald/4.gif
@rummik
rummik / comic-rocket.user.js
Last active November 9, 2016 16:30
Add HTML5 sandboxing to Comic Rocket's <iframe>
// ==UserScript==
// @name Comic Rocket Sandbox Fix
// @namespace http://rummik.com/
// @version 1.0
// @description Add sandbox attributes to embedded comic iframes to prevent escaping
// @author rummik
// @match http://www.comic-rocket.com/*
// @grant Public Domain / WTFPL
// ==/UserScript==
@rummik
rummik / disable-cortana.reg
Last active April 25, 2018 19:33
Disable Cortana in Windows 10 - log out or reboot afterward
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
"AllowCortana"=dword:00000000
@rummik
rummik / clear-root-password.sql
Created November 9, 2016 16:23
Enable empty password login for non-root system users for MySQL root user
use mysql;
update user set authentication_string=password(''), plugin='mysql_native_password' where user='root';
flush privileges;
exit;
@rummik
rummik / 11-lain
Last active January 15, 2017 10:07
A fun addition to MOTDs
#!/bin/sh
# /etc/update-motd.d/11-lain
sed -e 's/1/ /g' -e 's/2/ /g' <<'LAIN'
2.+h-`
`-:`1
` ``.--..` ``
./yh-``-ohdmNNmdhs:` -hh+-`
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "shellcast-web";
buildInputs = [
nodejs-8_x
(yarn.override { nodejs = nodejs-8_x; })
];
@rummik
rummik / shell.nix
Created November 12, 2018 14:42
Electron nix-shell FHS fiddlings
{
pkgs ? import <nixpkgs> {},
unstable ? import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {},
buildFHSUserEnv ? opt: (unstable.buildFHSUserEnv opt).env,
}:
buildFHSUserEnv rec {
name = "electron-env";
targetPkgs = p: (with pkgs;
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
@rummik
rummik / jiraColumnToggle.user.js
Last active July 30, 2019 17:51 — forked from pwilms/jiraColumnToggle.user.js
Toggle Jira Columns
// ==UserScript==
// @name Jira Column Toggle
// @namespace https://gist.github.com/rummik/f34ab0165cdd2aa34d8cdf3adb16082f
// @version 0.7
// @description toggle single columns with a click
// @author Patric Wilms, *Kim Zick
// @match */secure/RapidBoard.jspa*
// @updateURL https://gist.github.com/rummik/f34ab0165cdd2aa34d8cdf3adb16082f/raw/jiraColumnToggle.user.js
// @downloadURL https://gist.github.com/rummik/f34ab0165cdd2aa34d8cdf3adb16082f/raw/jiraColumnToggle.user.js
// @grant none
@rummik
rummik / shell.nix
Created November 6, 2019 03:47
Nix Shell Python virtualenv
{ stdenv ? import <nixpkgs> {} }:
let
inherit (stdenv) pkgs mkShell;
inherit (stdenv.lib) flatten;
in
mkShell rec {