Skip to content

Instantly share code, notes, and snippets.

@tpenguinltg
tpenguinltg / tenhou.log
Last active Nov 18, 2020
Log of my Tenhou.net games
View tenhou.log
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
Keybase verification
View keybase.md

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:

View wide-github-code.user.css
@-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
xscreensaver settings
View .xscreensaver
# 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
View prefbar.json
{
"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 Jul 20, 2016
netplugd script to disable wireless on wired connection
View netplug
#!/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 Jul 20, 2016
Interface-specific netplugd systemd service file (based on the service file from Fedora)
View netplugd@.service
[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
Add accesskey shortcut to Google search
View google-search-accesskey.user.js
// ==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 Apr 28, 2016
Allow pausing in e.ggtimer
View eggtimer-pause.user.js
// ==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 Jan 13, 2016
US-International (AltGr dead keys) with virtual numpad (activated with ScrLk)
View us-intl-altgr-numpad.xkb
xkb_keymap {
xkb_keycodes "evdev+aliases(qwerty)" {
minimum = 8;
maximum = 255;
<ESC> = 9;
<AE01> = 10;
<AE02> = 11;
<AE03> = 12;
<AE04> = 13;
<AE05> = 14;
You can’t perform that action at this time.