What Do You Do When You’re Bored?
I had a pretty easy week in terms of workload, so I'm not that stressed out, but this weekend I feel really bored. I can't seem to amuse myself by doing stuff that I usually do during weekends. I tried going out, walking, watching a movie, playing games, etc... Nothing made me feel good. Sure, they entertained me for a few minutes but it didn't take long before I got bored again.
I'm not sure of what happened, but it could be because of the fact that I got used to having pretty busy weeks so when the weekends arrive, I'm pretty much happy with being a couch potato. Not this week though, nothing that I do entertains me and I'm constantly thinking of things to do or places to visit but can't think of any.
What about you? What do you usually do to entertain yourself when you're bored to death?
Dealing with Cheap Clients
As a Freelancer, we can’t help but cross roads with all sorts of clients. There are clients who are hard to work with but the rewards are fantastic, then there are those who make you feel like you’re not even working at all. There are clients who’ll squeeze the bejesus out of you in order to save some bucks and here’s how to effectively deal with them.
OverText: A JQuery Plugin to Show Text Hints on Input Boxes
I wrote a fairly simple, yet useful plugins for one of my projects. I needed to display a form but did not have the space for all the labels. From that need, the overText plugin was born.
The usage is very simple. Include jQuery and overText in the head section of your html file:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script type="text/javascript" src="jquery.overtext.js"></script>
Then call the function from your jQuery(document).ready method:
jQuery(document).ready(function() {
jQuery("#name").overText("Your Name", "#999", "#000");
});
That's it! Simple, isn't it? There are only 3 parameters, first is the label you wish to display, second is the color of label text and third is the color of the active or normal text.
You may also view a quick demo over here.
The script is only 980 bytes small and just 603 bytes if minified. Leave your questions below!
Download jQuery Plugin: overTextPremium Template: Five Star Hotel
Here's a very luxurious website template for Hotel / B&B owners. Check out the screenshots of the template below.
Things You Can Do To Relax During Weekends
We all know how a very busy week feels like. You can’t wait for the weekend to come to finally take the time to rest, relax and unwind. But what activities can you do to maximize the very precious couple of days? Here are a few suggestions on how you can lower your stress level without spending too much.
Premium Template: Web Hosting Template
My very first Premium Template is a Website Hosting template. This unique, elegant template is perfect for businesses that use cutting-edge technology to better serve their customers - it is what the dark, mysterious theme represents.
How to Efficiently Work From Home
One would think that working from home would be easy and more and more people are trying it out with today’s technology. Especially on the IT industry, a developer would be able to collaborate and manage projects remotely with services like BaseCamp, then communicate with clients and colleagues using Skype. Let me tell you, it is very hard to work from home and it takes patience, lots of motivation, and discipline. Here are some tips to effectively work from home and avoid constantly missing deadlines.
.htaccess Guide: Speed Up Your Website
Here's a quick snippet that you can place inside your .htaccess file to speed up the rendering of your website. The first section is recommended for those using mod_rewrite to get rid of the file extensions.
<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$"> Header unset Cache-Control </FilesMatch>
PHP Beginner: A Quick & Dirty AJAX Contact Form
One thing that is common among most websites is contact forms. Contact forms come in different types and functions – most are pretty basic and contain as little as 2 to 5 fields.
Our quick contact form will ask for the user’s Name, Email Address, a Subject and the Message. Let’s get down to business by starting with the HTML part. Create a new file and name it contact.php.
PHP’s Top 5 Security Issues & How To Fix Them
Developing websites and web applications in PHP can be pretty easy for some, but that ease of use makes it prone to security holes. Previous major versions have had security flaws in the language itself, but the PHP community has been very active in releasing patches to fix those flaws.
Most hacked / hijacked sites and applications are due to the poor use of the language, again because PHP is so passive and loose and will allow any code to run so long as it complies with the interpreter's rules. Thank heavens we have OWASP. These group of people aim at educating us about the various attack vector a potential hacker would use and tips on how to protect your codes against such attacks.
