- a ** aiueo
This file contains 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 dotabuff KDA display | |
// @namespace https://gist.github.com/withgod/5010882/ | |
// @description append KDA info | |
// @author withgod | |
// @include http://dotabuff.com/* | |
// ==/UserScript== | |
(function () { | |
setTimeout(function() { | |
function _get(elem) { |
This file contains 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
con_enable "1" // コンソールを有効にする | |
chat_join "japan" //「Japan」チャットに入る | |
//voice_mixer_mute "1" // 声が返ってくる場合無効化する | |
cl_showfps "1" //FPSの表示(1:On 0:Off) | |
mat_vsync "0" // 垂直同期(0:Off/1:On) | |
mat_triplebuffered "0" // FPSが60未満の場合、垂直同期を有効にする(0:Off/1:On) | |
fps_max "120" // FPSの最大値(Default:120/無制限:0) | |
dota_force_right_click_attack "1" // 右クリックでdenyが出来るようになる(default 0) | |
dota_player_units_auto_attack "0" // heroのオートアタックのONOFF(default 1) |
This file contains 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 | |
if [ -f /mnt/ramdisk/world.ramdisk/level.dat ]; then | |
/home/withgod/bin/mc_save-off.sh | |
if [ $? == 1 ]; then | |
echo "save-off error $?" | |
exit; | |
fi | |
rsync -a --delete /mnt/ramdisk/world.ramdisk /media/hdb/game_server/minecraft_maps/ | |
/home/withgod/bin/mc_save-on.sh |
This file contains 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 | |
# | |
# */2 * * * * /home/noname/bin/test.sh | |
# | |
SCREEN_NAME=test | |
SCREEN=/usr/bin/screen | |
cd $(dirname $0) |
This file contains 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
javascript:(function(){var a=0,b=0,c=0,d=0,e=0;$("tr[data-link-to]").each(function(){var f=$(this);var g=$(f.find("td"));if($(g[2]).find("a").hasClass("won")){d++}else{e++}var h=$(g[5]).find("div").first().text().replace(/\s+/,"").split("/");a+=parseInt(h[0]);b+=parseInt(h[1]);c+=parseInt(h[2])});var f=Math.round(a/b*100)/100;var g=Math.round(c/b*100)/100;var h="k/d: "+f+"\n";h+="a/d: "+g+"\n";h+="win rate:"+Math.round(d/(d+e)*100)+"%";alert(h)})() |
This file contains 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
//dagger toggle | |
alias dagger_toggle "dagger_off" | |
alias dagger_off "alias dagger_toggle dagger_on;dota_range_display 1150" | |
alias dagger_on "alias dagger_toggle dagger_off;dota_range_display 0" | |
bind "DEL" "dagger_toggle" |
This file contains 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
javascript:(function(){var a=0,b=0,c=0,d=0,e=0;$("tr[data-link-to]").each(function(){var f=$(this);var g=$(f.find("td"));if($(g[2]).find("a").hasClass("won")){d++}else{e++}var h=$(g[5]).find("div").first().text().replace(/\s+/,"").split("/");a+=parseInt(h[0]);b+=parseInt(h[1]);c+=parseInt(h[2])});var f=Math.round(a/b*100)/100;var g=Math.round(c/b*100)/100;var h="k/d: "+f+"\n";h+="a/d: "+g+"\n";h+="win rate:"+Math.round(d/(d+e)*100)+"%";alert(h)})() |
This file contains 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
//dagger toggle | |
alias dagger_toggle "dagger_off" | |
alias dagger_off "alias dagger_toggle dagger_on;dota_range_display 1150" | |
alias dagger_on "alias dagger_toggle dagger_off;dota_range_display 0" | |
bind "INT" "dagger_toggle" |