Skip to content

Instantly share code, notes, and snippets.

@Semidio
Semidio / TweetbotCN_24.txt
Created May 25, 2012 00:20
Tweetbot Simplified Chinese Translate for 2.4
"%1$@ (via @%2$@)" = "%1$@ (通过 @%2$@)";
"%1$@ at %2$@" = "%1$@ %2$@";
"%1$d of %2$d" = "%1$d/%2$d";
"%@ and %@" = "%1$@ 和 %2$@";
"%@ Categories" = "%@ 类别";
"%@ Drafts" = "%@ 草稿";
"%@ Followers" = "%@ 关注者";
"%@ is following you." = "%@ 已关注你.";
"%@ is not following you." = "%@ 未关注你.";
"%@ Lists" = "%@ 列表";
@Semidio
Semidio / kafanAD.txt
Created July 5, 2012 07:51
卡饭相关过滤 + 元素隐藏规则 for ABP
[AdblockPlus]
!-------【卡饭相关过滤 + 元素隐藏规则 for ABP】-------
!----卡饭相关过滤 + 元素隐藏规则----
!----------版本_1.0.0alpha---------
!-----最后更新:2012-07-02-17:37-----
!Copyright 2011 xcffl, Apache License 2.0
! This list expires after 12 days
!-----腾讯相关-----!
v.t.qq.com/follow/widget.js
*/image/*/qq_*.gif
@Semidio
Semidio / CFBundleDocumentTypes
Created September 8, 2013 15:56
CFBundleDocumentTypes for All File Types
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>All Files</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.data</string>
@Semidio
Semidio / kancolle.pac
Created October 27, 2013 07:22
【あなたの鎮守府のIP】をあなたの鎮守府のIPに変えてください、航海日誌のその他ーバージョン情報ー鎮守府サーバのところから確認できます。もし航海日誌にポート番号を変えたらlocalhost:8888のなかの8888を設定したポート番号に変えてください。
function FindProxyForURL(url, host) {
if (shExpMatch(url,"*://【あなたの鎮守府のIP】/kcs/*")) {
return "PROXY localhost:8888;DIRECT";
}
if (shExpMatch(url,"*://【あなたの鎮守府のIP】/kcsapi/*")) {
return "PROXY localhost:8888;DIRECT";
}
return "DIRECT";
}
@Semidio
Semidio / UncensorPatch.user.js
Created July 15, 2018 03:04
Open Steam app in UncensorPat.ch
// ==UserScript==
// @name Open In UncensorPat.ch
// @version 0.0.1
// @description Adds a link to open Steam content in UncensorPat.ch.
// @author Semidio
// @match *://steamcommunity.com/app/*
// @match *://store.steampowered.com/app/*
// @grant none
// ==/UserScript==
@Semidio
Semidio / pipbatch.sh
Last active July 22, 2018 13:52
batch update pip package
$ pip list -o |sed '1,2d' |awk '{print $1}' |xargs sudo -H pip install -U
@Semidio
Semidio / IMAP.list
Last active August 13, 2020 10:21
IMAP Port for Surge 4+
AND,((OR,((DEST-PORT,993), (DEST-PORT,465), (DEST-PORT,587))), (DOMAIN-SUFFIX,gmail.com)),IMAP
// AND,((OR,((DEST-PORT,993), (DEST-PORT,465), (DEST-PORT,587))), (DOMAIN-SUFFIX,outlook.com)),IMAP
@media (prefers-color-scheme: dark) {
#main a { color: #bfdfff; }
body { background-color: #292a2d; }
#main a:hover { background-color: #000000; }
#main a:hover { color: #80ecff; }
#main a:hover { box-shadow: 0 0 7px #0080ff; }
#main a:hover { box-shadow: 0 0 7px #0080ff; }
}