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
rm -rf *.rar;for i in */; do zip -r "${i%/}.zip" "$i";done;for i in */; do rm -rf "${i%/}";done |
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
/* | |
适用于 bgm.tv bangumi.tv chii.in RC3 版本。 | |
我是使用的 Stylebot for Chrome 来改变 CSS 的。 | |
效果图: http://i.imgur.com/JmI1DmI.jpg | |
功能: | |
1. 反向条目显示方式。(每天看完新番打开之后,一般情况下第一列就是自己需要点的。虽然补旧番的时候会到最下面 <_< ) | |
2. 一列显示 3 个条目。(比 2 列要来的实在吧 >_< ) |
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
-- 有时候 Mac 的 AirDrop 会在 iOS 端发现不了,当窝发觉这个 bug 可以通过重启 Mac 蓝牙解决的时候,Google 加折腾找到了这个脚本的前半部分,经过修改,直接生成重启蓝牙的大法,解决问题,可喜可贺,可喜可贺(圆润的滚走 | |
-- 如果还是在 iOS 端发现不了,那就关闭 iOS 端的 AirDrop 然后再开启,所谓的重启 iOS 端 AirDrop 大法诞生。 | |
-- 至于 AirDrop 的用途,当然是拿来发 DL 链接 <_< | |
-- 脚本参考地址:https://apple.stackexchange.com/questions/152333/toggle-bluetooth-applescript-not-working-in-yosemite | |
property thePane : "com.apple.preferences.bluetooth" | |
tell application "System Preferences" | |
activate | |
set the current pane to pane id thePane |
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
/* | |
Author: yaqinking | |
URL Pattern: share.dmhy.org/* | |
Use Stylebot to customize website css for a better personal ui experience. | |
Web's UI is open for everyone. | |
*/ | |
tr { | |
height: 75px; | |
font-size: 16px; | |
} |
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
# THIS SNIPPETS IS CREATED BY @yaqinking IN Atom 1.11.2 FELL FREE TO MODIFY IT | |
# KAGEX script auto complete | |
'.source.kagex': | |
# Common command expand | |
'Position layer': | |
'prefix': 'position' | |
'body': '[position layer=$1 width=$2 height=$3]\n$4' | |
'Trans method time canskip': | |
'prefix': 'trans' | |
'body': '@trans method=$1 time=$2 canskip=false' |
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
Show hidden characters
{ | |
"scope": "source.ks", | |
"completions": | |
[ | |
{ "trigger": "sf \t 系统变量", "contents": "sf." }, | |
{ "trigger": "f \t 游戏变量", "contents": "f." }, | |
{ "trigger": "tf \t 临时变量", "contents": "tf." }, | |
{ "trigger": "tf \t 临时变量", "contents": "tf." }, | |
{ "trigger": "lr \t 点击换行", "contents": "[lr]" }, |
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
[iscript] | |
/** | |
* 计算传入 macro 的变量值时 | |
*/ | |
var result = 0; | |
var xpos = 0; | |
var xmov = 0; | |
[endscript] | |
@macro name=calc_move |
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
/** | |
* 主要用来发布时减小视频的文件大小。(同时这样子就算是放 1080p/4k 的视频时,资源大小也说的过去,既然 krkrz 使用 d3d9 支持分辨率到 8k,那应该不是大问题的 poi,大概。) | |
*/ | |
class H264Window extends Window { | |
var base; | |
var video; | |
function H264Window( width, height ) { | |
super.Window(); | |
setSize( width, height ); | |
setInnerSize( width, height ); |
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
:: 一句一句执行 | |
mkdir new | |
for /f %x in ('dir /b *.tjs') do iconv -f UTF-8 -t UTF-16LE %x > new\%x |
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
{ | |
"scope":"source.tjs", | |
"author": "yaqinking", | |
"completions": | |
[ | |
{ "-------": "-------------DECLARE START----------- " }, | |
{ "trigger": "func \t Declare function", "contents": "function $1($2) {\n $3\n}" }, | |
{ "trigger": "func \t Declare function call super.$1(...)", "contents": "function $1($2) {\n $3\n super.$1(...);\n}" }, | |
{ "trigger": "classExtendsWindow \t Declare Window subclass", "contents": "class $1 extends Window {\n function $1() {\n super.Window();\n $3\n }\n\n function finalize() {\n super.finalize();\n }\n}" }, | |
{ "trigger": "classExtendsLayer \t Declare Layer subclass", "contents": "class $1 extends Layer {\n function $1(window, parent) {\n super.Layer(window, parent);\n $3\n }\n\n function finalize() {\n super.finalize();\n }\n}" }, |
OlderNewer