<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/var/logs/paulooi.log</title>
	<atom:link href="https://logs.paulooi.com/feed" rel="self" type="application/rss+xml" />
	<link>https://logs.paulooi.com</link>
	<description>Systems Admin, Web Development and etc</description>
	<lastBuildDate>Tue, 21 Jul 2015 04:33:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to Rsync from Remote Server to Synology</title>
		<link>https://logs.paulooi.com/how-to-rsync-from-remote-server-to-synology.php</link>
					<comments>https://logs.paulooi.com/how-to-rsync-from-remote-server-to-synology.php#comments</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Tue, 21 Jul 2015 12:33:33 +0000</pubDate>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[synology]]></category>
		<category><![CDATA[sysadmin]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1757</guid>

					<description><![CDATA[<p>I hava a synology at home, mainly use to store important files, and realize beside have a backup of my server files on dropbox, may be it can have another copy in Synology as well. I explored the possibility of...</p>
The post <a href="https://logs.paulooi.com/how-to-rsync-from-remote-server-to-synology.php">How to Rsync from Remote Server to Synology</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>I hava a synology at home, mainly use to store important files, and realize beside have a backup of my server files on dropbox, may be it can have another copy in Synology as well. I explored the possibility of rsync the backup either on dropbox or server into synology, and&#8230; it works!</p>
<p>Here is what you need to prepare before proceed with the backup. </p>
<p>1. Create a directory for backup. i.e folder name of ServerBackup. Go to &#8220;Control Panel&#8221; -> &#8220;Shared Folder&#8221;. </p>
<p>2. Enable SSH on Synology. Go to &#8220;Control Panel&#8221; -> &#8220;Terminal &#038; SNMP&#8221; -> &#8220;Enable SSH Service&#8221;. If you option to change the SSH port or not <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-enablessh.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-enablessh-300x140.png" alt="synology-backup-enablessh" width="300" height="140" class="aligncenter size-medium wp-image-1758" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-enablessh-300x140.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-enablessh.png 594w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>3. Try to ssh into Synology with username &#8220;root&#8221;. The root password is the same with &#8220;admin&#8221;. </p>
<p>If are you done, let&#8217;s do it. </p>
<p><strong>Generate SSH Key</strong></p>
<p>You wouldn&#8217;t want to key in password whenever want to access to the server to grab the file. Generate a &#8220;custom&#8221; ssh key which will be used for synology. Remember, please do not set the password. Give you ssh file a &#8220;special name&#8221;, DO NOT use the default. I.e we used synobackup, there are 2 files will be generate </p>
<p>1. synobackup &#8211; This is the private key files<br />
2. synobackup.pub &#8211; This is the public key which will be placed on the remote server. </p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-sshkey.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-sshkey-300x231.png" alt="synology-backup-sshkey" width="300" height="231" class="aligncenter size-medium wp-image-1759" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-sshkey-300x231.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-sshkey.png 537w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Next, we will copy this 2 files into Synology folder ServerBackup. We create a folder name &#8220;scripts&#8221;, and the file will be placed in synology</p>
<p>1. /Volume/ServerBackup/scripts/synobackup<br />
2. /Volume/ServerBackup/scripts/synobackup.pub</p>
<p>We will copy the key on synobackup.pub into remote server&#8217;s ssh directory &#8220;.ssh/authorized_keys&#8221; for the user&#8217;s home directory where you will login with the username later. i.e &#8220;/home/takizo/.ssh/authorized_keys&#8221;</p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-homeauthorizedkey.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-homeauthorizedkey-300x101.png" alt="synology-backup-homeauthorizedkey" width="300" height="101" class="aligncenter size-medium wp-image-1760" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-homeauthorizedkey-300x101.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/synology-backup-homeauthorizedkey.png 453w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>Ok.. we are done with ssh thingy. Let&#8217;s write some script. </p>
<p><strong>Simple Scripting</strong></p>
<p>Next, we will do some scripting as below. </p>
<p></p><pre class="crayon-plain-tag">#!/bin/ash

#This is the private key
PRIVKEY=&quot;/volume/ServerBackup/scripts/snology&quot;

#This is the folder you would like to backup from
HOSTFOLDER=/backup/*

#This is the folder you would like to backup to Synology
DESTFOLDER=&quot;/volume/ServerBackup/database/server-godzilla/&quot;

#We will be using rsync in synology, this will do the rync! 
/usr/syno/bin/rsync -avz -e &quot;ssh -p7777 -i $PRIVKEY&quot; takizo@godzilla.takizo.com:$HOSTFOLDER $DESTFOLDER</pre><p></p>
<p>Save the script above into your Synology backup folder which created earlier &#8220;/volume/ServerBackup/scripts/database.backup.sh&#8221; </p>
<p>Please take note that the remote folder is define by yourself. We are done with the script, it&#8217;s time to Execute it! </p>
<p><strong>Configure the Backup Script</strong></p>
<p>Due to it&#8217;s the first time access to the remote server, you need to manually run the script in shell to accept the SSH session. We are almost there. </p>
<p>SSH to Synology server </p>
<p></p><pre class="crayon-plain-tag">ssh -p2222 root@your_synology_ip
mydisk&gt; cd /volume/ServerBackup/scripts
mydisk&gt; ./database.backup.sh
The authenticity of host '[godzilla.takizo.com]:2222 ([123.456.123.111]:2222)' can't be established.
ECDSA key fingerprint is f7:9b:d6:92:7b:33.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[godzilla.takizo.com]:2222,[123.456.123.111]:2222' (ECDSA) to the list of known hosts.
receiving incremental file list
20150721122502.dbbackup.tar.gz

sent 42 bytes  received 18901016 bytes  1021678.81 bytes/sec
total size is 18997573  speedup is 1.01</pre><p></p>
<p>The important part for this action is this line</p>
<p></p><pre class="crayon-plain-tag">Warning: Permanently added '[godzilla.takizo.com]:2222,[123.456.123.111]:2222' (ECDSA) to the list of known hosts.</pre><p></p>
<p>This will add the host into /root/.ssh/known_hosts, when the script is run next time, it will not prompt the message again.</p>
<p><strong>Setup the Task on Synology</strong></p>
<p>Since the script is working perfectly fine. The last step is add it into Synology&#8217;s Task Schedule. </p>
<p>1. Go to &#8220;Control Panel&#8221; -> &#8220;Task Schedule&#8221;<br />
2. Create &#8220;User defined-script&#8221;<br />
3. Give a meaningful name for your &#8220;Task&#8221;<br />
4. User choose &#8220;root&#8221; or any user you prefer<br />
5. User-defined script: The script you created earlier inside Synology folder, &#8220;/volume/ServerBackup/scripts/database.backup.sh&#8221;<br />
6. Put up a schedule for this, how often it should run and at what time. </p>
<p>After the schedule has been created, try run it again and check is the files transfer into your Synology folder (if you don&#8217;t have new copy of file in the server, delete the files earlier being rsync into synology).</p>
<p>Yep, basically you have another copy of backup on synology! Enjoy backup more stuff from remote server <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>The post <a href="https://logs.paulooi.com/how-to-rsync-from-remote-server-to-synology.php">How to Rsync from Remote Server to Synology</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-rsync-from-remote-server-to-synology.php/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Are you a Programmer and Preparing for an Interview?</title>
		<link>https://logs.paulooi.com/are-you-a-programmer-and-preparing-for-an-interview.php</link>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Fri, 17 Jul 2015 22:12:57 +0000</pubDate>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[leetcode]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[whiteboard interview]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1754</guid>

					<description><![CDATA[<p>Are you a programmer and preparing for an upcoming interview? Are you preparing yourself well for upcoming interview when interviewer is throwing you some Coding Question? There is a site I found interesting, it&#8217;s called LeetCode LeetCode have list of...</p>
The post <a href="https://logs.paulooi.com/are-you-a-programmer-and-preparing-for-an-interview.php">Are you a Programmer and Preparing for an Interview?</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Are you a programmer and preparing for an upcoming interview? Are you preparing yourself well for upcoming interview when interviewer is throwing you some Coding Question? There is a site I found interesting, it&#8217;s called <a href="https://leetcode.com" target="_blank">LeetCode</a></p>
<p>LeetCode have list of programming interview question for programmer to run through, well it&#8217;s not necessary for programmer, it&#8217;s good for employer to give programming question to programmer if they want to test out the programmer&#8217;s thinking skills. </p>
<p>It&#8217;s a good way to prepare yourself for a <a href="https://www.quora.com/What-are-some-good-whiteboard-based-interview-questions-for-screening-engineering-talent-at-a-startup" target="_blank">Whiteboard Interview</a>, you can try to go through the coding test and give your some confident myth. </p>
<p>Good luck. </p>The post <a href="https://logs.paulooi.com/are-you-a-programmer-and-preparing-for-an-interview.php">Are you a Programmer and Preparing for an Interview?</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Sublime Text Editor &#8211; Package Control</title>
		<link>https://logs.paulooi.com/sublime-text-editor-package-control.php</link>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Thu, 16 Jul 2015 21:56:20 +0000</pubDate>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[sublime text]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1745</guid>

					<description><![CDATA[<p>Today I found an interesting package to install on Sublime Text, may be I did not pay much attention on the sublime text tutorial online, but this seems to be one of the &#8220;must install&#8221; package on Sublime Text; which...</p>
The post <a href="https://logs.paulooi.com/sublime-text-editor-package-control.php">Sublime Text Editor – Package Control</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Today I found an interesting package to install on Sublime Text, may be I did not pay much attention on the sublime text tutorial online, but this seems to be one of the &#8220;must install&#8221; package on Sublime Text; which is &#8220;<a href="https://packagecontrol.io/installation" target="_blank">Package Control</a>&#8221;</p>
<p>I am still using Sublime Text 2, Sublime Text 3 still in Beta version. To install Package Control;</p>
<p>1. Go to Sublime Text&#8217;s console. View -&gt; Show Console</p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console.png"><img loading="lazy" class="aligncenter size-medium wp-image-1746" src="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console-300x237.png" alt="sublime-text-show-console" width="300" height="237" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console-300x237.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console-1024x808.png 1024w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console.png 1240w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>2. Paste the line into the console as shown on &#8220;<a href="https://packagecontrol.io/installation" target="_blank">Package Control</a>&#8221; website. in my case it pasting this;</p>
<p></p><pre class="crayon-plain-tag">import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')</pre><p></p>
<p>It will looks like below and hit enter. </p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-300x31.png" alt="sublime-text-package-control" width="300" height="31" class="aligncenter size-medium wp-image-1747" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-300x31.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-1024x105.png 1024w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>After the installation has been done, try to install a package name BeautifyRuby.</p>
<p>1. Launch Package Control: Install Package by &#8220;AppleCommand + Shift + P&#8221; or in Windows &#8220;Ctrl + Shift + p&#8221;</p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install-300x166.png" alt="sublime-text-package-control-install" width="300" height="166" class="aligncenter size-medium wp-image-1749" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install-300x166.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install-1024x566.png 1024w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install.png 1046w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>2. Search for BeautifyRuby and hit enter to install </p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby-300x157.png" alt="sublime-text-package-control-beautify-ruby" width="300" height="157" class="aligncenter size-medium wp-image-1748" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby-300x157.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby-1024x536.png 1024w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby.png 1032w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>3. You may notice the status bar showing the installation status on the package. </p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation-300x91.png" alt="sublime-text-package-control-installation" width="300" height="91" class="aligncenter size-medium wp-image-1750" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation-300x91.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation.png 672w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>I am going to explore packages offer by Package Control in Sublime Text <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>The post <a href="https://logs.paulooi.com/sublime-text-editor-package-control.php">Sublime Text Editor – Package Control</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Interesting Services on Fiverr</title>
		<link>https://logs.paulooi.com/interesting-services-on-fiverr.php</link>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Mon, 01 Jun 2015 08:34:26 +0000</pubDate>
				<category><![CDATA[lost+found]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1721</guid>

					<description><![CDATA[<p>I recently came across a website name Fiverr, a platform to help you look for services like web development, mobile apps development, design, , video, music, jingle composing, writing &#038; many more services with the start of USD5. It&#8217;s like...</p>
The post <a href="https://logs.paulooi.com/interesting-services-on-fiverr.php">Interesting Services on Fiverr</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>I recently came across a website name <a href="https://www.fiverr.com" target="_blank">Fiverr</a>, a platform to help you look for services like web development, mobile apps development, design, , video, music, jingle composing, writing &#038; many more services with the start of USD5. </p>
<p>It&#8217;s like the USD5 bucks shop, Fiverr platform will find contractor provides you service that start USD5, or you can say USD5 as the minimal charge, catchy?</p>
<p>From browsing through the service, not all services can be completed at USD5. Some offer USD5/day, USD5/hour. Top up another USD5 to get a quicker deliver, add another USD5 to get extra hand to complete the work sooner. </p>
<p>It&#8217;s like an ala-carte menu, which I found interesting. Can browse and take a look on <a href="https://www.fiverr.com" target="_blank">Fiverr</a> website.</p>The post <a href="https://logs.paulooi.com/interesting-services-on-fiverr.php">Interesting Services on Fiverr</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Finally, a new Theme</title>
		<link>https://logs.paulooi.com/finally-a-new-theme.php</link>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Sun, 31 May 2015 17:43:05 +0000</pubDate>
				<category><![CDATA[lost+found]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1718</guid>

					<description><![CDATA[<p>Loaded a new theme for a new start. I&#8217;ve not been writing (I try not to use blogging) for a while, previously I write because of trying to make some small incoming from Google Adsense, and recently my 12 years...</p>
The post <a href="https://logs.paulooi.com/finally-a-new-theme.php">Finally, a new Theme</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Loaded a new theme for a new start. I&#8217;ve not been writing (I try not to use blogging) for a while, previously I write because of trying to make some small incoming from Google Adsense, and recently my 12 years old Google Adsense has been disabled by Googl. Why was it disabled? I am too kind to lend my account to a friend and Google found the website that hosted the adsense code on fraud click website. It&#8217;s a little disappointed the account has been disabled, mainly because the account has been opened since 12 years ago. I also read once it&#8217;s disabled it&#8217;s for life you are not allow to open/register an account with Google. </p>
<p>Well, I see it as a good sign, I don&#8217;t really use it to generate income since many years ago, the clicks I got almost 2 years unable to reach USD100 for payout <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Good as in I can write freely as I want, instead of taking care of the SEO&#8217;s friendliness criteria.  </p>
<p>Previously I am still using Kubrick theme, it was due to the laziness. Laziness to generate new relocate and generate adsense code. New theme, new start, reborn of the writing. </p>The post <a href="https://logs.paulooi.com/finally-a-new-theme.php">Finally, a new Theme</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Turn Laptop Screen Into External Monitor</title>
		<link>https://logs.paulooi.com/turn-laptop-screen-into-external-monitor.php</link>
					<comments>https://logs.paulooi.com/turn-laptop-screen-into-external-monitor.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Thu, 25 Sep 2014 01:14:20 +0000</pubDate>
				<category><![CDATA[lost+found]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1697</guid>

					<description><![CDATA[<p>Do you have an old laptop, and the LCD screen left it untouch and not sure what to do with it. Check out how this dude turn his laptop screen into external monitor, it&#8217;s cool isn&#8217;t it? For more photos...</p>
The post <a href="https://logs.paulooi.com/turn-laptop-screen-into-external-monitor.php">Turn Laptop Screen Into External Monitor</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Do you have an old laptop, and the LCD screen left it untouch and not sure what to do with it. Check out how this dude turn his laptop screen into external monitor, it&#8217;s cool isn&#8217;t it? </p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/09/a0UesaP.jpg"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2014/09/a0UesaP-300x199.jpg" alt="a0UesaP" width="300" height="199" class="aligncenter size-medium wp-image-1698" srcset="https://logs.paulooi.com/wp-content/uploads/2014/09/a0UesaP-300x199.jpg 300w, https://logs.paulooi.com/wp-content/uploads/2014/09/a0UesaP-1024x679.jpg 1024w, https://logs.paulooi.com/wp-content/uploads/2014/09/a0UesaP.jpg 1203w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/09/spUZOY6.jpg"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2014/09/spUZOY6-300x224.jpg" alt="spUZOY6" width="300" height="224" class="aligncenter size-medium wp-image-1699" srcset="https://logs.paulooi.com/wp-content/uploads/2014/09/spUZOY6-300x224.jpg 300w, https://logs.paulooi.com/wp-content/uploads/2014/09/spUZOY6-1024x767.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/09/BAKUG9u.jpg"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2014/09/BAKUG9u-300x225.jpg" alt="BAKUG9u" width="300" height="225" class="aligncenter size-medium wp-image-1700" srcset="https://logs.paulooi.com/wp-content/uploads/2014/09/BAKUG9u-300x225.jpg 300w, https://logs.paulooi.com/wp-content/uploads/2014/09/BAKUG9u.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>For more photos follow the <a href="http://imgur.com/a/Sqdeh#0" target="_blank">link here</a></p>The post <a href="https://logs.paulooi.com/turn-laptop-screen-into-external-monitor.php">Turn Laptop Screen Into External Monitor</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/turn-laptop-screen-into-external-monitor.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HTC One M7 USB Device Not Recognized</title>
		<link>https://logs.paulooi.com/htc-one-m7-usb-device-not-recognized.php</link>
					<comments>https://logs.paulooi.com/htc-one-m7-usb-device-not-recognized.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Sun, 22 Jun 2014 00:38:37 +0000</pubDate>
				<category><![CDATA[lost+found]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[HTC One]]></category>
		<category><![CDATA[M7]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Windows 7]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1682</guid>

					<description><![CDATA[<p>For the past few days, I&#8217;ve been searching solution to solve the &#8220;USB Device Not Recognized&#8221; error in Windows 6 64 bits with HTC One M7 phone; what really annoyed me is, the HTC One M7 connected in Mac OSX...</p>
The post <a href="https://logs.paulooi.com/htc-one-m7-usb-device-not-recognized.php">HTC One M7 USB Device Not Recognized</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>For the past few days, I&#8217;ve been searching solution to solve the &#8220;USB Device Not Recognized&#8221; error in Windows 6 64 bits with HTC One M7 phone; what really annoyed me is, the HTC One M7 connected in Mac OSX without any problem, we can do ADB devices or Fastboot command without any fail.</p>
<p>But, when the phone connected to Windows 7 machine, it said &#8220;USB Device Not Recognized&#8221;. After battling with restarting the machine, install and uninstall HTC Sync Manager Software, or HTC Phone driver.. It still not working as expected. I decided to leave it aside and do what I should do in OSX environment.</p>
<p>After fixing some issue on the phone, I still cannot accept the problem happened in Windows 7 machine (Being an engineer with the never give up hat), I decided to give another try and find out the problem; and the problem solved.</p>
<p>I never thought it could be the cable problem, because it worked well in Mac OSX. Until I couldn&#8217;t figure any solution, I tried change the USB cable&#8230; Boom! Problem solved.</p>
<p>How pathetic it&#8217;s? Spending so much time tangling with the software, but in the end is the cable problem. At least, it&#8217;s working now.</p>
<p>Uh&#8230; Why am I still using USB to connect? I was trying to unroot the phone. Will share the post on How to unroot HTC One M7 and make it looks like a &#8220;stock&#8221; phone.</p>
<p>Bloody Cable! or Maybe Windows problem <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-02.jpg"><img loading="lazy" class="aligncenter wp-image-1683 size-full" src="http://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-02.jpg" alt="HTC.USB.Not.Recognized-02" width="1023" height="709" srcset="https://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-02.jpg 1023w, https://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-02-300x207.jpg 300w" sizes="(max-width: 1023px) 100vw, 1023px" /></a> </p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-01.jpg"><img loading="lazy" class="aligncenter wp-image-1684 size-full" src="http://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-01.jpg" alt="HTC.USB.Not.Recognized-01" width="630" height="76" srcset="https://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-01.jpg 630w, https://logs.paulooi.com/wp-content/uploads/2014/06/HTC.USB_.Not_.Recognized-01-300x36.jpg 300w" sizes="(max-width: 630px) 100vw, 630px" /></a></p>The post <a href="https://logs.paulooi.com/htc-one-m7-usb-device-not-recognized.php">HTC One M7 USB Device Not Recognized</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/htc-one-m7-usb-device-not-recognized.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Stream Spotify Desktop with Rocki</title>
		<link>https://logs.paulooi.com/how-to-stream-spotify-desktop-with-rocki.php</link>
					<comments>https://logs.paulooi.com/how-to-stream-spotify-desktop-with-rocki.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Thu, 27 Mar 2014 13:05:30 +0000</pubDate>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[My Rocki]]></category>
		<category><![CDATA[Rocki]]></category>
		<category><![CDATA[Streaming]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1668</guid>

					<description><![CDATA[<p>Just received MyRocki, hot from the oven and I am proud of backing this project on Kickstarter. Was wondering how to stream the music from Spotify Desktop on Mac, didn&#8217;t realize that you can select Output from sound setting. Hold...</p>
The post <a href="https://logs.paulooi.com/how-to-stream-spotify-desktop-with-rocki.php">How to Stream Spotify Desktop with Rocki</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Just received <a title="MyRocki" href="http://www.myrocki.com/">MyRocki</a>, hot from the oven and I am proud of backing this project on Kickstarter. Was wondering how to stream the music from Spotify Desktop on Mac, didn&#8217;t realize that you can select Output from sound setting.</p>
<p>Hold the &#8220;Option&#8221; key on your Mac and click on the &#8220;Speaker&#8221; icon on top on the windows.</p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/03/rocki.stream.speaker.icon_.png"><img loading="lazy" class="aligncenter size-full wp-image-1669" alt="rocki.stream.speaker.icon" src="http://logs.paulooi.com/wp-content/uploads/2014/03/rocki.stream.speaker.icon_.png" width="203" height="247" /></a></p>
<p>If the &#8220;Speaker&#8221; icon is not available on top of the windows, you can find it at &#8220;System Preferences&#8221;</p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/03/system.preference.sound_.02.png"><img loading="lazy" class="aligncenter size-full wp-image-1672" alt="system.preference.sound.02" src="http://logs.paulooi.com/wp-content/uploads/2014/03/system.preference.sound_.02.png" width="241" height="139" /></a></p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/03/system.preference.sound_.01.png"><img loading="lazy" class="aligncenter size-full wp-image-1673" alt="system.preference.sound.01" src="http://logs.paulooi.com/wp-content/uploads/2014/03/system.preference.sound_.01.png" width="515" height="149" /></a></p>
<p>I think I don&#8217;t have to mention how to stream it via iOS device like iPhone and iPad. Once Rocki is setup you will be able to see the stream options for selection.</p>The post <a href="https://logs.paulooi.com/how-to-stream-spotify-desktop-with-rocki.php">How to Stream Spotify Desktop with Rocki</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-stream-spotify-desktop-with-rocki.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Disallow or Rate Limit Web Server Mail in Exim</title>
		<link>https://logs.paulooi.com/how-to-disallow-or-rate-limit-web-server-mail-in-exim.php</link>
					<comments>https://logs.paulooi.com/how-to-disallow-or-rate-limit-web-server-mail-in-exim.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Tue, 25 Mar 2014 09:49:58 +0000</pubDate>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[mail server]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1666</guid>

					<description><![CDATA[<p>Recently one of the apache webserver&#8217;s vhost was compromise and allow spammer to use the script to perform massive outgoing email spam. As usual, due to un-patch WordPress&#8217;s engine from a user on the web server. Ended up the &#8220;hacker&#8221;...</p>
The post <a href="https://logs.paulooi.com/how-to-disallow-or-rate-limit-web-server-mail-in-exim.php">How to Disallow or Rate Limit Web Server Mail in Exim</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Recently one of the apache webserver&#8217;s vhost was compromise and allow spammer to use the script to perform massive outgoing email spam. As usual, due to un-patch WordPress&#8217;s engine from a user on the web server. Ended up the &#8220;hacker&#8221; been using the PHP&#8217;s mail() function sending a massive 100k++ outgoing email to email provider such as yahoo mail and gmail. <span id="more-1666"></span></p>
<p>There were a lot email queue in Exim&#8217;s queue, due to the blockage from recipient server. Unfortunately WordPress doesn&#8217;t have SMTP setting for outgoing email notification, it has to rely on third party plugins. </p>
<p>Here is what we implement on SMTP MTA to deny/rate limit outgoing from PHP&#8217;s mail() function. </p>
<p>On Exim config file, before hitting ACL configuration, place this config for non-smtp setting</p>
<p></p><pre class="crayon-plain-tag">acl_not_smtp = acl_check_not_smtp</pre><p></p>
<p>After &#8220;begin acl&#8221; section, place this config </p>
<p></p><pre class="crayon-plain-tag">acl_check_not_smtp:

  deny
        senders = www@domain.com
        message = sorry server is offline

  deny
        ratelimit = 20 / 1h / strict / $sender_address_domain
        senders = *@domain.com
        message = sorry server is offline

  accept</pre><p></p>
<p>The first rule is totally deny anything from apache&#8217;s vhost. It means non of the apache&#8217;s vhost can send outgoing email with PHP mail() function. If you are not comfortable with this. Can try on the second rules, which is rate limit the outgoing email, which can help to eliminate the massive outgoing email happened on apache web server UID. </p>
<p>Have fun controlling and fight with the spam <img src="https://s.w.org/images/core/emoji/13.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>The post <a href="https://logs.paulooi.com/how-to-disallow-or-rate-limit-web-server-mail-in-exim.php">How to Disallow or Rate Limit Web Server Mail in Exim</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-disallow-or-rate-limit-web-server-mail-in-exim.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is mdworker Working On Right Now</title>
		<link>https://logs.paulooi.com/what-is-mdworker-working-on-right-now.php</link>
					<comments>https://logs.paulooi.com/what-is-mdworker-working-on-right-now.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Thu, 20 Mar 2014 00:33:48 +0000</pubDate>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Mavericks]]></category>
		<category><![CDATA[mds_stores]]></category>
		<category><![CDATA[mdworker]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Spotlight]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1662</guid>

					<description><![CDATA[<p>I just did a clean install of OSX Mavericks, after migrated important via Migration Assistant, the mdworker on OSX Mavericks is busy indexing stuff. You will see a bunch of mdworker(s) doing their work in Activity Monitor If you want...</p>
The post <a href="https://logs.paulooi.com/what-is-mdworker-working-on-right-now.php">What is mdworker Working On Right Now</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>I just did a clean install of OSX Mavericks, after migrated important via Migration Assistant, the mdworker on OSX Mavericks is busy indexing stuff. </p>
<p>You will see a bunch of mdworker(s) doing their work in Activity Monitor</p>
<p><a href="http://logs.paulooi.com/wp-content/uploads/2014/03/Screen-Shot-2014-03-20-at-12.29.30-AM.png"><img loading="lazy" src="http://logs.paulooi.com/wp-content/uploads/2014/03/Screen-Shot-2014-03-20-at-12.29.30-AM-300x61.png" alt="Screen Shot 2014-03-20 at 12.29.30 AM" width="300" height="61" class="aligncenter size-medium wp-image-1663" srcset="https://logs.paulooi.com/wp-content/uploads/2014/03/Screen-Shot-2014-03-20-at-12.29.30-AM-300x61.png 300w, https://logs.paulooi.com/wp-content/uploads/2014/03/Screen-Shot-2014-03-20-at-12.29.30-AM.png 651w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>If you want to find out what are mdworker(s) working on, can try this command in the terminal </p>
<p></p><pre class="crayon-plain-tag">$ sudo fs_usage -w -f filesys mdworker</pre><p></p>
<p>If you found out there are folders you don&#8217;t want Spotlight to index, can add it into Privacy tab on Spotlight&#8217;s preference. </p>
<p>Enjoy! </p>The post <a href="https://logs.paulooi.com/what-is-mdworker-working-on-right-now.php">What is mdworker Working On Right Now</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/what-is-mdworker-working-on-right-now.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
