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>
Friday, August 13, 2010
Permanently mounting a VirtualBox shared folder in a Ubuntu guest
Assuming your shared folder is called vbshared, first:
sudo mkdir /mnt/vbshared
Then, add the following line to the file /etc/fstab:
vbshared /mnt/vbshared vboxsf defaults 0 0
Restart your Ubuntu guest.
sudo mkdir /mnt/vbshared
Then, add the following line to the file /etc/fstab:
vbshared /mnt/vbshared vboxsf defaults 0 0
Restart your Ubuntu guest.
Ubuntu Linux Folder Sharing Error: Failed to execute child process "testparm" (No such file or directory)
apt-get install samba-common-bin
Wednesday, August 11, 2010
Tuesday, July 27, 2010
Share Folder Without Password in XP
Share to "ANONYMOUS LOGON" and set folder security to allow "ANONYMOUS LOGON" .
Monday, July 26, 2010
How to install Windows XP without USB, Floppy or CD Drive
- Use a 2ndPC. Download WinToFlash to 2nd PC.
- Put your target hard disk in a USB caddy and mount it in 2nd PC.
- Get your original XP CD onto 2nd PC.
- Run WinToFlash. Go to advanced mode.
- Select "Transfer Windows Setup to USB Drive", and click "Run".
- Select Windows source path as your XP CD, and the USB Drive as your target hard disk, and click "Run".
- When completed, Mount your target hard disk in your target PC/laptop, and boot.
- Select text mode (1st option) from the menu.
- Set up Windows XP in normal fashion.
Monday, July 19, 2010
Convert MySQL database to UTF8
ALTER DATABASE dbname DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
Tuesday, May 11, 2010
Subscribe to:
Posts (Atom)



