Posts

Bash Scripting - How to Concatenate Strings

Image
Somewhere around 1989, Brian Fox created Bash as a free software substitute for the Bourne shell for the GNU Project . It is a command processor, usually running in a text window, where the user can write commands that cause actions. Bash can also read and execute commands from shell script files . It supports filename globbing (wildcard matching), piping, here documents, command substitution, variables, and control structures for conditional testing and iteration, as do other Unix shells.

Caching Youtube Using Squid Caching Proxy

Image
I'm doing quick post today as I'm quite busy right now. But I don't want to make my friend Piju disappointed as he request me (quite so long... sorry heheh) about my changes on his previous squid.conf to cache youtube which is not working anymore since youtube make some changes on their video URL.

Python Server Pages Example of GET POST Form Input

Image
Previously, I've talked about mod_python.publisher method of creating a simple website using Python . And this time, I will talk about mod_python.psp where PSP stands for Python Server Pages .

Python Code to Get IP Address From Interface Name

Image
From my previous code on How To Print Active Network Interface List in Linux using Python , I got this question. Question from jimchris: Nice work, now how do we get ip address from ifacedata? My Answer:

VBScript Get File Extension

Image
Before anything else, you may love to read this book too!... Actually, I got this question from the reader of my previous blog post about VBScript to Replace Underscores in Filename with Spaces for All Files in a Folder , and I decided to answer it here.

HitungHari - PHP Countdown Banner Application

Image
The ideas developed since my previous Countdown Banner for MOSC2011 . I have made some modification on the source code and then it spark me an idea to share the source code as open source too. Therefore, I clean up my messy code, make some documentation and comments so people can reuse the code. And I name it as HitungHari .

MOSC 2011 Countdown Banner

Image
I'm just having fun with PHP GD and Inkscape. So, to make my toy useful, I would like to dedicate this Countdown banner for the upcoming MOSC 2011 event. You are free to put it on your blog or website. Here is the code to put on your site: