Apr 23 2014

receive a http get request, online

http://requestb.in/

handy when dont have a public facing host to receive the request.

Apr 12 2014

symlink in windows

mklink /j C:\symlink\folder\to\be\created C:\the\actual\path

for example,

mklink /j C:\Users\aalim\Desktop\photo C:\photos

the above command will create a folder named photo which actually “linked” to the actual folder of C:\photo

owh, it is junction in windows.

Feb 26 2014

Job Seeker Premium

aiii..

linkedin_free_premium-jobseeker

kalau dah try kan, terjumpa kerja baru plak kan. susah plak kannn

Feb 26 2014

m2u multiple payment

senang sungguh feature bayar sekaligus m2u ni. one go susut duit gaji. haha

tapi setidak-tidaknya tadela kena ulang process 3-4 kali untuk bayar bil (termasuk hutang) secara online.

122

maximum 5 per transaction, way better dari satu satu. idok gitu ye dok?

Feb 11 2014

OpenVPN – Forward all traffic via vpn

setting up openvpn on ubuntu covered by this guide: https://help.ubuntu.com/12.04/serverguide/openvpn.html

extra stuff need to be done to route all traffic of client to vpn.

1- add the following into server configuration

push “redirect-gateway def1″

push “dhcp-option DNS 8.8.8.8″

2- NAT and IP forwarding

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth1 -j MASQUERADE

in case, need to remove the iptables NAT,

iptables -t nat -D POSTROUTING 1

 

Feb 10 2014

Moonset

sunset adalah perkara biasa. petang, ada sunset. nampak dan tak nampak je. di pantai barat, sunset di pantai. di pantai timur, pantainya sunrise.

moonset? moonset tidak sepertimana sunset yang berlaku diakhir siang. paling muda untuk dapat tau bila dan arah mana moonset, cari je la kat internet. ni contohnya: http://www.timeanddate.com/worldclock/moonrise.html

gambar diatas adalah salah satu kesilapan teknikal dalam amik gambar bulan. bulan bergerak (atau bumi berputar?). jadinya, perlu diambil kira shutter speed supaya bulan yang dikatakan bergerak (walhal bumi berputar), akan menjadi sepegun yang boleh. dalam gambar diatas, shutter speednya 8″, akibatnya bulan kelihatan blur walaupun bangunannya bolehlah dikatakan sharp.

selamat tengok bulan!

 

Nov 27 2013

disable shutter sound on s4 active

via ssh.

method 1

need to have a write access to the /system
mount -o rw,remount /system

if /system/csc/feature.xml exist, edit this file. if not, edit /system/csc/others.xml. Add the following:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>

revert the permission
mount -o ro,remount /system

reboot

go to camera settings, the shutter sound menu should now available.

p/s: some other feature that is by default not there can be made available. reference: http://forum.xda-developers.com/showthread.php?t=2033894

method 2

need to have a write access to the /system
mount -o rw,remount /system

rename or delate the audio file of the shuttersound. the filename is Shutter.ogg and Shutter_multiple.ogg

revert the permission
mount -o ro,remount /system

p/s: .ogg is open format of audio.

—-

Method 1 might not really turn off the shutter click even the shuttersound menu is off from the setting.

Nov 27 2013

getting ssh access to s4 active

Previous post referred. http://www.blog.aalim.net/?p=2099

ssh access allow us to remotely connect to the device. this enable us to add, delete, modify files on the device including system files.

install SSHDroid – https://play.google.com/store/apps/details?id=berserker.android.apps.sshdroid&hl=en

under the options menu in the sshdroid, change the port to > 1024. eg: 21122

untick the Enable root. somehow if this is enabled, session instantly terminated once credentials entered. we still be able to get root access by “su”

 

Nov 26 2013

Root Galaxy S4 Active

More on note to self.

Source: http://androidxda.com/root-samsung-galaxy-s4-active-gt-i9295

Required file: https://drive.google.com/uc?id=0BwSiHc_5wjHJYXJwcWFkaG9BOUk (available from the above link)

1- Install kies (required for the driver). Unzip the downloaded file.

2- Power off phone

3- Start recovery mode. Press Volume Down + Home + Power button and wait.

4- Press volume up, to continue.

5- Screen changed to the green android with status loading and text of do not turn off.

6 – Start Odin3-v1.85.exe – obtained from the downloaded zip file.

7- Start odin. Notice in the box on the left bottom- “Added”

8- PDA – Select CF-Auto-Root-I9295.tar.

9- Hit Start

10- Wait. If Fail, try again. If PASS (Green colour), remove cable. let the phone restart restart.

11- If everything is ok, go check for SuperSU application.

intall Busybox – https://play.google.com/store/apps/details?id=stericson.busybox&hl=en

 

Sep 27 2013

Melbourne – Hari 27

hari terakhir. kapal terbang pukul 2.30. masuk office dulu pagi ni.

tapi sebelum masuk office, sempat ke victoria market dulu :)

penjual di victoria market baru nak mula berniaga. baru mula keluarkan barang dari peti-peti besi mereka.

DSC_4362a

DSC_4369a

jalan-jalan, pusing-pusing. masuk kat kawasan buah-buahan, sayur-sayuran.

DSC_4391a

pengalaman menarik pegi victoria market di pagi hari. takde la pagi sangat, dalam pukul 8 sampai di victoria market. kedai buah dan sayur dah banyak yang buka. tetapi kedai cenderamata cenderahati tu semua baru nak buka. yang dah memulakan perniagaan pun ada, tapi tak banyak la.

Sep 27 2013

Melbourne – Hari 26

esok balik. malam ni pusing-pusing jalan kaki lagi satu round. malam ni makan di mama wong’s. setelah 2 kali gagal kerana kedainya tutup. kali pertama, memang kedai tutup pada hari isnin malam. kali ke-2, tutup sebab tuan kedai menghadiri majlis kahwin kaum keluarga (ada notis tertampal).

selepas tu pegi cuba coklat mat botak. (max brenner). tetapi coklat dia tak sepekat likat san churros.

DSC_4350a

baik max brenner mahupun san churros, dua-dua ini sentiasa penuh dengan pelanggan. max brenner ni letaknya tak jauh dari san churros. selang 5-6 buah kedai je. kalau ke QV, cari papparich ataupun daiso di tingkat 2. kat situ ada satu padang (kadang-kadang ada event kat padang ni), kat situ cari la coklat mat botak ni. http://www.maxbrenner.com.au/

Sep 27 2013

Melbourne – Hari 25

hari ni kena cari satu beg untuk hand-carry. jadi, berpergian la ke woolworth, big-w, coles untuk cari shopping bag yang boleh diguna pakai tu. bigW ada banyak pilihan. tapi yang tak besar, macam terlalu kecik. tapi yang besar, mak aih, besar gila. jauh lagi besar dari ikea punya tu

di woolworth ada banyak saiz yang sesuai. yang menjadi pilihan, cool bag. dia cam ada insulation sikit, sesuai untuk shopping barang-barang frozen la kot.

setidak-tidaknya nanti boleh la guna beg ni untuk beli-beli barang nanti. kalau nak beli beg yang betul-betul beg tu, tak la kot. walaupun memang ada keiginan nak beli crumpler sebiji :D