Archive for the ‘another snippet | code’ Category

 

Easily Sort Your Music Library

October 15th, 2009

Here is a very simple script to sort your whole music library according to their artists, #!/bin/bash # sortMusic v0.4 # make sure this script in in the music directory and you execute this script from there # know issue: will display many errors, but it does it fine, those errors are not to be [...]

Read full article | No Comments »

NON-Standards Compliant C++ with Mumbai University

September 29th, 2009

Mumbai University fails to keep up with the ever-evolving C++ syntax. Making Turbo C/C++ as their prescribed IDE, Turbo C/C++ is ancient and will not compile with the present syntax of C++. Here is the simplest example: #include <iostream.h> #include <conio.h> void main() { cout << "Hello"; } The above code, when compiled with g++ [...]

Read full article | 3 Comments »

[HOWTO] Create a hidden loopback device in a .jpg file

August 14th, 2009

Well, I’m sure that you are definitely curious about how do you do this. Let me tell you this, it’s really simple. Pre-requisites: Image File(any format will do or even any file will do) Linux(I’ve only tested it on this platform but I guess Mac would also do) Let’s get started, shall we? First create [...]

Read full article | No Comments »

[HOWTO] Dynamic Plugins for WordPress

May 14th, 2009

Problem: Installed the hemingwayEx theme. Looks great, but the pagination doesn’t work well without the custom hemingwayEx pagination plugin. I got that installed. The hemmingwayEx theme looks cool when it displays two posts per page. The plugin worked well except that for my other two themes, displayed two posts per page. I posted a topic [...]

Read full article | 2 Comments »

P&P Lava Lamp nav for your WP Blog

May 4th, 2009

After two days of having intense jolts given to my head, I finally got the lava lamp navigation working! The orignal idea is from G. Marwaha’ Blog and Cory’s Place. By compiling the two articles, I have a clean way to implement it in probably any wordpress theme. I struggled at this one… but where there is a will, there is a way. This has been tested on the wordpress default theme and the subtleflux theme. You can see it live at my developmental theme, releasing soon. This is also for the lazy man, the quick “copy & paste” method.

Read full article | 23 Comments »