Latest Post

Error: No input file specified.

While trying to run a codeigniter app the other day I came across this error just after I had finished uploading the files and making the ne...

Saturday, December 27, 2014

By Example: How to Create, Modify and Delete Scheduled Tasks from the DOS Command Line

Create ‘Task 1’ to run C:\folder1\folder2\task1.bat at 11 PM everyday:


SchTasks /Create /SC DAILY /TN “Task 1” /TR “C:\folder1\folder2\task1.bat” /ST 23:00


Modify ‘Task 1’ to run at 11.45 pm instead:


SchTasks /Change /TN “Task 1” /ST 23:45 



Delete the task named ‘Task 1’:


SchTasks /Delete /TN “Task 1” 


Read more from Microsoft's Documentation

Thursday, March 27, 2014

Miss the old [blink] tag?, i found a solution from stack overflow

Still remember the tag, well i was reading up on something the other day and came across someone who has a cross browser fix that works in IE, Chrome, FF, well at least when i tested it did. See code snipet below:


[span class="blink_me"]This Will Blink[/span]

The JQuery

function blinker() {

setInterval(blinker, 1000);
Hope this helps someone out there!

Stackoverflow article:

Wednesday, January 29, 2014

MYSQL - Generate a random number



This will generate a number between  MIN and MAX inclusive.

Example usage:

Say we want to generate a random number between 1 and 10 we would say:

SELECT FLOOR(RAND() * (10 - 1 + 1)) + 1 


SELECT FLOOR(RAND() * 10) + 1 

Hope this helps someone.

Chitika Ads