You can control your Windows machine far away with remote desktop, this is known as virtual network computing (VNC). “Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.” (source: Wikipedia).But Windows remote desktop is slow and poor image quality, but … Read more...
URL Validation Class In PHP
A couple days ago i’ve been struggling with URL validation in PHP. And i found a URL validation class from phpclasses.org which i think is great and do what i need. And to use it, is really simple. Beside validate url, this class also can parse the url, so you can get all the url details.This url validation class is develop by Kaloyan Kirilov Tzvetkov, all credits is goes to him.Here is the example to use it:It’s pretty handy and safe your headache, isn’t it?Download … Read more...
Turn Off Light Feature For Video Streaming Site
Most of the times when you watching a streaming video from Youtube or other else, you found that all the comment or related videos or ads are little bit distracting. So if you own a video streaming website, it’s better if you can give this turn off light feature, so your visitor can enjoy their time when watching a video from your site.To implement this turn off light feature, you need JQuery to modify CSS on the fly.For JQuery library i’m using Ajax from Google API:And for … Read more...
Get Last Tweet Without OAuth Using PHP
Get last tweet of your tweets or someone’s tweet with username doesn’t need OAuth. Twitter have their own API to get last tweet with username. You can access the API with http://api.twitter.com/1/statuses/user_timeline/, which some arguments supplied. You can read more detail about this API function here.I have create a simple function to parse last tweet from a username:How to use it:The function will return array of tweets. That’s it, if you like to know more, you can … Read more...
Get Twitter Update With JQuery
From the previous article i write, Get Last Tweet Without OAuth Using PHP, and now i want to share with you how to get the twitter update with JQuery.Get Twitter update with JQuery is not much different, we are using the same API given by Twitter , process it and display the results. You can get the Twitter update from someone using their username using this Twitter API:Where username would be the twitter username, and format could be json, xml, atom and rss.Okay as usual, if we … Read more...
Regular Expressions Cheat Sheet
Regular expressions (regex or regexp) provide a concise and flexible means for matching strings of text, for instance particular characters, words, or patterns of characters. A regular expression is written in a formal language that can be interpreted by a normal expression processor, a program that either serves as a parser generator or examines text and identifies parts that match the provided specification.Regular expressions are used by quite a few text editors, utilities, and … Read more...
Hardening Your Server Security With ConfigServer Security & Firewall
Talking about server side security will come down to firewall or filter connections from and to your server. Close unnecessary ports, block unwanted connection and blacklist spammers are the things that your server admin should do in their everyday life. If you pay attention to your server log, you will found that lot of malicious request and brute force bot attack to find your server vulnerabilities. You should block it with firewall.One of the good and free Firewall module is ConfigServer … Read more...
Tools To Monitor Your Hardware Information And Status In Windows
When you buy a new brand PC or laptop, you were told by the seller about the specification of your PC or laptop. But how do you if it is true or not? Or maybe you want to know your full hardware information for some reasons. There are a coupe of tools that describe below to get your system information, hardware specification, system status, hardware temperature status, battery status and so on. So when you testing your laptop or PC before you pay it, make sure you check it first.1. … Read more...
Useful Google Chrome Extensions For Web Developer
Google Chrome is a web browser developed by Google that uses the WebKit layout engine and application framework. It was first released as a beta version for Microsoft Windows on 2 September 2008, and the stable release was released on 11 December 2008. And until now Google Chrome grow fast and more developers love to make Chrome extensions.And it is undoubtedly that most of web developers using Mozilla Firefox to test and developing their web application. Because of Firefox plugins make … Read more...
Simple Perl Script To Test Mod_Evasive On Your Apache Web Server
One way to prevent DOS attack is install mod_evasive for apache. I have write the article “Prevent DDoS Attack With mod_evasive in Apache 2“, a while ago.And now if you want to check if the mod_evasive is working correctly, you can use the simple perl script below:To run the script:This script will do 100 request to your webserver. And will return the response code. As you know it is return code 200 means it success to connect. But if it is 404 (not found) or 302 … Read more...