How to get wi-fi in Tokodai without hassle
Disclaimer : These scripts are not made by me, I got this from my friend. All the credits go to him.
Getting internet access in Tokodai is a drudge mess. This is caused by the painful system that requires signing in into portal every time you want to connect to internet. What makes it worse is that you need to input not only your username and password, but also those strange matrix printed behind your student ID card. Those who uses internet inside campus often must understand the pain. Pulling out your ID card every time you want to check mail using your iPod or netbook.
Fortunately, my friend has told me a way to make it simple. Adding a little script to automatically input username, password and the matrix without even the need to see your ID card.
This tutorial is made with firefox. It’s not that hard to do it with safari or IE in your laptop or iPod. Basically, you just need to add new bookmarks in your browser, add the scripts instead of url.
To automatically log in to portal, copy the following code, replace 学籍 with your username and パスワード with your password.
Javascript: void(document.getElementsByName("usr_name")[0].value = "学籍");
void(document.getElementsByName("usr_password")[0].value = "パスワード");
void(document.getElementsByName("login")[0].submit());
Make a new bookmark on bookmark toolbar, you can put any name to this, I use “Login” here.

Paste the above script to the “Location” field, then click Add.

Do the same thing to the below script for matrix. Again, I name it here “Matrix”.
Replace every X letters with your matrix in vertical order. Put “A” line in array A, “B” line in array B, and so on.
Javascript: function FindText(text) {
if (window.find) return window.find(text, true);
var range = document.body.createTextRange();
if (range.findText(text, -1)) {
return true;
}
return false;
}function AutoInput() {
var i;
var count = 2;
var A = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var B = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var C = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var D = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var E = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var F = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var G = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var H = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var I = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
var J = new Array(‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’, ‘X’);
for (i = 0; i < 7; i++) {
if (FindText(“A,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = A[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“B,” + (i + 1).toString())) {
findFocus();
document.getElementsByName(“message” + count.toString())[0].value = B[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“C,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = C[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“D,” + (i + 1).toString())) {
findFocus();
document.getElementsByName(“message” + count.toString())[0].value = D[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“E,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = E[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“F,” + (i + 1).toString())) {
findFocus();
document.getElementsByName(“message” + count.toString())[0].value = F[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“G,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = G[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“H,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = H[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“I,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = I[i];
count++;
}
}
for (i = 0; i < 7; i++) {
if (FindText(“J,” + (i + 1).toString())) {
document.getElementsByName(“message” + count.toString())[0].value = J[i];
count++;
}
}
}
void(AutoInput());
void(document.getElementsByName(“login”)[0].submit());
To log in, click “Login” when you see this page :
and click “Matrix” when you see this page :

Be careful not to put the blinking cursor into the first field. I don’t know why it doesn’t want to fill the third field if you do that.
Try it =)
Selamat jalan guruku..
Barusan saja (Rabu, 2 Desember 2009 jam 2 pagi) saya mendapat berita tentang kepulangan guru kimia kami semasa SMA. Meskipun tidak diajar secara formal di sekolah, melainkan di tempat les di Maulana Yusuf (sekarang pindah ke Dipati Kertabumi), beliau sangat dekat dengan kami.
Sering kami berkonsultasi dengan beliau tentang berbagai hal, gak hanya tentang pelajaran dan jurusan yang ingin dipilih, tapi juga banyak hal tentang kehidupan. Sering sekali beliau menghibur kami dengan senyumnya yang selalu beliau berikan tiap kali kami datang ke tempat les. Beliau mengingat nama kami satu-persatu. Tidak pernah kami datang ke tempat les tanpa disapa oleh beliau. Ketika kami sedang penat dengan masalah, baik masalah sekolah atau kampus, sampai masalah pribadi yang tidak bisa diceritakan, beliau selalu duduk di samping kami dan menghibur dengan keramahan beliau.
Beliau selalu mengingatkan kami untuk selalu berusaha dan berdoa untuk kesuksesan di sela-sela pelajaran. Tak pernah sekalipun kami merasa jenuh ketika beliau mengajar. Beliau adalah salah satu yang terbaik dari guru yang pernah mengajar saya. Beliau tak tergantikan oleh siapapun.
Terakhir saya bertemu beliau adalah tahun lalu ketika pulang ke Indonesia. Tapi terakhir saya mendengar suara beliau adalah tahun ini ketika pulang, beliau sedang mengajar kelas alumni di DK. Saat itu ingin rasanya menyapa beliau, tapi karena takut mengganggu, saya cuma titip salam lewat satpam. Duh, andai saja waktu itu saya menunggu sebentar saja sekadar untuk menyapa..
Selamat jalan guruku sayang.. semoga ilmu yang ada diingatanku ini kelak menjadi pahala untukmu. Selamat jalan… semoga Allah menerima semua amalmu, termasuk semua senyuman yang Anda berikan untuk kami..
Selamat jalan ibu..
(In the mourning of Ibu Endah Yuniar, December 1st 2009, 13.00 WIB)
FESTA ‘09 Performance
our performance in festa wasnt very successful, it was as though we were given time to learn from here on that we won’t have a satisfying performance unless we put serious effort to it. We didn’t have time to prepare!!, the songs nor the dance, we took it for granted and left without rehearsal, we even came late -_-;
Mbak Donna and I thought that it would be too rude to leave just like that after giving that poor performance. Just for going to a show we knew we’d be late (as for me I sacrificed my exam preparation time), so we stayed for a while. Dita and Chandra also decided to stay not long after we go back in the hall. However, our sacrifices (my sacrifice too) was later paid!.
There was a performance (right after ours) from a pro music band called “three hearts”, they played nice songs with three unique instruments ; a steelpan, a huge marimba, and a set of nice percussions with cajón. They were true pros!! I can’t criticize mbak donna’s face she made every time a song ended because I felt the same thing, I wanted to listen for more!! They mostly played japanese songs we never heard of, but they also they played some renowned songs from our “jidai” like Canon in D and Under the sea from Little Mermaid movie (you can watch them below, the three of them performed better tho..). We understood that since most of the people there were ojiichan and obaachan. The age average of people in that room was maybe around 60s, even with us included!.
After watching their performance, we went straight to the meal. Mbak donna, as instructed by the chairperson, gave the “kampai” call for everybody in Bahasa Indonesia.. I couldnt stand not to laugh since the word she chose was “bersulang” (and everybody said that actually!), which I think it was only said in some Asian Drama dubs in Indonesian TV. And the person who gave her the idea was no other than me. (hihihi..)
The meal wasn’t bad but it was not a meal for a person who hadn’t had anything since morning like me. It was just some chips, inari sushis, and some norimakis. Aaa, was very hungry even after we got on train back home.
At the end of the party, Furuya sensei invited us to go with him and the others to have dinner. Mbak Donna was free, so he went with them. I told sensei that I have exam on Monday, so I couldnt go, and I told sensei that the other two (Chandra & Dita) were going somewhere. However, sensei interpreted this as their “date”!, so, after telling me the way back to the station, he told Dita & Chandra where should they go to have a perfect date around there. Hahahaha, omoshiree..
They actually planned to go to UNIQLO sale in Aobadai. Later, Dita told me that they went to Aobadai’s UNIQLO to find out that the items they were looking for were all sold out. So they took train back to Eda station to go to bigger UNIQLO to finally satisfy their shopping appetite!!
Variable swapping
Tertarik dengan blog temen ysep yang rajin banget ngepost tentang bidang yang sedang dia pelajari di kuliahnya, gw juga pengen coba-coba nulis tentang hal yang “berbau” jurusan gw deh. :D
Kalo ada yang pernah belajar programming prosedural (命令型プログラミング) seperti C, C++ dan sebangsanya, pasti tau dong apa itu variable swapping. Dari namanya, variable swapping artinya menukar value dari variable satu dengan variable yang lain. Waktu awal belajar programming, gw sering ngelakuin kesalahan2 parah. Misalnya, variable a=10 dan variable b=5, trus, tanpa pikir panjang gw swap aja secara “brutal”;
a = b;
b = a;
hasilnya, a = 5 dan b = 5. Tentu saja, karena di baris pertama, nilai a sudah digantiin oleh nilai b sehingga a menjadi bernilai 5, dan line kedua pun sudah tak perlu dibicarakan lagi..
Ada beberapa solusinya, salah satu yang sering dipergunakan adalah menggunakan variable ketiga sebagai “penampung sementara”. Sehingga jadi;
temp = a;
a = b;
b = temp;
di baris pertama, variable temp “menampung” nilai a (temp = 10), kemudian nilai variable a diubah menjadi nilai b, baru kemudian variable b diubah menjadi nilai a yang sudah ditampung di temp. Sehingga hasil yang didapat adalah a=5 dan b=10.
Solusi yang kedua, menurut gw cukup menarik karena meskipun hanya berlaku untuk variable bertipe real number, cukup membantu mengasah logika. Bahkan, cara ini pernah diteskan ke job-applicant satu perusahaan IT di Singapura (menurut kakak sepupu yang sekarang sedang bekerja di sana). Caranya adalah dengan hanya menggunakan hitung tradisional (kali-bagi-tambah-kurang : 四則演算), misalnya :
a = a + b;
b = a - b;
a = a - b;
pertama-tama, nilai a + b dimasukkan ke variable a di baris pertama. Kemudian, di baris kedua variable a yang nilainya adalah a+b dikurangi dengan nilai b, sehingga nilai a yang pertama diperoleh, lalu dimasukkan ke variable b. Terakhir, nilai b di awal dapat dengan mudah diperoleh dari variable a yang nilainya masih a+b dikurangi dengan b yang kini sudah jadi nilai a di awal. Hasilnya, nilai a dan b ter-swap tanpa diperlukan variable ketiga. Nah, bisa pikirkan cara lain lagi?
Indang!!
Otsukaresama deshita!
My second performance as one of the Tari Indang Team in PPI Tokodai has just ended. I felt very much worn out, but I am happy, my performance was not as bad as my first (at kawasaki town festival), I guess I am getting little knack of it. To my surprise, it was actually fun!! ^^
Don’t have clue what Tari Indang is? me neither, actually =) hehehe. All I know is that it is originated from West Sumatra, the place from where my ancestor (of my father’s side) came.
If you happen to know ITB (Institut Teknologi Bandung), maybe you know the above video. It was performed by students from UKM (Unit of Minangnese Culture - a student organization in ITB), this video is one of my favorite.
And if you know any minangnese, you can also find the lyric of the song here.
and download its mp3 here, a little different version (and tempo), but I guess it’s worth hearing.
minna, otsukare!
update: video of the performance is now available.
sibuk?
Akhir-akhir ini, gw disibukkan (menyibukkan) diri ke kegiatan di luar belajar (mungkin, melarikan diri dari belajar? to ieru kana..). Mulai dari PPIJ, PMIJ, PPI Tokodai, sampe masuk tim tari di PPI Tokodai, padahal, dulunya gw anti banget ama yang namanya organisasi, entah mungkin pasti ((^^)) karena males, atau gak pengen punya tanggung jawab. Sejak SD dulu, gw belum pernah namanya jadi ketua kelas sekali pun. Gak tau kenapa, gak ada yang percaya ama gw kali ya? atau sikap gw yang gak pernah dewasa, yang sok ngawur, pecicilan gak mau diem. Atau mungkin karena gw sendiri gak pernah pengen? cukup jadi yang pertama dalam akademik, selebihnya gak butuh? well, gak tau.
well, sebabnya karena gw mulai dewasa? wkwkwk… gak mungkeeeen!! hmm.. pasti karena gw pengen ikut-ikutan sibuk kek orang lain ya? auk ah.. (GEJE!!)
Am a lucky person (a note to future me)
If I say noone ever loves me. I’ll be damned.
I have never stayed in a neighborhood without a person cheering me up whenever I am down, encouraging me whenever I hesitate, congratulating me whenever I am happy, and being watchful over me whenever I feel stranded.
So, future me, never think you’re alone.
kachimake
kudaranai, ore no jinsei wa kudaranai sa,,
ima no ore wa kako no ore ni urayamashiku kanjiru sa,,
ima no ore wa tada ikiteru dame ningen ni shika mienai you na ki ga shiteru sa,,
ore wa nani ka wo nakushita no kamoshirenai,,
ore no naka no nanika wo nakushita no kamoshirenai,,
kako no ore wo ikite ikaseru nanika wo,,
nakushita no kamoshirenai..
ikitai saaaaa,,,,,,,,,
ikitai ore wa,,
kusssooooo >.<
Glass` Highway (doa)
頭では理解していてもなかなかできないんだ
たった昨日決めたばかりのちっぽけな約束さえも守れてない
今年もまたこの季節が来て“早いな”ってあいづちばかり打って
僕はどこまで進んで来れたんだろう
ガラスのハイウェイに立っているように
夢と危険と背中あわせでも
このながい道程(みち)を少しずつ歩こう
そして君は あの頃みたいに
笑っていて
同じ状況(ばしょ)にいるつもりでも周りがどんどん動いてしまう
どうもうまくいかない事をどこかの誰かと世の中のせいにした
小さな事に全力になる君の姿 勇気になった日々
ずっと保留しっぱなしじゃ動けない
ガラスのハイウェイを飛ばしているように
何があっても色あせない想い
このながい丘に夢は必ず咲く
だから君は あの頃みたいに
笑っていて
潮風に揺れてささやきあった
輝いていた遠いあの日はかげろう
つまらない事に負けるには早すぎる
til the end of time…
ガラスのハイウェイを走り抜けるように
何があっても変わらない想い
このながい道程(みち)を少しずつ歩こう
そして君は あの頃みたいに
笑っていて
Atama de wa rikai shiteitemo, Nakanaka dekinainda
Tada kinou kimatta bakari no chippokena yakusoku sae mamorenai
Kotoshi mata kono kisetsu ga kite “hayaina” tte aizuchi bakari utte
Boku wa doko made susunde koretan darou
Garasu no haiwei ni tatte iru you ni
Yume to kiken to senaka awase demo
Kono nagai michi wo sukoshizutsu arukou
Soshite kimi wa, ano koro mitai ni
Waratte ite
Onaji basho ni iru tsumori demo, mawawri ga dondon ugoiteshimau
Doumo umaku dekinai koto wo doko ka no dare ka to yo no naka no sei ni shita
Chiisana koto ni zenryoku ni naru kimi no sugata yuuki ni natta hibi
Zutto horyuu shippanashi jya ugokenai
Garasu no haiwei wo tobashite iru you ni
Nani ga attemo iro asenai omoi
Kono nagai oka ni yume wa kanarazu saku
Dakara kimi wa, ano koro mitai ni
Waratte ite
Shoukaze ni yurete sasayaki atta
Kagaite ita tooi ano hi wa kagerou
Tsumaranai koto ni makeru ni wa hayasugiru
til the end of time…
Garasu no haiwei wo hashitte nukeru you ni
Nani ga attemo kawaranai omoi
Kono nagai michi wo sukoshizutsu arukou
Soshite kimi wa, ano koro mitai ni
Waratte ite





Recent Comments