<?xml version="1.0" encoding="utf-8" ?>

<rss version="0.91" >
<channel>
<title>spoonfork</title>
<link>http://mel.icious.net/blog/</link>
<description>that iban dude</description>
<language>en</language>
<image>
        <url>http://mel.icious.net/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: spoonfork - that iban dude</title>
        <link>http://mel.icious.net/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Maxis??? Hellooooooo?</title>
    <link>http://mel.icious.net/blog/archives/Maxis-Hellooooooo.html</link>

    <description>
        So friends been SMS-ing me today - but I didn&#039;t received any. I thought it was phone problem. Rebooted the hand phone, still no new SMSes. I already paid all my bills. So WTF Maxis? 
    </description>
</item>
<item>
    <title>Sunburst International Music Festival 2008, Bukit Kiara, Kuala Lumpur</title>
    <link>http://mel.icious.net/blog/archives/Sunburst-International-Music-Festival-2008,-Bukit-Kiara,-Kuala-Lumpur.html</link>

    <description>
        Last week I went to Sunburst Internation Music Festival in Bukit Kiara, Kuala Lumpur. Here&#039;s what happened:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;1:45 pm - Found parking in front of the entrance to Bukit Kiara Equestrian Club&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;2:45 pm - Gates opened. Kanineh. They said gate will open at 2. Abuden, each place in KL has its own timezone. Kanineh.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;3:15 pm - First show - &lt;a href=&quot;http://flickr.com/photos/spoonfork/tags/gerhanaskacinta&quot;&gt;Gerhana Ska Cinta&lt;/a&gt;. Sucks big time. And they only play for like, 45 minutes. WTF???&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;3:20 pm - Second show - &lt;a href=&quot;http://flickr.com/photos/spoonfork/tags/gigi&quot;&gt;Gigi&lt;/a&gt;. Memang best giler diarong punya show. Gempak siot. In my opinion, they&#039;re the best performer that day. Rock sial.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;4 something - Third show - Pop Shuvit. Watched a few performances, then decided to go minum beer cause I was thirsty. Plus it started to rain&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;5 something - Hujan lebat sial. I decided to take photos of the &lt;a href=&quot;http://flickr.com/photos/spoonfork/2340147654/&quot;&gt;tuborg girls&lt;/a&gt;. Semua tak choon, body pun flat, but....&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;Almost 6 - Eated burger. Eated some other food. Had two more beers.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;6 something - Watched George Clinton. Memang rock sial. I mean, if there&#039;s someone that you should watch live, watch George Clinton. He&#039;s like, 70 years old and still can funk! Go watch him if you can before he like, yanno, kong.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;8 something - Watched Joe Flizzow. Tak rock sangat&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;9 something - The Roots!!!! Best giler sial. Memang best. The Roots was the only motivation for me to spend RM200 for Sunburst. The Roots!!!!&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;9:30 something - received an SMS saying that UMNO will try to invoke non-Malays to incite riots. WTF.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;10 something - drove home&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;11 something - had maggie goreng at Devi&#039;s corner in TTDI. Man U vs Derby game was on&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;12 something - reached home. At first, wanna go see Uncle St Patrick and drink Stout, but I was damn tired.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;12 something - check if &lt;a href=&quot;http://security.org.my&quot;&gt;security.org.my&lt;/a&gt; got kena hack. phew nothing happened.&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;12 something - went to sleep&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
Photos &lt;a href=&quot;http://flickr.com/photos/spoonfork/&quot;&gt;here&lt;/a&gt;. 
    </description>
</item>
<item>
    <title>I, Lazy</title>
    <link>http://mel.icious.net/blog/archives/I,-Lazy.html</link>

    <description>
        I&#039;ve been very lazy in updating this blog. This is because I spend most of my time at &lt;a href=&quot;http://security.org.my/&quot;&gt;security.org.my&lt;/a&gt;, blogging about the Malaysia security scene. &lt;br /&gt;
&lt;br /&gt;
Listening to: Portishead - Mysterons 
    </description>
</item>
<item>
    <title>Migrating from Wordpress to Serendipity</title>
    <link>http://mel.icious.net/blog/archives/Migrating-from-Wordpress-to-Serendipity.html</link>

    <description>
        For years, this blog has been powered by &lt;a href=&quot;http://wordpress.org&quot;&gt;Wordpress&lt;/a&gt;. Prior to this, it was running on a custom weblog engine written by myself. That particular engine lacks quite a number of features, especially spam protection. Everyone else was using wordpress, so i joined the bandwagon. Until now. For years, wordpress have been plagued with security vulnerabilities, and updating it has become such a chore. Besides, I live in the constant fear that this blog will defaced/hacked almost everyday due to the fact that it was running wordpress. So now, I&#039;ve changed to &lt;a href=&quot;http://www.s9y.org&quot;&gt;Serendipity&lt;/a&gt;. One of the main reason for choosing Serendipity is that &lt;a href=&quot;http://security.org.my&quot;&gt;security.org.my&lt;/a&gt; has been running on it since July 2007. Since that time, there have been 3 critical vulnerabilities in Wordpress, and Serendipity has one XSS vulnerability in one of its plugin. That is more than enough motivation for me to migrate. Secondly, I like Serendipity&#039;s plugins. Installing, deinstalling and updating  is damn easy via admin page. &lt;br /&gt;
&lt;br /&gt;
Now for those of you who wants to migrate from Wordpress to Serendipity, Serendipity provides an export function in the admin page. It is very straighforward, everything is imported without any hitch. 
    </description>
</item>
<item>
    <title>bashing the shell</title>
    <link>http://mel.icious.net/blog/archives/bashing-the-shell.html</link>

    <description>
        I&#039;ve been writing quite a large amount of shell scripts for the past few days. Here&#039;s are some tips that might be of help.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. debugging&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The simplest way to step through the execution of your shell script is to provide it with the -x option. For example: sh -x myscript.sh&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. array&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Yes, shell script can do them. To create an array:&lt;br /&gt;
&lt;br /&gt;
foo=(&quot;apple&quot; &quot;orange&quot; &quot;lemon&quot; &quot;durian&quot;)&lt;br /&gt;
&lt;br /&gt;
Another example of creating an array automatically:&lt;br /&gt;
&lt;br /&gt;
NETDEVICES=&quot;$(cat /proc/net/dev | awk -F: &#039;/[0-9]:/{print $1}&#039;)&quot;&lt;br /&gt;
&lt;br /&gt;
To iterate through the array, a for loop will do:&lt;br /&gt;
&lt;pre&gt;
for DEV in $NETDEVICES; do
    echo -n &quot;$DEV&quot;
done
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. printing a specific line from a file&lt;/b&gt;&lt;br /&gt;
This is a simple &lt;code&gt;head&lt;/code&gt; and &lt;code&gt;tail&lt;/code&gt; trick:&lt;br /&gt;
&lt;br /&gt;
1st line: cat file.txt | head -n1&lt;br /&gt;
2nd line: cat file.txt | head -n2 | tail -n1&lt;br /&gt;
3rd line: cat file.txt | head -n3 | tail -n1&lt;br /&gt;
&lt;br /&gt;
and so on...&lt;br /&gt;
&lt;b&gt;4. maths&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;
a=1
b=2
c=$(( $a + $b))
&lt;/pre&gt;&lt;br /&gt;
shell script however, does not support decimals. For this, I use awk with printf:&lt;br /&gt;
&lt;pre&gt;
a=1.1
b=2.2
c=$(echo $a $b | awk &#039;{printf(&quot;%s&quot;, ($1+$2))}&#039;)
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. string concatenation&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;
a=&quot;takizo&quot;
b=&quot;memang&quot;
c=&quot;handsome&quot;
d=$a&quot; &quot;$b&quot; &quot;$c
&lt;/pre&gt;&lt;br /&gt;
or&lt;br /&gt;
&lt;pre&gt;
a=&quot;takizo&quot;
b=&quot;memang&quot;
c=&quot;handsome&quot;
d=${a}&quot; &quot;${b}&quot; &quot;${c}
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. manipulating IFS&lt;/b&gt;&lt;br /&gt;
IFS stands for internal field separator (or something like that). Example:&lt;br /&gt;
&lt;pre&gt;
a=&quot;paul|memang|handsome&quot;
IFS=&quot;|&quot;
echo $a
&lt;/pre&gt;&lt;br /&gt;
This will replace the IFS with spaces. Of course, for the above, you can use awk:&lt;br /&gt;
&lt;pre&gt;
a=&quot;paul|memang|handsome&quot;
echo $a | awk -F | &#039;{ printf(&quot;%s %s %s&quot;, $1, $2, $3) }&#039;
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. return codes&lt;/b&gt;&lt;br /&gt;
use $?. Example:&lt;br /&gt;
&lt;pre&gt;
cat /etc/passwd
echo $?
cat /etc/password
echo $?
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. other shell special vars&lt;/b&gt;&lt;br /&gt;
These are also good for debugging. Try them out for yourself too see what they actually output. Example:&lt;br /&gt;
&lt;pre&gt;
#!/bin/sh
echo &quot;ARG: $1 $2 $3 $4&quot;
echo &quot;script name: $0&quot;
echo &quot;num args: $#&quot;
echo &quot;pid: $$&quot;
echo &quot;options: $-&quot;
echo &quot;args: $*&quot;
echo &quot;args: $@&quot;
echo $?
&lt;/pre&gt;&lt;br /&gt;
 
    </description>
</item>
<item>
    <title>Gimp.app: Fixing Random Crashes on OS X Leopard</title>
    <link>http://mel.icious.net/blog/archives/Gimp.app-Fixing-Random-Crashes-on-OS-X-Leopard.html</link>

    <description>
        In this &lt;a href=&quot;http://security.org.my/index.php?/archives/Wireshark-on-OS-X-Leopard-Fix-Random-Crashes.html&quot;&gt;post&lt;/a&gt; at the &lt;a href=&quot;http://security.org.my/&quot;&gt;security.org.my&lt;/a&gt; blog, I outlined a fix for fixing random crashed of Wireshark on OS X Leopard. &lt;br /&gt;
&lt;br /&gt;
Apparently, after replacing the Leopard-shipped Xquartz, &lt;a href=&quot;http://gimp-app.sourceforge.net/&quot;&gt;Gimp.app 2.4-rc3&lt;/a&gt; no longer crashes as well! Sweet!&lt;br /&gt;
&lt;br /&gt;
 
    </description>
</item>
<item>
    <title>To the driver of WMD 6468, you are a true Malaysian asshole</title>
    <link>http://mel.icious.net/blog/archives/To-the-driver-of-WMD-6468,-you-are-a-true-Malaysian-asshole.html</link>

    <description>
        See how this car is blocking the exit. Repeated honkings later, I gave up. I had to reverse all the way back to use another exit. &lt;br /&gt;
&lt;center&gt;&lt;br /&gt;
&lt;a href=&quot;http://mel.icious.net/gallery/misc/Image027&quot;&gt;&lt;img src=&quot;http://mel.icious.net/albums/misc/Image027.sized.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://mel.icious.net/gallery/misc/Image026?full=1&quot;&gt;&lt;img src=&quot;http://mel.icious.net/albums/misc/Image026.sized.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://mel.icious.net/gallery/misc/Image025?full=1&quot;&gt;&lt;img src=&quot;http://mel.icious.net/albums/misc/Image025.sized.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/center&gt;&lt;br /&gt;
Related: &lt;a href=&quot;http://flickr.com/photos/spoonfork/216675784/&quot;&gt;BGB 1009 is an asshole&lt;/a&gt; 
    </description>
</item>
<item>
    <title>Viagra 70% X-Mas special, courtesy of your friendly Anti Corruption Agency Website</title>
    <link>http://mel.icious.net/blog/archives/Viagra-70%25-X-Mas-special,-courtesy-of-your-friendly-Anti-Corruption-Agency-Website.html</link>

    <description>
        You can read all about it &lt;a href=&quot;http://security.org.my/index.php?/archives/Viagra-70%25-Off-X-Mas-Special,-Courtesy-of-www.bpr.gov.my-and-moe.gov.my.html&quot;&gt;here&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
These other posts, should make a fun reading as well. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://security.org.my/index.php?/archives/.gov.my-Porn-Para-Sites.html&quot;&gt;*.gov.my Porn Para-Sites&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://security.org.my/index.php?/archives/Using-Google-to-Find-HackedDefaced-Malaysian-Government-Websites.html&quot;&gt;Using Google to Find Hacked/Defaced Malaysian Government Websites&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Enjoy! 
    </description>
</item>
<item>
    <title>robofest malaysia</title>
    <link>http://mel.icious.net/blog/archives/robofest-malaysia.html</link>

    <description>
        it&#039;s on at PWTC from 27th - 30th November. information &lt;a href=&quot;http://www.robofest.org.my/robofest07.html&quot;&gt;here&lt;/a&gt;. uh, they have a &lt;a href=&quot;http://www.robofest.org.my/conqueror.html&quot;&gt;capture the flag&lt;/a&gt; game as well. 
    </description>
</item>
<item>
    <title>deepsec writeup, roboexotica</title>
    <link>http://mel.icious.net/blog/archives/deepsec-writeup,-roboexotica.html</link>

    <description>
        a short writeup &lt;a href=&quot;http://security.org.my/index.php?/archives/DeepSec-Vienna-Trip-Report.html&quot;&gt;here&lt;/a&gt;, deepsec photos &lt;a href=&quot;http://mel.icious.net/gallery/deepsec&quot;&gt;here&lt;/a&gt; and roboexotica photos &lt;a href=&quot;http://mel.icious.net/gallery/roboexotica&quot;&gt;here&lt;/a&gt;. 
    </description>
</item>

</channel>
</rss>
