» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with and + tricks

KDE: Right Click, Extract Here


I've been hunting for a post on how to have KDE "extract here" like Foresight Gnome edition does (it's really handy to one click extract archives).  Post after post found via Google did nothing at all to help me out.  Most tried to have you read how to do this manually by creating your own service menu and they would use xterm to extract.  I wanted to use ark...mainly because it's there and it's a gui.

Then I decided to search KDE-Apps.org and viola! I found it.  A handy little tool that allows you to right click on any archive and "extract here" with Ark.  Here's how to install it.



Continue reading "KDE: Right Click, Extract Here"

Linux: YALB

Microblogging, Status, and Blogging 2.0


In my previous post, I asked readers how they plugged their blog and/or microblogged, web 2.0 style. Some microblogging readers recommended that I check out Ping.fm. It was exactly the service that I needed; the ability to simultaneously post status updates on twitter, pownce, facebook. I specifically look for services that don't require that I install anything on my desktop (I like IM much more).

The only problem with this is that ping.fm is in beta stage...and a closed beta at that. So, I began to read various different blogs to try and find any other service that might do the same thing as ping.fm.

During my search, I cam across profilactic.com, which is a central aggregate place similar to friendfeed.com. The interesting part about profilactic is that it plugs into ping.fm and every single user can be part of the closed beta for ping.fm!

This means that you can microblog/status message bebo, blogger, brightkite, facebook, hi5, Jaiku, LinkedIn, LiveJournal, Mashable, Myspace, Plaxo Pulse, Plurk, Pownce, Tumblr, Twitter, and Xanga through one single interface OR through Instant message (there is a ping.fm bot).

Here's the kicker...profilactic.com supports 186 sites as well as the ability to create a custom site. There are too many to list. Check out their supported sites.

So, you can utilize ping.fm to instant message status updates or microblog and instantaneously have it sent out to close to 200 different sites all at once. This is handy for me since I like to use pownce a bit more than twitter but my coworkers use twitter more. My status updates are still broadcast (on 60 second delay) on twitter through my instant message to the ping.fm bot. Ping.fm also supports the iPhone and has the ability to have custom triggers.

To take advantage of these great services, head over to profilactic and signup. When you're setting up your sites, you'll be able to plug into ping.fm (it will require that you signup using the profilactic beta password that profilactic will provide for you during setup). Don't forget to visit my lifestream and add me as a friend -) Happy micro/status/blogging!

Linux: YALB

Faster Eclipse On Slower Machine

If your computer goes slower while working in a big project, you recognize that you need to do some tweaks to work more fluidly. Here i share some of my tricks that meaningfully speeds up my eclipse work flow.

Eclipse: eclipsepowered

Small fix in jaws-complete tarball

As many of you noticied we forgot to include the Skeleton gadget in the jaws-complete tarball of 0.7.2. This issue caused some (fatal) errors with users who wanted to upgrade with the Skeleton gadget already installed.

We've uploaded the tarball again including the Skeleton gadget.

*NOTE: This is not a bug fix release, we are just uploading the jaws-complete tarball again with the Skeleton gadget*. There's no need to update again or use this tarball if you didn't have this problem.

Jaws: Jaws News

Tips and Tricks for Debugging in Eclipse

In this article I will describe some tips and tricks for debugging your applications in Eclipse. I will cover the debug details formatter, breakpoints on classes only, as well as how to display all references and instances of a particular object or class.

Eclipse: eclipsepowered

Installing and Using RealPlayer on Foresight Linux


Last night, I decided to install RealPlayer onto my fresh Foresight Linux 1.4.X install. I've replaced my main workstation with Foresight due to convenience (I use it at work) and I use RealPlayer from time to time for videos and music.

No package exists for RealPlayer in the repositories, so head over to Real.com and download the .bin file. After the .bin file has been downloaded, use the following commands to install:


chmod 755 RealPlayer10GOLD.bin && sudo ./RealPlayer10Gold.bin

In the terminal, it will ask you what directory you'd like to install RealPlayer into. I chose /opt/RealPlayer (you'll have to type it in) because I'd rather have the files installed there than in my home directory, which is where I downloaded the file to. After this, you'll have a shiny, new shortcut inside Applications >> Sound and Video >> RealPlayer. Click on this to launch the program and follow the wizard.

The wizard will setup the Mozilla (firefox) plugins for you but they still won't work solidly. This is because mplayer is overtaking the player duties for real media formats. To change this, gedit ~/.mplayer/mplayerplug-in.conf and change these entries as shown below:

enable-rm=0
enable-smil=0
enable-helix=0

Save and close that document. You're set -) Restart Firefox and go to real.com and test out the player capabilities.


Linux: YALB

Installing Openbox on Foresight Linux


My friend Og Maciel
originally introduced me to Openbox a while back and I've been using it ever since. I love the lightweight feel, the ability to customize and the center around having NO icons on my desktop. I don't feel cluttered when I work! I published a version of this tutorial/how-to on my previous blog that I've retired. It was originally for Openbox 3.4.2 but I've now updated it for Openbox 3.4.6.1. This tutorial is tailored for Foresight Linux 1.4.X but the guide may very well serve other distros as well.
Continue reading "Installing Openbox on Foresight Linux"

Linux: YALB

Mediawiki: Remove External Arrow from Links


My main job here at rPath, Inc. is to document our technologies via the rPath Documentation Wiki. For this wiki, we use a Mediawiki Appliance. For those that don't know, the "appliance" I refer to here is a software appliance...something rPath technologies make easy to maintain and create. For more information see the definition of a software appliance here.

Moving on, I was ANNOYED by the fact that you have a small arrow "" that appears beside any image that references an external URL or any link that does the same. This is fine to let people know that links will take them to a different page...but what I was trying to do was to make a PDF Icon have the same link as the URL it was sitting beside:

So in the above image, if one clicked on the PDF icon or the "Application to Appliance: A Hands-on Guide (PDF)" the PDF would download.

Mediawiki doesn't provide a fantastic way for you to do this. However, after some snooping around via google, I found a fairly easy way to make things happen.


Continue reading "Mediawiki: Remove External Arrow from Links"

Linux: YALB

A New User Guide to Linux Communities


Are you a new Linux user? Fantastic! Welcome to the world of freedom. Freedom of choice, freedom of expression, freedom from vendor lockin. You've made an excellent choice. Now that you've chosen, installed, and are using Linux there are a few things you should keep in mind as you learn the ropes of your new system.

1. Not all Communities are the Same

Each Linux distribution has its own distinct community with their own ideas. Think of owning a vehicle or a certain brand of appliance...along with the ownership of this comes the lifestyle that is reflected by users/owners of the product. The same is true with Linux. Each community will have a different idea on what is important. What is important to you may not be even on the radar of those users and developers of that community. Find one that suits you.

Keeping this in mind, be patient. Ask questions the smart way. Be explicit and tactful. Be precise and direct. Provide more information than you think is necessary...no one will become upset if you provide too much information but they may not answer your question if you have too little.



Continue reading "A New User Guide to Linux Communities"

Linux: YALB

Jaws 0.7.1 released

We are releasing the second stable version of the 0.7 family: 0.7.1.

This release fixes many things like:

  • Fixes some (f)cgi bugs with the PATH_INFO (some dreamhost users were having problems with this).
  • The bug in the editor (the HBox::rebuildJS message/warning/error).
  • Some Phoo bugs
  • And many other bugs!

Requirements


* PHP >= 4.3.6 * MySQL >= 3.23.49 (if you use MySQL) * Apache 1.3, Apache 2, Cherokee >> 0.4.29 (under fcgi) and IIS

Suggestions


During this bug-squashing stage I found a little problem with Dreamhost (cause I've some accounts with them).

If you want to have links like: index.php/blog/show/32 (passing params via the pathinfo) you can't do that on dreamhost if you are using PHP 4.2.x with CGI. If you really want to use those links, just change to PHP 5.2.x (cgi or fcgi) otherwise your links will be like index.php?blog/show/32 (note that we replace the first / with a ?).

Download


To download the package(s) just click here.

Thanks for all of you who reported bugs!

Jaws: Jaws News

Small fix in jaws-complete tarball

As many of you noticied we forgot to include the Skeleton gadget in the jaws-complete tarball of 0.7.2. This issue caused some (fatal) errors with users who wanted to upgrade with the Skeleton gadget already installed.

We've uploaded the tarball again including the Skeleton gadget.

*NOTE: This is not a bug fix release, we are just uploading the jaws-complete tarball again with the Skeleton gadget*. There's no need to update again or use this tarball if you didn't have this problem.

Jaws: Jaws News

Jaws 0.7.1 released

We are releasing the second stable version of the 0.7 family: 0.7.1.

This release fixes many things like:

  • Fixes some (f)cgi bugs with the PATH_INFO (some dreamhost users were having problems with this).
  • The bug in the editor (the HBox::rebuildJS message/warning/error).
  • Some Phoo bugs
  • And many other bugs!

Requirements


* PHP >= 4.3.6 * MySQL >= 3.23.49 (if you use MySQL) * Apache 1.3, Apache 2, Cherokee >> 0.4.29 (under fcgi) and IIS

Suggestions


During this bug-squashing stage I found a little problem with Dreamhost (cause I've some accounts with them).

If you want to have links like: index.php/blog/show/32 (passing params via the pathinfo) you can't do that on dreamhost if you are using PHP 4.2.x with CGI. If you really want to use those links, just change to PHP 5.2.x (cgi or fcgi) otherwise your links will be like index.php?blog/show/32 (note that we replace the first / with a ?).

Download


To download the package(s) just click here.

Thanks for all of you who reported bugs!

Jaws: Jaws News

Small fix in jaws-complete tarball

As many of you noticied we forgot to include the Skeleton gadget in the jaws-complete tarball of 0.7.2. This issue caused some (fatal) errors with users who wanted to upgrade with the Skeleton gadget already installed.

We've uploaded the tarball again including the Skeleton gadget.

*NOTE: This is not a bug fix release, we are just uploading the jaws-complete tarball again with the Skeleton gadget*. There's no need to update again or use this tarball if you didn't have this problem.

Jaws: Jaws News

PCLinuxOS & What Sets it Apart: Part I


I originally intended this post to be a review of 2007 Final for PCLinuxOS. However, after finishing it up, I realized that posting a review wouldn’t have the desired effect of truly showing off PCLinuxOS to everyone. It would just be a “business as usual” type of post. So, I decided to do a analysis on what I feel sets PCLinuxOS apart from many Linux distributions.

I often see people steer new Linux users to other distros such as OpenSuse, Ubuntu, and SimplyMEPIS...even Sabayon in a few instances. This is fine...they’re good, solid distros. However, out of those distros, I’d recommend only one...OpenSuse. Why? Because of YAST. A New user needs to feel comfortable with system configuration tasks. Not everyone is ready to drop to the shell when coming in from that other operating system. Not every 65 year old grandmother is ready to crack a Konsole and vi their way to .conf bliss. Ubuntu’s control panel is continually getting better but YAST still leads the pack in putting new users or even seasoned ones at ease with system configuration.

I regularly used SimplyMEPIS from 2003 until 2005 and continue to recommend it for new users despite it not having a YAST Like tool. It now has inherited many things from Ubuntu so it has a greatly improved way of doing things. The added tools also make common tasks easier like emptying out logs, installing graphics drivers, and setting up your monitor/resolution. It’s getting there quickly.

That brings me to OpenSuse. YAST is a fantastic and powerful tool. Still, when I use OpenSuse, I often find that I’m not up to date with applications and I find the repositories move much slower than I’d like. I have to rely on third party repos which isn’t a bad thing but often gets me into trouble with dependencies. So I was on a search for a cutting edge distro that was solid, up to date with the latest packages, and had a YAST-like utility for it. Of course, Mandriva (Mandrake at the time) was a good fit but I found PCLinuxOS even better.

So, today I’ll talk about what I feel sets PCLinuxOS apart from other freely available distros.


Continue reading "PCLinuxOS & What Sets it Apart: Part I"

Linux: YALB

Install extra Themes and Icons in PCLinuxOS


Are you a PCLinuxOS 2007 user?

Are you one of the many that love the default theme and think it’s eye catching but wish you could change it and make it your own? Do you wish there were more themes, icon sets, and bling for your desktop that would be easy to add? I did too. Here’s how I was able to customize PCLinuxOS 2007:

PCLOS Default
PCLOS Custom


Continue reading "Install extra Themes and Icons in PCLinuxOS"

Linux: YALB

Autostart Apps in PCLinuxOS 2007 (KDE)


There’s a question that is often asked via IRC on freenode #pclinuxos-support. Many people want to know how to get programs to startup immediately upon login.

Now there are two ways to do this...kind of. Actually, there is only one way to get programs to autostart but there is another way you can have programs startup when you login...let’s look at both of them.

The First Way

First, go to the PC Menu (or kmenu) >> Run Command >> konqueror --profile filemanagement

When Konqueror opens, navigate to /home/user/.kde/autostart (replace user with your login name). Now minimize that window...we’ll come back to it later. Next up, click on the My Computer icon on your desktop (or for other users, open up Konqueror and put the following in the addressbar: system:/). When that opens, click on applications and minimize the window and place it side by side with the previously opened window.

Hieronymus has posted a helpful tip that simplifies the process above.  After opening up Konqueror, use the Go Menu and click the entry for “autostart” which will take you directly to the correct folder for the current logged in user.  Thanks Hieronymus for the tip!  Visit their homepage here.



Continue reading "Autostart Apps in PCLinuxOS 2007 (KDE)"

Linux: YALB

Convert Audio with Ease in KDE


I ripped a couple of CD’s for my son this evening. In the process, I decided to setup Kalarm and Korganizer on his computer so that he could set alarms to remind him to do various chores around the house. While doing all of this, I needed a .wav file so that he could use a song for his alarm. Of course, he wanted one of the songs I had just ripped from his CD. Since I had ripped his songs to .ogg format, I had to investigate which program could convert from .ogg to .wav this the easiest in KDE.

I’ve not used many of the whiz bang functions of KDE and desktop Linux...I’ve been more of a browser, mail, and RSS type of guy for many years. Now that I’ve been using Linux at work and at home, I’ve been blessed with the opportunity to figure out how to do things that I’ve never done before. In this case, convert audio to .wav, .ogg, or .mp3 with ease. There is a tool called audiokonverter available in PCLinuxOS 2007 repositories that makes this a snap.



Continue reading "Convert Audio with Ease in KDE"

Linux: YALB

How-To: PCLinuxOS 2007 and MythTV


For those of you who always thought PCLinuxOS and MythTV would go together...you’re quite right, they do fit well together...though there are a few bumps on the road. Hopefully, this how-to will help you along the way.

First, let’s mention what this guide will not cover:

  1. Remote Controls
  2. IR Blasters
  3. Picture Quality Settings

Why won’t I cover those? Because there are infinite possibilities for each one...and it would be impossible for me to investigate them all...hardware not in my possession besides. So, this will cover installing mythtv and omit the items above. Mythtv has those items covered quite well in their documentation.

Hardware Specifications:

  1. HP a1520n
  2. ATI x300 PCIe VPU
  3. PVR150 and PVR350
  4. Sharp Aquos 37" LCD TV
  5. USR MaxG PCI Card

Continue reading "How-To: PCLinuxOS 2007 and MythTV"

Linux: YALB

Remove Root from PCLinuxOS Login Screen


Just a quick tip on how to remove the root user from the PCLinuxOS login screen. This should work for most if not all KDE based distributions.

Go to the Kmenu >> Run Command >> kdesu kcontrol

Enter your root password when prompted for it. You should now see the KDE Control Center. The difference here is that you’re running this as the root user so changes will be made at the root (super user) level. Go to System Administration >> Login Manager. You should have something similar to the screenshot.

Next up, go to the ‘Users’ tab and look in the center. There you can see all the system users. Check the box for root. This will hide the root user from the front KDM Login Screen. This won’t prevent you from logging in as root, but it will prevent it from displaying by default.

More PCLinuxOS tips and tricks coming soon -D

Linux: YALB

Print Readable Man Pages


Ever wonder how you can get a man page in into a format you can read and print? There’s many methods of doing it (copy and paste is one) but one the easiest I’ve found is:

CODE:
man command | col -x -b  >  command.txt

Where command is the Linux command man page you want to print/view.  From there, open up command.txt in your favorite gui text editor (gedit, kate) and you have a readable format that could be printed quite easily for reference.


Linux: YALB

Print Readable Man Pages


Ever wonder how you can get a man page in into a format you can read and print? There’s many methods of doing it (copy and paste is one) but one the easiest I’ve found is:

CODE:
man command | col -x -b  >  command.txt

Where command is the Linux command man page you want to print/view.  From there, open up command.txt in your favorite gui text editor (gedit, kate) and you have a readable format that could be printed quite easily for reference.


Linux: YALB

Remove Root from PCLinuxOS Login Screen


Just a quick tip on how to remove the root user from the PCLinuxOS login screen. This should work for most if not all KDE based distributions.

Go to the Kmenu >> Run Command >> kdesu kcontrol

Enter your root password when prompted for it. You should now see the KDE Control Center. The difference here is that you’re running this as the root user so changes will be made at the root (super user) level. Go to System Administration >> Login Manager. You should have something similar to the screenshot.

Next up, go to the ‘Users’ tab and look in the center. There you can see all the system users. Check the box for root. This will hide the root user from the front KDM Login Screen. This won’t prevent you from logging in as root, but it will prevent it from displaying by default.

More PCLinuxOS tips and tricks coming soon -D

Linux: YALB

How-To: PCLinuxOS 2007 and MythTV


For those of you who always thought PCLinuxOS and MythTV would go together...you’re quite right, they do fit well together...though there are a few bumps on the road. Hopefully, this how-to will help you along the way.

First, let’s mention what this guide will not cover:

  1. Remote Controls
  2. IR Blasters
  3. Picture Quality Settings

Why won’t I cover those? Because there are infinite possibilities for each one...and it would be impossible for me to investigate them all...hardware not in my possession besides. So, this will cover installing mythtv and omit the items above. Mythtv has those items covered quite well in their documentation.

Hardware Specifications:

  1. HP a1520n
  2. ATI x300 PCIe VPU
  3. PVR150 and PVR350
  4. Sharp Aquos 37" LCD TV
  5. USR MaxG PCI Card

Continue reading "How-To: PCLinuxOS 2007 and MythTV"

Linux: YALB

Convert Audio with Ease in KDE


I ripped a couple of CD’s for my son this evening. In the process, I decided to setup Kalarm and Korganizer on his computer so that he could set alarms to remind him to do various chores around the house. While doing all of this, I needed a .wav file so that he could use a song for his alarm. Of course, he wanted one of the songs I had just ripped from his CD. Since I had ripped his songs to .ogg format, I had to investigate which program could convert from .ogg to .wav this the easiest in KDE.

I’ve not used many of the whiz bang functions of KDE and desktop Linux...I’ve been more of a browser, mail, and RSS type of guy for many years. Now that I’ve been using Linux at work and at home, I’ve been blessed with the opportunity to figure out how to do things that I’ve never done before. In this case, convert audio to .wav, .ogg, or .mp3 with ease. There is a tool called audiokonverter available in PCLinuxOS 2007 repositories that makes this a snap.



Continue reading "Convert Audio with Ease in KDE"

Linux: YALB

Install extra Themes and Icons in PCLinuxOS


Are you a PCLinuxOS 2007 user?

Are you one of the many that love the default theme and think it’s eye catching but wish you could change it and make it your own? Do you wish there were more themes, icon sets, and bling for your desktop that would be easy to add? I did too. Here’s how I was able to customize PCLinuxOS 2007:

PCLOS Default
PCLOS Custom


Continue reading "Install extra Themes and Icons in PCLinuxOS"

Linux: YALB

Autostart Apps in PCLinuxOS 2007 (KDE)


There’s a question that is often asked via IRC on freenode #pclinuxos-support. Many people want to know how to get programs to startup immediately upon login.

Now there are two ways to do this...kind of. Actually, there is only one way to get programs to autostart but there is another way you can have programs startup when you login...let’s look at both of them.

The First Way

First, go to the PC Menu (or kmenu) >> Run Command >> konqueror --profile filemanagement

When Konqueror opens, navigate to /home/user/.kde/autostart (replace user with your login name). Now minimize that window...we’ll come back to it later. Next up, click on the My Computer icon on your desktop (or for other users, open up Konqueror and put the following in the addressbar: system:/). When that opens, click on applications and minimize the window and place it side by side with the previously opened window.

Hieronymus has posted a helpful tip that simplifies the process above.  After opening up Konqueror, use the Go Menu and click the entry for “autostart” which will take you directly to the correct folder for the current logged in user.  Thanks Hieronymus for the tip!  Visit their homepage here.



Continue reading "Autostart Apps in PCLinuxOS 2007 (KDE)"

Linux: YALB

Tips and tricks to speed up your Windows XP computer

The problem I hear most from my clients is “My computer is slow”. There can be many reasons your computer is “slow”. In this article I will describe some simple techniques for speeding up your Windows XP installations. The main culprit for a “slow” computer is insufficient RAM. There are several settings you can change on your computer to speed up applications and the basic operation of your system. These tips are geared toward basic computer users who don’t understand how computers operate and what makes them “slow”.

Windows XP is a beast. It uses a lot of your system’s RAM just to run and load windows. Many new computers since the release of XP only come with 256MB or 512MB of RAM. So while your computer may be “new” it has barely enough RAM to just run Windows. Add your web browser, Microsoft Office, or some other applications and soon your computer will slow to a crawl. So first things first, check your RAM. If you want to do any “real” work in Windows I suggest a minimum of 1GB of RAM. (To check your RAM, right click on “My Computer”, select “Properties”. Your RAM should be listed in the information on this screen)

So you say you have enough RAM? Well next thing you can do to speed up your system is disable all the animated menus and eye candy that shows up on your screen. Don’t worry, windows will still work great…infact it will work better. To disable effects that make your computer run slow: Right click on your desktop and select “Properties”. Click the “Effects” button. Remove all of the check marks in the boxes and click OK, ok. Next right click on “My Computer”, select “Properties”. Click the “Advanced” tab and the “Settings” button. Choose “Adjust for best performance” and click OK, ok. Your desktop will now look like the old Windows 98′ish desktop. No more fancy XP eye-candy, but at least now your computer will run a little faster.

The next biggest thing I see that causes PC slow-down is running Anti-virus software like Norton or McAfee. These anti-virus solutions run “real-time system monitoring” and scans when you are using your computer. In my opinion most anti-virus software is worthless. You can protect your system through safe computing practices, using FireFox as your web browser, and updating windows regularly. Occasional virus scans are still recommended, but having an anti-virus program running constantly in the background will reduce most systems to a slow crawl at times. Disabling the “real-time” protection in your anti-virus should speed up your system.

Having many applications in your startup will also slow your system down. Most of the applications that start automatically when you load windows are unnecessary. So if you have a lot of programs running in your system tray when windows starts, chances are you could do without most of them. To disable the startup of applications click “Start” and then “run”. Type: msconfig and press OK. This should bring up the “System Configuration Utility”, click on the Startup tab. You can safely disable most of the applications that are selected. If you reboot and encounter issues with any applications, you may re-enable the startup setting for that particular application. With fewer applications running at start-up, you will have more memory to work with your applications. Just run applications as you need them, instead of starting many at once when you log into Windows.

While still in the “System Configuration Utility” click on services. Disable “Indexing Service”. This service indexes all the files that are on your computer. It does this so that if search for something on your computer, it will search faster by scanning the index lists. If you don’t search your computer often, or even if you do search often, this system service is completely unnecessary and will slow down your computer more and more over time. Once you’ve disabled everything click OK on the “System Configuration Utility” and choose “Reboot Now”. After your computer reboots a window will pop-up that mentions that “the configuration has been modified etc…” you can click “don’t show this in the future” and it won’t come up again next time you reboot.

There are many other tips and tricks you can use to speed up your computer. This article is geared towards those who aren’t “geeks”. I haven’t really listed anything that could cause permanent damage to your system (provided you follow my instructions). If you are up for more advanced techniques which include editing the registry, please search Google and be careful.

Advanced resources for speeding up your computer:

Don’t forget to install Spybot S&D to rid yourself of Spyware, Malware, and Adware. Don’t forget to defragment your hard drive on occasion as well. Good luck and have fun with your faster Windows XP machine.

addthis_url = 'http%3A%2F%2Fthew0rd.com%2F2007%2F06%2F25%2Ftips-and-tricks-to-speed-up-your-windows-xp-computer%2F'; addthis_title = 'Tips+and+tricks+to+speed+up+your+Windows+XP+computer'; addthis_pub = 'thew0rd';

User:quantumparticle: Whats the w0rd

General Tips & Tricks

Slashdot




Tips & Tricks


Disclaimer: I (the author of this blog) wants to let you know that you'll use any or all of the instructions on this page at your own risk and I am not responsible for any kind of damage caused (indirectly or directly or in any other way) by following the instructions below or by reading the article and/or my blog.

Here is a list of tips and tricks that I found useul. This list is my on-going work so expect it to change very often and keep visiting.





  • How to create a one-to-one relationship in MS Sql Server 2000 Enterprise Manager Diagram Editor:
    Make the column unique in the table where the key is acting as foreign key.
  • Cloak / Uncloak SCM (subversion) directories in Dreamweaver
    Its very easy to do that. You just have to go to "
    Adobe Exchange" and search for the string "svn cloak uncloak". It'll show you only one result. Go to the result page and download the dreamweaver extension. Now, fire up your Dreamweaver (I tried version 8), click on Command->Manage Extensions. This will open up a tiny window on your screen. Click on the toolbar button "Install Extension" and select the file you downloaded from Adobe Exchange. This will install the extension. After installation is complete you'll see two new menu items under Command Menu item (i) Clock SCM Directories (ii) Uncloak SCM directories. Names are self-explanatory, so wont tell you what to do next.
  • Go to Top of the Page Using Javascript
    Use the code below
    window.scrollTo(0,0);
  • Javascript: Execute a function every second
    Use the Code below to do that
    var timer = null;
    timer = setInterval('function()', 1000); // time = 1000 ms
  • MS SQL SERVER 2000: Comparing DATETIME Value and Date String:
    In order to compare a DateTime column with a Date string you have to use the string below in SQL's Where clause.
    WHERE CONVERT(VARCHAR, [birth_date], 1) = '12/27/81'
    where birth_date is a DateTime column in the table.
  • Javascript: Sleep for 2 Seconds
    Use the function below to do that. Pass 2000 to this function to sleep for 2 seconds.
    function js_sleep(milliseconds){
    var date = new Date();
    var curDate = null;
    do{ curDate = new Date(); }while(curDate - date < milliseconds);
  • PHP: Finding name of caller
    function called_function()
    {
    $backtrace = debug_backtrace();
    print "Caller is:".$backtrace[1]['function'];
    }




Please let me know if you have some tips and tricks that I can add here.

NOTE: See readers' comments after the advertisement.

User:shahlakhan: A blog about Linux, Windows, Programming, Server Administration

PCLinuxOS & What Sets it Apart: Part I


I originally intended this post to be a review of 2007 Final for PCLinuxOS. However, after finishing it up, I realized that posting a review wouldn’t have the desired effect of truly showing off PCLinuxOS to everyone. It would just be a “business as usual” type of post. So, I decided to do a analysis on what I feel sets PCLinuxOS apart from many Linux distributions.

I often see people steer new Linux users to other distros such as OpenSuse, Ubuntu, and SimplyMEPIS...even Sabayon in a few instances. This is fine...they’re good, solid distros. However, out of those distros, I’d recommend only one...OpenSuse. Why? Because of YAST. A New user needs to feel comfortable with system configuration tasks. Not everyone is ready to drop to the shell when coming in from that other operating system. Not every 65 year old grandmother is ready to crack a Konsole and vi their way to .conf bliss. Ubuntu’s control panel is continually getting better but YAST still leads the pack in putting new users or even seasoned ones at ease with system configuration.

I regularly used SimplyMEPIS from 2003 until 2005 and continue to recommend it for new users despite it not having a YAST Like tool. It now has inherited many things from Ubuntu so it has a greatly improved way of doing things. The added tools also make common tasks easier like emptying out logs, installing graphics drivers, and setting up your monitor/resolution. It’s getting there quickly.

That brings me to OpenSuse. YAST is a fantastic and powerful tool. Still, when I use OpenSuse, I often find that I’m not up to date with applications and I find the repositories move much slower than I’d like. I have to rely on third party repos which isn’t a bad thing but often gets me into trouble with dependencies. So I was on a search for a cutting edge distro that was solid, up to date with the latest packages, and had a YAST-like utility for it. Of course, Mandriva (Mandrake at the time) was a good fit but I found PCLinuxOS even better.

So, today I’ll talk about what I feel sets PCLinuxOS apart from other freely available distros.


Continue reading "PCLinuxOS & What Sets it Apart: Part I"

Linux: YALB

General Tips & Tricks

Slashdot




Tips & Tricks


Disclaimer: I (the author of this blog) wants to let you know that you'll use any or all of the instructions on this page at your own risk and I am not responsible for any kind of damage caused (indirectly or directly or in any other way) by following the instructions below or by reading the article and/or my blog.

Here is a list of tips and tricks that I found useul. This list is my on-going work so expect it to change very often and keep visiting.