Skip to content

Instantly share code, notes, and snippets.

@tpenguinltg
tpenguinltg / tenhou.log
Last active December 15, 2021 01:33
Log of my Tenhou.net games
03/29 | 牌譜 | 般東喰赤 | http://tenhou.net/0/?log=2017032909gm-0001-0000-6aeadc72&tw=0
3位 PLTG(-23.0) H2ひろゆき(-1.0) てるづき(+69.0) NoName(-45.0)
03/29 | 牌譜 | 般東喰赤 | http://tenhou.net/0/?log=2017032910gm-0001-0000-61a313a8&tw=1
1位 PLTG(+41.0) sola233(-33.0) Feddie(+8.0) 津座(-16.0)
03/29 | 牌譜 | 般東喰赤 | http://tenhou.net/0/?log=2017032913gm-0001-0000-37c1815b&tw=2
4位 PLTG(-38.0) マギカ(+12.0) ゆきp(-21.0) ダブル絶対値(+47.0)
03/29 | 牌譜 | 般東喰赤 | http://tenhou.net/0/?log=2017032914gm-0001-0000-72dbfd7f&tw=1
2位 PLTG(+6.0) lukia(+45.0) フライングV(-31.0) まめだ(-20.0)
03/29 | 牌譜 | 般東喰赤 | http://tenhou.net/0/?log=2017032914gm-0001-0000-189c5469&tw=2
1位 PLTG(+58.0) かけぶとん(-35.0) lemin(-22.0) ryumine(-1.0)
@tpenguinltg
tpenguinltg / keybase.md
Created May 22, 2018 02:24
Keybase verification

Keybase proof

I hereby claim:

  • I am tpenguinltg on github.
  • I am tpenguinltg (https://keybase.io/tpenguinltg) on keybase.
  • I have a public key ASDF4CuwTVuUQiQ2lUjkemS47kxCcpsoV7xUbqM-mxB1YQo

To claim this, I am signing this object:

@tpenguinltg
tpenguinltg / wide-github-code.user.css
Created September 5, 2017 12:53
Widens the GitHub code view
@-moz-document regexp("https?://github.com/.+?/.+?/pull/[0-9]+/files.*"), regexp("https?://github.com/.+?/.+?/blob/.*") {
.container {
width: 90%;
}
.container-lg {
max-width: 90%;
}
}
@tpenguinltg
tpenguinltg / .xscreensaver
Created May 4, 2017 07:24
xscreensaver settings
# XScreenSaver Preferences File
# Written by xscreensaver-demo 5.36 for - on Wed Mar 29 08:38:14 2017.
# https://www.jwz.org/xscreensaver/
timeout: 0:06:00
cycle: 0:02:00
lock: True
lockTimeout: 0:01:00
passwdTimeout: 0:00:30
visualID: default
@tpenguinltg
tpenguinltg / prefbar.json
Created May 4, 2017 00:17
PrefBar config
{
"prefbar:menu:enabled": {
"items": [
"prefbar:menu:navigation-menu",
"prefbar:button:separator13",
"prefbar:button:fonts",
"prefbar:button:colors",
"prefbar:button:images",
"prefbar:button:javascript",
"prefbar:button:Flash",
@tpenguinltg
tpenguinltg / netplug
Created July 20, 2016 17:29
netplugd script to disable wireless on wired connection
#!/bin/sh
#
# netplug - policy agent for netplugd
#
# Copyright 2003 Key Research, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, version 2, as
# published by the Free Software Foundation. You are forbidden from
# redistributing or modifying it under the terms of any other license,
@tpenguinltg
tpenguinltg / netplugd@.service
Last active July 20, 2016 15:06
Interface-specific netplugd systemd service file (based on the service file from Fedora)
[Unit]
Description=Netplug Non-Static Network Interface Manager (interface-specific)
Documentation=man:netplugd(8)
After=network.target
[Service]
ExecStart=/sbin/netplugd -F -i %I
[Install]
WantedBy=multi-user.target
@tpenguinltg
tpenguinltg / google-search-accesskey.user.js
Created May 10, 2016 00:26
Add accesskey shortcut to Google search
// ==UserScript==
// @name Add accesskey shortcut to Google search
// @namespace tpenguinltg
// @description Adds accesskey+f as shortcut for accessing Google search bar
// @include https://www.google.*
// @version 1
// @grant none
// ==/UserScript==
var searchBar = document.querySelector("input[name=q]");
@tpenguinltg
tpenguinltg / eggtimer-pause.user.js
Created April 28, 2016 12:59
Allow pausing in e.ggtimer
// ==UserScript==
// @name E.ggtimer pause
// @namespace tpenguinltg
// @description Enables pausing and resuming E.ggtimer by clicking the page
// @include http://e.ggtimer.com/*
// @version 1.0.0
// @grant none
// ==/UserScript==
Egg.pause = function() {
@tpenguinltg
tpenguinltg / us-intl-altgr-numpad.xkb
Created January 13, 2016 06:14
US-International (AltGr dead keys) with virtual numpad (activated with ScrLk)
xkb_keymap {
xkb_keycodes "evdev+aliases(qwerty)" {
minimum = 8;
maximum = 255;
<ESC> = 9;
<AE01> = 10;
<AE02> = 11;
<AE03> = 12;
<AE04> = 13;
<AE05> = 14;