Category: another snippet | code

  • noCD? |boot from usb| Sabayon Linux

    I had a pen-drive lying around, and so I decided to try out a new distribution of linux, Sabayon Linux. Why Sabayon? On a base install, everything is there and just works perfectly For a newbie, the hard part is often getting playback codecs, well, Sabayon has them pre-installed Sabayon has focused on the base…

  • Restore Broken Package DB on Sabayon

    System database not found or corrupted, running in safe mode using temporary, empty repository phoenix jude # equo rescue resurrect >> ####### ATTENTION: The installed package database will be resurrected, this will take a LOT of time. >> ####### ATTENTION: Please use this function ONLY if you are using an Entropy-aware distribution. Can I continue…

  • Easily Sort Your Music Library

    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…

  • NON-Standards Compliant C++ with Mumbai University

    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++…

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

    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…

  • [HOWTO] Dynamic Plugins for WordPress

    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…

  • P&P Lava Lamp nav for your WP Blog

    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…

  • Simple Steganography

    Wanna hide that information and private things you don’t want your buddies to see? Here is what is called simple steganography. Steganography is the master of black arts. Nobody can ever suspect that there is a simple, easy-to-find drawer in one of your pictures. This works with .png files as I didn’t try it with…