Copy php_curl.dll, php_gd2.dll, ssleay32.dll to apache\bin.
Enable extension=php_curl.dll in php.ini
Restart apache
Sunday, May 29, 2011
Sunday, May 15, 2011
Monday, May 9, 2011
Running Windows Scheduled Task Batch File Minimized
- For the batch file "MyBatchFile.bat", create a shortcut : "C:\Shortcut to MyBatchFile.bat.lnk".
- Goto to the properties of the shortcut file and set the Run window state to "Minimized".
- In the Windows Scheduler, create a task.
- Browse to the shortcut, and finish creating the scheduled task.
- When you are done, go back the the schedule tasks and edit the properties of the "MyBatchFile" scheduled task.
- Replace the filename of "C:\MyBatchFile.bat" with the filename of the shortcut :"C:\Shortcut to MyBatchFile.bat.lnk"
Your schedule task will now run minimized.
Thursday, May 5, 2011
Wednesday, May 4, 2011
Enabling Permalinks in Wordpress
Make sure the following is in Apache's httpd.conf:
RewriteEngine on
AllowOverride All
RewriteEngine on
AllowOverride All
Saturday, March 12, 2011
Running Windows control panel apps from the command line
Control panel tool | Command |
Accessibility Options | control access.cpl |
Add New Hardware | control sysdm.cpl add new hardware |
Add/Remove Programs | control appwiz.cpl |
Date/Time Properties | control timedate.cpl |
Display Properties | control desk.cpl |
FindFast | control findfast.cpl |
Fonts Folder | control fonts |
Internet Properties | control inetcpl.cpl |
Joystick Properties | control joy.cpl |
Keyboard Properties | control main.cpl keyboard |
Windows Messaging | control mlcfg32.cpl |
Microsoft Mail Post Office | control wgpocpl.cpl |
Modem Properties | control modem.cpl |
Mouse Properties | control main.cpl |
Multimedia Properties | control mmsys.cpl |
Network Properties | control netcpl.cpl |
Password Properties | control password.cpl |
PC Card | control main.cpl pc card |
Power Management | control powercfg.cpl |
Printers Folder | control printers |
Regional Settings | control intl.cpl |
Scanners and Cameras | control sticpl.cpl |
Sound Properties | control mmsys.cpl sounds |
System Properties | control sysdm.cpl |
Friday, March 4, 2011
Dropbox is simply awesome
Free 2 gigs, sync'd with your smartphone, desktop and web. saved my bacon more than once. Just get it!
Wednesday, December 8, 2010
Sunday, December 5, 2010
Removing Samsung Kies Outlook Add in
In Outlook 2007:
- Tools -> Trust Centre
- Click "Add ins"
- Select "Exchange Client Extensions" and click Go
- Uncheck "Redemption Helper Outlook Extension"
- Click OK.
Monday, November 8, 2010
Sunday, September 26, 2010
Overlining text in Microsoft Word
Press: CTRL-F9
Type: EQ \x \to(text to be overlined)
Press: F9
To re-edit later, click on the overlined text and press SHIFT-F9
Type: EQ \x \to(text to be overlined)
Press: F9
To re-edit later, click on the overlined text and press SHIFT-F9
Sunday, September 5, 2010
How to sync your iPhone calendar with your Google Calendar
On your iPhone, go to settings, Mail, Contact, Calendars, Add Account, Other, Add CalDAV Account. Set server to www.google.com and use your gmail.com login.
Labels:
Google Calendar,
iPhone,
iPone Calendar
Tuesday, August 31, 2010
Block SideWiki on your website
Put this javascript in the < head > section of your web pages:
<script charset="utf-8" type="text/javascript">
if( location.href.indexOf('#SWBLK') == -1){
if( navigator.userAgent.indexOf('GTB') > 0 ){
var theTime = new Date();
location.href = location.href + '#SWBLK' + theTime.getTime();
}
}
</script>
Saturday, August 21, 2010
jQTouch form login with redirect example
First file, jqtform.html:
Second file, jqtform.php:
<html>
<head>
<meta charset="UTF-8" />
<title>jQTouch β</title>
<style type="text/css" media="screen">@import "jqtouch/jqtouch.min.css";</style>
<style type="text/css" media="screen">@import
"themes/jqt/theme.min.css";</style>
<script src="jqtouch/jquery.1.3.2.min.js" type="text/javascript"
charset="utf-8"></script>
<script src="jqtouch/jqtouch.min.js" type="application/x-javascript"
charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
var jQT = new $.jQTouch({});
$(function(){
$('body').bind('pageAnimationEnd', function(event, info){
//alert($('#Success')[0].innerHTML);
if ($('#Success') && $('#Success')[0].innerHTML=='Success'){
$(location).attr('href','http://www.jqtouch.com/');
}
});
});
</script>
<style type="text/css" media="screen">
body.fullscreen #home .info {
display: none;
}
</style>
</head>
<body>
<form id="myform" action="jqtform.php" method="POST" class="form">
<div class="toolbar">
<h1>Log in</h1>
</div>
<ul class="rounded">
<li><input type="text" name="username" value="" placeholder="Username" /></li>
<li><input type="password" name="password" value="" placeholder="Password"
/></li>
</ul>
<a style="margin:0 10px;color:rgba(0,0,0,.9)" href="#" class="submit
whiteButton">Submit</a>
</form>
</body>
</html>
Second file, jqtform.php:
<?php
$title = "Wrong username or password";
if ($_POST["username"] && $_POST["password"]) {
if ($_POST["username"] =="jqtouch" && $_POST["password"] == "jqtouch") {
$title = "Success";
}
}
?>
<div>
<form id="myform" action="jqtform.php" method="POST" class="form">
<div class="toolbar">
<h1><?php echo $title ?></h1>
</div>
<ul class="rounded">
<li><input type="text" name="username" value="" placeholder="Username" /></li>
<li><input type="password" name="password" value="" placeholder="Password"
/></li>
</ul>
<a style="margin:0 10px;color:rgba(0,0,0,.9)" href="#" class="submit
whiteButton">Submit</a>
</form>
<?php if ($title == "Success"){ ?>
<div id="Success">Success</div>
<?php } ?>
</div>
Subscribe to:
Posts (Atom)



