This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
Dim wsh, ret, vc, lnk | |
Dim width, height, dcNum | |
Dim dcPath, dcOpt, lnkPath, lnkDesc, icoPath, id | |
' dccmd.exe : http://12noon.com/?page_id=80 | |
' dccmd.exe -listmonitors | |
' change monitor 1 (= \\.\DISPLAY1, = VideoController1) | |
dcPath = "D:\apps\dc64cmd.exe" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
opt="suspend" | |
case $1 in | |
halt|poweroff|suspend|hibernate|hybrid-sleep) | |
opt="$1" | |
;; | |
esac | |
echo 0 > /sys/class/rtc/rtc0/wakealarm | |
# off -> wake up 7h later |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compdef _systemctl systemctl | |
function _systemctl() { | |
_arguments -C \ | |
'1: :(--help --version | |
enable disable start stop restart reload \ | |
cat status show kill \ | |
list-units list-timers list-unit-files list-sockets \ | |
daemon-reload \ | |
cancel list-jobs list-machines \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ドスパラ税込み表示 | |
// @description ドスパラは(+税)の表示やめろ! | |
// @include http://www.dospara.co.jp/* | |
// ==/UserScript== | |
'use strict'; | |
['em[itemprop="price"]', '.itemSearchTable .price', 'span.rankingAreaPrice'].forEach(query => { | |
document.querySelectorAll(query).forEach(elm => { | |
var price = Number(elm.textContent.split('円')[0].replace(/[^\d]/g, '')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fuck you <INPUT onpaste="return false"> | |
// @description 貼り付け禁止すんな殺すぞ! | |
// @include https://* | |
// ==/UserScript== | |
/* https://developer.mozilla.org/en-US/docs/Web/API/Event/stopImmediatePropagation */ | |
document.addEventListener('paste', event => event.stopImmediatePropagation(), true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain(rakuten.co.jp) { | |
#rakutenLimitedId_header > .riShopHdrWrap { | |
z-index: 900 !important; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document url-prefix(http://www.arealme.com/japanese-vocabulary-size-test/ja) { | |
.answer { | |
background-color: #efe !important; | |
transition: background-color 1s ease 5s !important; | |
} | |
li:hover .answer[value="1"] { | |
background-color: #fbb !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Redis = require('redis'); | |
function redisConnect() { | |
var client = Redis.createClient(), | |
redis = { | |
end: function() { | |
client.end(); | |
for (let prop in redis) { | |
delete redis[prop]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Redirect Linkis.com | |
// @description fuckin' ln.is iframe | |
// @include http://linkis.com/* | |
// ==/UserScript== | |
(function() { | |
var iframe = document.getElementById('source_site'); | |
if (iframe) location.replace(iframe.src); | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url(http://www.w3.org/1999/xhtml); | |
@font-face { | |
font-family: "MS Pゴシック"; | |
src: local("メイリオ"); | |
} | |
@font-face { | |
font-family: "Osaka"; | |
src: local("メイリオ"); | |
} |