firefox bookmarks in new window or tab

Firefox has this great ability to drag and drop links to it’s bookmark toolbar. But if it is a regular link only it will open on the same window/tab that is in use.However there is a workaround there. Here is the steps I took:

  1. Create an html from a wysiwyg editor. For superfast creation of links.
  2. Instead of the usual <a href=”http://www.domain.com“>name to remember here</a> link tag use
    <a href=”javascript: void window.open(‘http://www.domain.com‘);”>name to remember here</a>
  3. Open the created file into firefox and drag the links created to the toolbar.

This will open a new window from now on. Don’t forget the void keyword on the beginning of the function since forgetting this would result to the current window to be thrown whatever the window.open function return.

Here I have created a link to upload my pictures in imageshack and a link for new post for this blog.

bookmarks

***update#1
you could also drag any link to the bookmarks toolbar and  edit the link to accept a javacript function. :)

mozilla firefox bookmarks add

create another drive on damn small linux 3 embedded

Backup all your files before proceeding. This tutorial have no warranties whatsoever.

Wondering where in the hell youre going to save all your work when using dsl-3.0.1-embedded? Well, there is a hack by roberts on the said subject.

Here is what I have learned from it.

Conventions:

D:\ – where dsl-3.0.1-embedded files are unzipped
D:\dsl-3.0.1-embedded - full path of the installation

Navigate through the qemu directory where you’ll see a harddisk file <filename: harddisk> :) copy that to what ever
filename you crave for. In my case that’s hdd no file extensions(you can opt to have one)

Edit dsl-windows.bat. See below to check what I have changed.

Original dsl-windows.bat:

REM Start qemu on windows.
@ECHO OFF

START qemu\qemu.exe -L qemu/ -no-kqemu -m 128 -soundhw sb16 -localtime -kernel linux24 -initrd minirt24.gz -hda KNOPPIX/knoppix -hdb qemu/harddisk -append “qemu sb=0×220,5,1,5 frugal quiet modules=hdb noscsi nofirewire atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce”

CLS
EXIT

Modified dsl-windows.bat:

REM Start qemu on windows.
@ECHO OFF

START qemu\qemu.exe -L qemu/ -no-kqemu -m 128 -soundhw sb16 -localtime -kernel linux24 -initrd minirt24.gz -hda KNOPPIX/knoppix -hdb qemu/harddisk -hdd qemu/hdd -append “qemu sb=0×220,5,1,5 frugal quiet modules=hdb mydsl=hdd noscsi nofirewire atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce”

CLS
EXIT

***note: START is only one line.
-hdd qemu/hdd <– added to add the newly created hard disk(pseudo)
mydsl=hdd <– add this when you have downloaded mydsl extensions and plans to auto install them on startup.

online vmx creator, virtual machine downloads, virtualization

Tinkered with the creation of vmware playable operating system and found these links:

Hopefully you’d create a virtual machine on that one. I will post my experiments on this soon. Keep tune.

the power of blog and referers

(BIG GRIN ON MY FACE) Always am an addict on being clicked over the internet(Sort of SEO me please). However after so much woes on google I didn’t have the attention I needed. Sort of KSP<kulang sa pansin>. However this day I am seeing some traffic, not much, but can be lived with. Also noticed some referals from a http://forum.textpattern.com/viewtopic.php?id=18326.

Thanks Mary.
Screenshot:

been relinked by a developer

More day to day hack soon.

free softwares in my armory

Being not that rich is an issue.. always. But how’d you cope with it is your choice. Below listed is my list of free softwares that I am enjoying and using. Brother please donate if you can though. Bring a huge throughput cause youre about to download lot’s of softs.

  • Notepad++a free source code editor which supports several programming languages running under the MS Windows environment
  • AutoHotKey - a free, open-source utility for Windows. With it, you can automate almost anything by sending keystrokes and mouse clicks. And much more.
  • Eclipse IDE with PHPEclipse PlugIn <>
  • Trillian – is a fully featured, stand-alone, skinnable chat client that supports AIM, ICQ, MSN, Yahoo Messenger, and IRC.
  • GmailNotifieran application that alerts you when you have new Gmail messages.
  • GoogleDesktop – Quickly search your computer for emails, web history, and files
  • Xampp – an easy to install distribution for developers to get into the world of Apache.
  • Thunderbird – Simple to use, powerful, and customizable, Thunderbird is a full-featured email application.
  • FastFolder – a background program which allows quick access to any of twelve pre-selected folders from the system tray.
  • AdAware Personal – provides advanced protection from known data-mining, aggressive advertising, Trojans, dialers, malware, browser hijackers, and tracking components. This software is downloadable free of charge.
  • HijackThis – homepage hijackers detector and remover
  • SyncBack - multi-award winning freeware program that helps you easily backup and synchronise your files to: the same drive; a different drive or medium (CDRW, CompactFlash, etc); an FTP server; a Network; or a Zip archive.
  • Maguma Open Studio – A PHP IDE that includes features for class browsing, ftp support, snippets, debugging and project management.
  • PHPDesigner - is a free/commercial Integrated Development Environment (IDE) for PHP for both beginner- and professional developers.
  • Firefox - award-winning, free Web browser is better than ever.
  • PDFCreator – easily creates PDFs from any Windows program. Use it like a printer in Word, StarCalc or any other Windows application.
  • SpyBot Search and Destroy – detects and removes spyware, a relatively new kind of threat not yet covered by common anti-virus applications.
  • xplorer2lite - or x2lite; lightweight version of xplorer² is not a crippled unusable salesman of the professional version. It shares the same browsing and management engine, and gives many rival professional file managers a run for their money — literally! It is a complete little file manager, albeit lacking a bit in bells and whistles.
  • filezilla - is a fast FTP and SFTP client for Windows with a lot of features. FileZilla Server is a reliable FTP server.

I will update this brother and sisters.

***updates***

#1. Syncback tutorial here. I am about to do this when visiting lifehacker.org gives me the full article. No need to reinvent the wheel.

enabling mod rewrite in xampp

I know this is pretty lame but being not lame is not beginner friendly. Being used to htaccess’ power to make my links more user friendly. I find the default installation of xampp a bit of lacking it. Thought it’s only because I do have with me the lite version of it (xampplite). But I have with me a full installed xampp better yet check it. Nothing.

So I did a little poking into configuration file of apache that came bundled with it. This is what I found out. By default mod_rewrite module is not enabled by default so I took the following steps.

To enable mod_rewrite in xampp first go to the directory of installation <xampp-directory>\apache\conf  and edit httpd.conf. Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
uncomment this(should be):

LoadModule rewrite_module modules/mod_rewrite.so

Also find AllowOverride None 

Should be:

AllowOverride All

I really think it appears 2 or 3 times on the configuration file.

Happy xampping!

console basics for linux

Been planning around to come up with basic survival kit for console commands for linux for beginners. But this one comes up and I don’t need to do it anymore.

Basically it’s ten common command lines in navigating and surviving linux.

Commands to Know

  1. sudo – this command grants you access to anything. Type sudo command to execute a command as root. In some distros, this won’t work, but in modern distros such as Ubuntu, it’s usually there.
  2. rm – Remove things. rm file1 file2 file3. To remove directories, make the command recursive: rm -R dir1. Removing (and doing other things) files that you don’t have permission for, slap a sudo in front of the command.
  3. mv – Move files. Very useful to, erm, move things. Use with sudo to access things you don’t have permission to move. mv file1 ~/code will move file1 to /home//code.
  4. cdChange directory. Very simple. cd ~/code to change to the code directory in your home folder.
  5. cp – copy files. cp file1 file2 will create a copy of file1 named file2.
  6. chmodchange mode, or modify permissions. This usually has to be accompanied with a sudo in front of it. Doing chmod -R 755 ~/code will make that code directory in your home folder, and all of its files and directories, and all of its directories files and directories (and so on) with “755″ as its permission. A brief introduction to numeric permissions is explained below.
  7. mkdir – makes a directory. Simply makes a directory. mkdir foobar will make a directory named “foobar” in whatever directory you are currently in. mkdir ~/code/foobar will make a directory named “foobar” in that code directory in your home folder, regardless of what directory you are currently in.
  8. ls – lists all the files and directories in the directory you are in. Simply use “ls.” Try doing cd / and then ls -R. Press Ctrl + C if you get tired. Also – there are several options to go with ls. Doing ls -l will give you a long list, with dates, permissions, and other attributes. Doing ls -l will give you all the files, not just visible ones, and ls -la will give you a long list of all the files.
  9. top and killall. Something running slow on your desktop? Type top -u to see what programs might be slowing it down. If you see a program that’s not responding, type killall
    to kill it. Very useful sometimes.
  10. man – this is a useful little bugger, but for some reason I always forget about it. If you don’t know what a command or application is, man can probably find it. man is short for manual, and can look up every command above. Type man ls to see what extra tasks you can use ls for.

***source: noenemies.com