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 / 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 / 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 / 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 / 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 / btsync-upgrade-dismiss.user.js
Created March 22, 2016 16:15
BTSync upgrade dismisser - Automatically dismisses BTSync's update notification in 1.4.111
// ==UserScript==
// @name BTSync upgrade dismisser
// @namespace http://www.rummik.com/
// @version 1.0
// @description Automatically dismisses BTSync's update notification in 1.4.111
// @author rummik
// @match http://localhost:9999/gui/
// @grant WTFPL / CC0 / Public Domain
// ==/UserScript==
/* jshint -W097 */
@rummik
rummik / readme.md
Last active January 9, 2024 16:33
Comfort Keyboard Docs

About

This is unofficial documentation for the Comfort Keyboard Systems Comfort Keyboard.

Official (and far far worse) documentation can be obtained from the Comfort Keyboard driver download page at http://comfortkeyboard.com/drivers_downloads.html. Unsurprisingly, there are no drivers on the driver download page. Additionally, the links to download documentation for all of their keyboards just point to the same files...

If this actually winds up helping anyone, I'll be very surprised, but you're welcome if that's the case.

Also, yes, Comfort Keyboard is still (at the time of writing) apparently in business. The site could've fooled me too, but I've spoken with their tech support on a couple occasions.

@rummik
rummik / allow-password-paste.user.js
Created June 27, 2015 03:56
Fix stupid `onpaste="false"` password fields. >.>
// ==UserScript==
// @name Allow password paste
// @namespace http://www.rummik.com/
// @version 0.1
// @description Removes paste event from elements with `onpaste` set
// @author rummik
// @match http://*/*
// @match https://*/*
// @grant none
// ==/UserScript==
@rummik
rummik / real-time-is-universal.reg
Created June 13, 2015 22:06
Inform Windows that _real time_ really *is* _universal time_ (Or: How to make Windows use the system clock properly with UTC)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
"RealTimeIsUniversal"=dword:00000001
@rummik
rummik / emoji.php
Created April 18, 2015 16:12
Emoji XKCD 1512
<?php
$☹ = 'XKCD';
print "Hello $☹";
@rummik
rummik / .tmux.conf
Last active August 29, 2015 14:17
Old vs new dotfiles
# enable mouse support
set-option -g mouse-utf8 on
set-option -g mouse-resize-pane on
set-option -g mouse-select-pane on
set-option -g mouse-select-window on
# more logical window splits
unbind-key '%'
unbind-key '"'
bind-key '|' split-window -h -c "#{pane_current_path}"