Skip to content

Instantly share code, notes, and snippets.

IWAMOTO Kouichi ttdoda

  • Kanagawa, Japan
Block or report user

Report or block ttdoda

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ttdoda
ttdoda / cursor-pos-test.sxl
Created Apr 10, 2014
cursor position after sixel image test
View cursor-pos-test.sxl
P0;0;8q"1;1
#0;2;0;0;0#1;2;64;75;90#2;2;45;39;58#3;2;45;26;23#4;2;51;59;49#5;2;28;45;73#6;2;99;94;90#7;2;29;44;71#8;2;17;14;20#9;2;87;80;55#10;2;100;100;100#11;2;20;27;53#12;2;15;4;2#13;2;25;35;71#14;2;100;95;88#15;2;1;1;1
#0!100@$
#0!100A$
#0!2C#10!96C#0!2C$
#0!2G#10!96G#0!2G$
#0!2O#10!2O#7!92O#10!2O#0!2O$
#0!2_#10!2_#7!92_#10!2_#0!2_$
-
#0!2@#10!2@#7!92@#10!2@#0!2@$
@ttdoda
ttdoda / errormsg.txt
Created Jun 5, 2014
MyFleetGirls Client 0.13.6 エラーメッセージ
View errormsg.txt
---------------------------------------------
Welcome to MyFleetGirls Client Ver 0.13.6
---------------------------------------------
Exception in thread "main" java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
@ttdoda
ttdoda / gist:c9db22ed1668e2e29a76
Last active Aug 29, 2015
Application Escape Key Mode改良試験用設定
View gist:c9db22ed1668e2e29a76
let &t_SI .= "\e[?14004h"
let &t_EI .= "\e[?14004l"
inoremap <special> <Esc>[=27%~ <nop>
noremap <special> <Esc>[=27%~ <nop>
@ttdoda
ttdoda / yamada.ttl
Created Jul 14, 2014
Tera Term は山田を動かすことができる便利ツールです
View yamada.ttl
;;; yamada.ttl --- 山田が踊ります
;; Copyright (C) 2013 by Wataru MIYAGUNI
;; Copyright (C) 2014 by IWAMOTO Kouichi
;; 作者: いわもと こういち
;; オリジナル版作者: Wataru MIYAGUNI (gonngo _at_ gmail.com)
;; Version: 0.0.1
;;; ライセンス:
@ttdoda
ttdoda / cal.ttl
Created Oct 24, 2014
カレンダー表示Tera Termマクロ1
View cal.ttl
getdate y "%Y"
str2int year y
getdate m "%m"
str2int mon m
getdate d "%d"
str2int day d
getdate w "%w"
str2int wday w
offset = (wday + 8 - (day % 7)) % 7
@ttdoda
ttdoda / cal-messagebox.ttl
Created Oct 24, 2014
カレンダー表示Tera Termマクロ2
View cal-messagebox.ttl
getdate y "%Y"
str2int year y
getdate m "%m"
str2int mon m
getdate d "%d"
str2int day d
getdate w "%w"
str2int wday w
offset = (wday + 8 - (day % 7)) % 7
View cal.txt
date = getdate(time());
t = getdate(mktime(0, 0, 0, date.mon, 1, date.year));
offset = t.wday;
if (date.mon == 12) {
date.year += 1;
date.mon = 1;
}
else {
date.mon += 1;
@ttdoda
ttdoda / haiku.ttl
Created Mar 2, 2015
俳句表示マクロ (要Tera Term 4.86)
View haiku.ttl
strdim haiku 3
haiku[0] = "古池や 蛙飛び込む 水の音"
haiku[1] = "柿食えば 鐘が鳴るなり 法隆寺"
haiku[2] = "松島や ああ松島や 松島や"
; 端末初期化
; カーソル非表示(#27"[?25l")、代替スクリーンへ変更(#27"[?1049h")
; 左右マージンモード有効(#27"[?69h")、画面消去(#27"[2J")
dispstr #27"[?25l" #27"[?1049h" #27"[?69h" #27"[2J"
pause 1
@ttdoda
ttdoda / ja.po.diff
Created Mar 16, 2015
GnuPG 2.1.2で、日本語環境で鍵の期限を無期限にした時に落ちる問題の修正。
View ja.po.diff
--- po/ja.po.orig 2015-03-11 18:04:23.000000000 +0900
+++ po/ja.po 2015-03-11 18:05:19.000000000 +0900
@@ -4630,11 +4630,11 @@
#: g10/keygen.c:2392
msgid "Key does not expire at all\n"
-msgstr "%sは無期限です\n"
+msgstr "鍵は無期限です\n"
#: g10/keygen.c:2393
@ttdoda
ttdoda / poderosa-dh-g14.diff
Created Apr 21, 2015
Poderosaのkexでdiffie-hellman-group1-sha1をdiffie-hellman-group14-sha1に置き換える差分
View poderosa-dh-g14.diff
diff --git a/Granados/SSH2Connection.cs b/Granados/SSH2Connection.cs
index d798c3b..a42853f 100644
--- a/Granados/SSH2Connection.cs
+++ b/Granados/SSH2Connection.cs
@@ -1180,7 +1180,7 @@ namespace Granados.SSH2 {
}
private void SendKEXINIT(Mode mode) {
- const string kex_algorithm = "diffie-hellman-group1-sha1";
+ const string kex_algorithm = "diffie-hellman-group14-sha1";
You can’t perform that action at this time.