audibleCode

a code repository for codes that you don’t have enough words to describe

Using G-Mail as a virtual harddrive on your local computer

with one comment

The two gigabytes of storage you get with a Gmail account seems like an enormous waste of space for just e-mail. You’re not likely ever to fill it; were you to come close, Google would no doubt have doubled the space by then. Wouldn’t it be nice to be able to use some of that storage for something other than mail?

Well, you can. A free piece of software and the know-how to change a few Gmail settings are all you need to turn your Gmail storage into a virtual hard drive you can access any time you’re connected to the Internet. (If you don’t yet have a Gmail account, ask someone you know who has one, or anyone who sends you a message from one, for an invite. Gmail is still technically beta and invitation-only.)

First, get the GMail Drive shell extension fromhttp://www.viksoe.dk/code/gmail.htm and install it. Download the ZIP file, extract all the files into a folder, then run setup.exe. (Note: The GMail Drive shell extension works only with Internet Explorer, Version 5 or above.)

Read the rest of this entry »

Written by audiblecode

May 22, 2008 at 9:13 pm

A complete C++ download manager source code

leave a comment »

This is the source code for a C++ download manager that you can edit. I searched for it for a long-time because i needed to write my own but couldn’t write because of time limitations.

The code if displayed below 

#include <windows.h>

#include <stdio.h>

#include <wininet.h>

#define FILE_BUFFER_SIZE 4096

#define RETRY_READ         10

char   sInputUrl [INTERNET_MAX_URL_LENGTH] = “”;

char   sOutputPath [MAX_PATH] = “”;

HANDLE hStdOut;

DWORD  dReadFileCount, dWriteFileCount, dWriteFileTotal; Read the rest of this entry »

Written by audiblecode

May 22, 2008 at 2:44 pm

Using Microsoft Windows XP “lsass.exe” to your advantage.

leave a comment »

lsass.exe is a system process of the Microsoft Windows security mechanisms. It specifically deals with local security and login policies. This program is important for the stable and secure running of your computer and should not be terminated.

The caught is that this program cannot be terminated by the user. Not even using the command prompt. Or task manager. The system will not allow the program to be deleted at all. What do u think. By making or writing a small program that does what ever you want it to do and making it run at start-up to do “WHAT EVER U WANT TO DO” .

The user cannot stop the program until the program terminated. This is a good hack if u want to run a program which you don’t want the user or who ever to close it. 

Just name the program “lsass.exe” and that is all u are there. You can try it. 

You can write any think a trojan, antivirus,worm,trojan etc… anything but beware.

 

Written by audiblecode

May 22, 2008 at 2:24 pm

Drupal Backend theme issues

with one comment

If you’ve configured Drupal (www.drupal.org) the way that it
uses different themes for the frontend and the backend, it still kicks
you into the frontend when you edit content.
To change this you have to edit this file:
modules/system/system.module

at the end of the function “function system_menu($may_cache)” look
for the “else” part

// in line ~308
// find:
if (arg(0) == ‘admin’) 

// repalce with:
if (arg(0) == ‘admin’||
(arg(0)==’node’ && arg(1)==’add’) ||
(arg(0)==’user’ && arg(1)!=”) ||
(arg(0)==’node’ && (arg(2)==’edit’ || arg(2)==’localizernode’))
)

 

Written by audiblecode

May 22, 2008 at 1:58 pm