<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1359526885905282890</id><updated>2025-08-30T17:03:58.570+10:00</updated><category term="technology"/><category term="Ubuntu"/><category term="Linux"/><category term="tool"/><category term="Ubuntu 11.04"/><category term="programming"/><category term="Mac OS X Lion 10.7.5"/><category term="Ubuntu 10.10"/><category term="Ubuntu 11.10"/><category term="browser"/><category term="iOS"/><category term="Objective-C"/><category term=".Net"/><category term="Mono"/><category term="Unity"/><category term="Windows"/><category term="Java"/><category term="PHP"/><category term="database"/><category term="networking"/><category term="virtualization"/><category term="Android"/><category term="Chrome 27.0"/><category term="CoreData"/><category term="Eclipse"/><category term="Eclipse 4.2"/><category term="Force.com"/><category term="Google Maps"/><category term="Kotlin"/><category term="LibreOffice 4.0.3"/><category term="Mac OS X Lion 10.7"/><category term="NetBeans"/><category term="PostgreSQL"/><category term="Salesforce"/><category term="VirtualBox"/><category term="Visual Studio"/><category term="Xamarin Studio 4.0"/><category term="Xcode"/><category term="buddhism"/><category term="havefun"/><category term="health"/><category term="iPhone"/><category term="macOS"/><category term="meditation"/><category term="mobile app development"/><title type='text'>Xmemory</title><subtitle type='html'>where my memory can be eXtended</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>73</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-1117456173466142276</id><published>2017-01-18T21:05:00.000+11:00</published><updated>2017-01-18T21:05:59.626+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="macOS"/><category scheme="http://www.blogger.com/atom/ns#" term="networking"/><category scheme="http://www.blogger.com/atom/ns#" term="technology"/><title type='text'>Wireshark - The capture could not be initiated (You don&#39;t have permissiont o capture on that device).</title><content type='html'>&lt;br /&gt;
It seems Wireshark installer fails to set up permissions.&lt;br /&gt;
&lt;br /&gt;
To fix it, run this manually:-&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;chgrp access_bpf /dev/bpf*&lt;br /&gt;chmod g+rw /dev/bpf*&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Make sure the user is in the &quot;access_bpf&quot; group.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;https://josephhall.org/nqb2/index.php/wrshrkinstll&quot;&gt;https://josephhall.org/nqb2/index.php/wrshrkinstll&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://apple.stackexchange.com/questions/138694/what-is-access-bpf-group&quot;&gt;http://apple.stackexchange.com/questions/138694/what-is-access-bpf-group&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/1117456173466142276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2017/01/wireshark-capture-could-not-be.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/1117456173466142276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/1117456173466142276'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2017/01/wireshark-capture-could-not-be.html' title='Wireshark - The capture could not be initiated (You don&#39;t have permissiont o capture on that device).'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-3421381394956689516</id><published>2016-02-01T23:41:00.001+11:00</published><updated>2016-02-01T23:43:03.005+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="havefun"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Kotlin"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile app development"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="technology"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>Have fun with cross platform mobile development</title><content type='html'>A short presentation about a sample cross platform mobile project called TumChatter for both Android and iOS.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;150&quot; src=&quot;https://www.youtube.com/embed/BaRPFXh8xlU&quot; width=&quot;200&quot;&gt;&lt;/iframe&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can find the project on github at the link below:-&lt;br /&gt;
&lt;a href=&quot;https://github.com/have-fun/TumChatter&quot;&gt;https://github.com/have-fun/TumChatter&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Programming Language:&lt;/b&gt; Kotlin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Frameworks:&lt;/b&gt; Java, RoboVM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Dependency Injection:&lt;/b&gt; Dagger 2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Json:&lt;/b&gt; Gson&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;REST Client:&lt;/b&gt; Retrofit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Reactive Libraries:&lt;/b&gt; RxKotlin, RxJava&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Unit Testing:&lt;/b&gt; Spek (Specification Framework), AssertJ, Mockito&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Embedded Server:&lt;/b&gt; TumWeb, Nanohttpd&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;Android UI Binding:&lt;/b&gt; KotterKnife, ButterKnife&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/3421381394956689516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2016/02/have-fun-with-cross-platform-mobile.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/3421381394956689516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/3421381394956689516'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2016/02/have-fun-with-cross-platform-mobile.html' title='Have fun with cross platform mobile development'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/BaRPFXh8xlU/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-3844739437690799811</id><published>2014-04-01T13:22:00.000+11:00</published><updated>2014-04-03T17:13:55.164+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Create an array</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;  NSArray&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*array&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[NSArray&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;arrayWithObjects:&lt;/span&gt;@&quot;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;One&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;, [NSNumber numberWithInt:1], nil];&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
Or use literal array expression:-&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;  NSArray&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*array&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt;@&lt;span style=&quot;color: #d0d0d0;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;@&quot;One&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[NSNumber&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;numberWithInt:&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;]&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;];&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
Use NSNumber to add boolean or integer values to an array, or prefix a boolean value with ‘@&#39;:-&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;  NSArray&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*array&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; @&lt;span style=&quot;color: #d0d0d0;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[NSNumber&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;numberWithInt:&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;],&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[NSNumber&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;numberWithBool:&lt;/span&gt;&lt;span style=&quot;color: #24909d;&quot;&gt;YES&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;],&lt;/span&gt; @&lt;span style=&quot;color: #24909d;&quot;&gt;NO&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;];&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
Otherwise we will get an error like this:-&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Collection element of type ‘NSInteger’ (aka ‘int’) is not an Objective-C object&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Use NSNull to add a nil equivalent value to an array:-&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSArray&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*array&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; @&lt;span style=&quot;color: #d0d0d0;&quot;&gt;[&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;@&quot;a&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[NSNull&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;null],&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;@&quot;b&quot;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;];&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/1602572/how-to-create-an-array-of-strings-in-objective-c-for-iphone&quot;&gt;http://stackoverflow.com/questions/1602572/how-to-create-an-array-of-strings-in-objective-c-for-iphone&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://clang.llvm.org/docs/ObjectiveCLiterals.html&quot;&gt;http://clang.llvm.org/docs/ObjectiveCLiterals.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/1309535/why-does-nsarray-arraywithobjects-require-a-terminating-nil&quot;&gt;http://stackoverflow.com/questions/1309535/why-does-nsarray-arraywithobjects-require-a-terminating-nil&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/2057910/how-to-add-nil-to-nsmutablearray&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://stackoverflow.com/questions/2057910/how-to-add-nil-to-nsmutablearray&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/3844739437690799811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2014/04/create-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/3844739437690799811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/3844739437690799811'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2014/04/create-array.html' title='Create an array'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-2364411693193268468</id><published>2014-03-29T18:10:00.001+11:00</published><updated>2014-04-07T17:31:04.387+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CoreData"/><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Managed Object ID</title><content type='html'>&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Get the string URL representation from a ManagedObjectID&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1
2&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSURL&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*urlID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[objectID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;URIRepresentation];&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSString&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*strUrlID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[urlID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;absoluteString];&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;br /&gt;
&lt;li&gt;Get the ManagedObjectID from a URL string&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1
2&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSURL&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*urlID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[[NSURL&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;alloc]&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;initWithString:strUrlID];&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSManagedObjectID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*objectID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[[managedObjectContext&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;persistentStoreCoordinator]&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;managedObjectIDForURIRepresentation:urlID];&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;br /&gt;
&lt;li&gt;Get the ManagedObject by a ManagedObjectID&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1
2&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSError&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*error&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;nil&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSManagedObject&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*managedObject&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[moc&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;existingObjectWithID:objectID&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;error:&amp;amp;error];&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Check if a ManagedObject is new&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- HTML generated using hilite.me --&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;BOOL&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;isNew&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;managedObject.objectID.isTemporaryID;&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Get the permanent object IDs for the objects in a child context.&lt;/li&gt;
&lt;/ul&gt;

&lt;!-- HTML generated using hilite.me --&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1
2
3
4
5
6
7
8&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSError&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;*error&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;nil&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[childManagedObjectContext&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;obtainPermanentIDsForObjects:childManagedObjectContext.insertedObjects.allObjects&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;error:&amp;amp;error]);&lt;/span&gt;

  &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// . . . Check for an error . . .&lt;/span&gt;

  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[childManagedObjectContext&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;save:&amp;amp;error];&lt;/span&gt;

  &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// . . . Check for an error . . .&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/3519334/how-to-uniquely-identify-nsmangedobject-with-string&quot;&gt;http://stackoverflow.com/questions/3519334/how-to-uniquely-identify-nsmangedobject-with-string&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/10811280/how-to-get-the-objectid-from-url&quot;&gt;http://stackoverflow.com/questions/10811280/how-to-get-the-objectid-from-url&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/3013288/how-to-use-managedobjectid-the-right-way&quot;&gt;http://stackoverflow.com/questions/3013288/how-to-use-managedobjectid-the-right-way&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://iphonedevelopment.blogspot.com.au/2009/07/core-data-determining-if-managed-object.html&quot;&gt;http://iphonedevelopment.blogspot.com.au/2009/07/core-data-determining-if-managed-object.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/11990279/core-data-do-child-contexts-ever-get-permanent-objectids-for-newly-inserted-obj/11996957#11996957&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://stackoverflow.com/questions/11990279/core-data-do-child-contexts-ever-get-permanent-objectids-for-newly-inserted-obj/11996957#11996957&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/2364411693193268468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2014/03/managed-object-id.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2364411693193268468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2364411693193268468'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2014/03/managed-object-id.html' title='Managed Object ID'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-420371857481233777</id><published>2014-03-27T17:49:00.001+11:00</published><updated>2014-03-27T17:49:41.251+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Compare NSDate instances</title><content type='html'>&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSComparisonResult&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;result&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[date1&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;compare:date2];&lt;/span&gt;  
  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(result&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSOrderedAscending)&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// date1 &amp;lt; date2&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(result&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;NSOrderedDescending)&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// date1 &amp;gt; date2&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// date1 == date2&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;([date1&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;timeIntervalSinceReferenceDate]&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;&amp;lt;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[date2&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;timeIntervalSinceReferenceDate])&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// date1 &amp;lt; date2&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;([date1&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;timeIntervalSinceReferenceDate]&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;[date2&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;timeIntervalSinceReferenceDate])&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// date1 &amp;gt; date2&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
  &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;// date1 == date2&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs
&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/5965044/how-to-compare-two-nsdates-which-is-more-recent&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://stackoverflow.com/questions/5965044/how-to-compare-two-nsdates-which-is-more-recent&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/420371857481233777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2014/03/compare-nsdate-instances.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/420371857481233777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/420371857481233777'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2014/03/compare-nsdate-instances.html' title='Compare NSDate instances'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-1522612562192528052</id><published>2014-03-27T16:59:00.001+11:00</published><updated>2014-03-27T16:59:12.912+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Objective-C"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="Xcode"/><title type='text'>lldb Error - no known method &#39;-class&#39;; cast the message send to the method&#39;s return type</title><content type='html'>&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;p [[navigationController topViewController] class]&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
returns&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;error: no known method &#39;-class&#39;; cast the message send to the method&#39;s return type&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
To fix it, cast it first:-&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;p [(NSObject *) [navigationController topViewController] class]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/14007942/lldb-error-property-not-found-on-object-of-type&quot;&gt;http://stackoverflow.com/questions/14007942/lldb-error-property-not-found-on-object-of-type&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/1522612562192528052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2014/03/lldb-error-no-known-method-class-cast.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/1522612562192528052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/1522612562192528052'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2014/03/lldb-error-no-known-method-class-cast.html' title='lldb Error - no known method &#39;-class&#39;; cast the message send to the method&#39;s return type'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-2587692678278475340</id><published>2013-11-25T17:16:00.000+11:00</published><updated>2013-11-25T17:16:15.144+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><category scheme="http://www.blogger.com/atom/ns#" term="PostgreSQL"/><category scheme="http://www.blogger.com/atom/ns#" term="technology"/><title type='text'>Start/Stop PostgreSQL on Mac</title><content type='html'>Start PostgreSQL:-&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;sudo -u postgres /Library/PostgreSQL/9.3/bin/pg_ctl -D /Library/PostgreSQL/9.3/data start&lt;/span&gt;&lt;/blockquote&gt;
Stop PostgreSQL:-&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;sudo -u postgres /Library/PostgreSQL/9.3/bin/pg_ctl -D /Library/PostgreSQL/9.3/data stop&lt;/span&gt;&lt;/blockquote&gt;
Stop PostgreSQL from auto-starting on reboot:-&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;sudo launchctl unload -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist&lt;/span&gt;&amp;nbsp;
&lt;/blockquote&gt;
Make PostgreSQL auto-start on reboot:-&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;sudo launchctl load -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist&lt;/span&gt;&amp;nbsp;
&lt;/blockquote&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://www.xtuple.org/faq/xtuple-faq/postgresql/how-do-i-stop-postgresql-service-mac&quot;&gt;http://www.xtuple.org/faq/xtuple-faq/postgresql/how-do-i-stop-postgresql-service-mac&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://gist.github.com/abhishekdev/1960888&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://gist.github.com/abhishekdev/1960888&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/2587692678278475340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/11/startstop-postgresql-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2587692678278475340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2587692678278475340'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/11/startstop-postgresql-on-mac.html' title='Start/Stop PostgreSQL on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-7044360270042089629</id><published>2013-08-17T01:16:00.001+10:00</published><updated>2013-08-17T01:18:26.647+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><category scheme="http://www.blogger.com/atom/ns#" term="Mono"/><title type='text'>Run Tomboy with Mono 3.2 on Mac</title><content type='html'>Compiling it from scratch based on &lt;a href=&quot;http://xmemory.tompium.com/2012/06/running-tomboy-note-taking-app-on-mac.html&quot;&gt;http://xmemory.tompium.com/2012/06/running-tomboy-note-taking-app-on-mac.html&lt;/a&gt; doesn&#39;t work anymore. Here are the additional instructions:-&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;After getting the latest version of Tomboy (1.15.3), &amp;nbsp;replace &quot;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;flush(true)&lt;/span&gt;&quot; with &quot;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;flush()&lt;/span&gt;&quot; in &lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Note.cs&lt;/span&gt; to fix a compile error. Not sure why the compiler complained about this line. Anyway, using just &quot;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;flush()&lt;/span&gt;&quot; fixes the problem but it may not write everything to disk straight away.&lt;/li&gt;
&lt;li&gt;After building Tomboy, running it caused an exception:-&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Missing method System.Reflection.Assembly::op_Equality(Assembly,Assembly)&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
To fix it, modify a script file called &lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Tomboy&lt;/span&gt; in &lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Tomboy.app -&amp;gt; Contents/MacOS/Tomboy&lt;/span&gt; by changing the last line to&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt; exec -a &quot;Tomboy&quot; &quot;$MONO&quot; &lt;b&gt;--runtime=v4.0&lt;/b&gt; --debug $ASSEMBLY $@&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt; Refs&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/mono/+bug/882501&quot; target=&quot;_blank&quot;&gt; https://bugs.launchpad.net/ubuntu/+source/mono/+bug/882501&lt;/a&gt; &lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://xmemory.tompium.com/2012/06/running-tomboy-note-taking-app-on-mac.html&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://xmemory.tompium.com/2012/06/running-tomboy-note-taking-app-on-mac.html&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/7044360270042089629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/08/run-tomboy-with-mono-32-on-mac.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/7044360270042089629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/7044360270042089629'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/08/run-tomboy-with-mono-32-on-mac.html' title='Run Tomboy with Mono 3.2 on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-4427091064389390213</id><published>2013-08-13T10:45:00.001+10:00</published><updated>2013-08-13T10:46:32.933+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google Maps"/><title type='text'>Offline Maps on New Google Maps for iOS (v2) and Android (v7)</title><content type='html'>&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;To download an area on the map, type&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;ok maps&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;in the search box.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;To clear the cached map, go to&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;Settings -&amp;gt; About, terms &amp;amp; privacy -&amp;gt; Terms &amp;amp; privacy&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;and select&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Clear application data&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;http://www.idownloadblog.com/2013/07/17/offline-maps-in-google-maps-2/&quot;&gt;http://www.idownloadblog.com/2013/07/17/offline-maps-in-google-maps-2/&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/4427091064389390213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/08/offline-maps-on-new-google-maps-for-ios.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/4427091064389390213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/4427091064389390213'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/08/offline-maps-on-new-google-maps-for-ios.html' title='Offline Maps on New Google Maps for iOS (v2) and Android (v7)'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-3203664470091049130</id><published>2013-08-11T10:42:00.000+10:00</published><updated>2013-08-13T10:47:20.518+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><category scheme="http://www.blogger.com/atom/ns#" term="Mono"/><category scheme="http://www.blogger.com/atom/ns#" term="Xamarin Studio 4.0"/><title type='text'>System.Object is not defined or imported when building PCL project in Xamarin Studio 4.0.12</title><content type='html'>&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;There&#39;re also a bunch of similar errors:-&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;: error CS0518: The predefined type `System.Object&#39; is not defined or imported&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;: error CS0518: The predefined type `System.ValueType&#39; is not defined or imported&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;: error CS0518: The predefined type `System.Attribute&#39; is not defined or imported&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;: error CS0518: The predefined type `System.Int32&#39; is not defined or imported&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;: error CS0518: The predefined type `System.UInt32&#39; is not defined or imported&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 13px;&quot;&gt;. . .&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;To fix this, go to &lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;References -&amp;gt; Edit References -&amp;gt; .Net Assembly&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt; then add&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;mscorlib.dll&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt; from &lt;/span&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/Library/Frameworks/Mono.framework/Libraries/mono/4.5&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;br /&gt;&lt;a href=&quot;https://bugzilla.xamarin.com/show_bug.cgi?id=12845&quot;&gt;https://bugzilla.xamarin.com/show_bug.cgi?id=12845&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/3203664470091049130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/08/systemobject-is-not-defined-or-imported.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/3203664470091049130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/3203664470091049130'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/08/systemobject-is-not-defined-or-imported.html' title='System.Object is not defined or imported when building PCL project in Xamarin Studio 4.0.12'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-4543032423641126128</id><published>2013-06-28T12:26:00.000+10:00</published><updated>2013-06-28T13:19:44.334+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Enable Xdebug in MAMP</title><content type='html'>&lt;div class=&quot;p1&quot;&gt;
Uncomment the &lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;zend_extension&lt;/span&gt;&lt;/span&gt; line and modify the &lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/Applications/MAMP/bin/php/php5.x/conf/php.ini&lt;/span&gt;&lt;/span&gt; file to look like this:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;[xdebug]&lt;br /&gt;zend_extension=&quot;/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so&quot;&lt;br /&gt;xdebug.remote_enable=1&lt;br /&gt;xdebug.remote_host=localhost&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;; On my machine, the default port 9000 has already been taken by something else.&lt;br /&gt;xdebug.remote_port=9099&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;; Recommended when using Symfony&lt;br /&gt;xdebug.max_nesting_level=250&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;Then restart the servers in MAMP.&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://danpolant.com/want-to-run-xdebug-mamp-is-the-easiest-way/&quot;&gt;http://danpolant.com/want-to-run-xdebug-mamp-is-the-easiest-way/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://xdebug.org/docs/all_settings&quot;&gt;http://xdebug.org/docs/all_settings&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/4543032423641126128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/06/enable-xdebug-in-mamp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/4543032423641126128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/4543032423641126128'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/06/enable-xdebug-in-mamp.html' title='Enable Xdebug in MAMP'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-4184189970282878062</id><published>2013-06-28T11:14:00.000+10:00</published><updated>2013-06-28T12:31:55.875+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><title type='text'>Show print history on Mac</title><content type='html'>&lt;div class=&quot;p1&quot;&gt;
When I opened the web based CUPS admin interface to show print history:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;a href=&quot;http://localhost:631/jobs?which_jobs=completed&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;http://localhost:631/jobs?which_jobs=completed&lt;/span&gt;&lt;/a&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p2&quot;&gt;
I got the &quot;Internal Server Error&quot; message.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
To fix it, I used the following commands&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo cupsctl --debug-logging&lt;br /&gt;sudo cupsctl --no-debug-logging&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://osxdaily.com/2011/01/20/show-print-history-mac/&quot;&gt;http://osxdaily.com/2011/01/20/show-print-history-mac/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;a href=&quot;https://discussions.apple.com/thread/3510277?start=0&amp;amp;tstart=0&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://discussions.apple.com/thread/3510277?start=0&amp;amp;tstart=0&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/4184189970282878062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/06/show-print-history-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/4184189970282878062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/4184189970282878062'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/06/show-print-history-on-mac.html' title='Show print history on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-983804026144855652</id><published>2013-06-26T14:06:00.000+10:00</published><updated>2013-06-26T14:13:10.040+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Custom php.ini on shared hosting</title><content type='html'>&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Find the default php.ini path. Mine is&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/usr/local/lib/php.ini&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;lt;?php&amp;nbsp;phpinfo() ?&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Copy the default php.ini to the user&#39;s home folder and customise it.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;lt;?php&amp;nbsp;copy(&quot;/usr/local/lib/php.ini&quot;, &quot;/home/username/php.ini&quot;)&amp;nbsp;?&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Create a .htaccess file in the user&#39;s home folder with the following content.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;SetEnv PHPRC /home/username/php.ini&lt;br /&gt;# The following lines are important if the php.ini file is put in the document root.&lt;br /&gt;&amp;lt;Files php.ini&amp;gt;&lt;br /&gt;order allow,deny&lt;br /&gt;deny from all&lt;br /&gt;&amp;lt;/Files&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;a href=&quot;http://php.net/manual/en/function.copy.php&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://php.net/manual/en/function.copy.php&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;s1&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://jesin.tk/using-custom-php-ini-files-on-shared-hosting/&quot;&gt;http://jesin.tk/using-custom-php-ini-files-on-shared-hosting/&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;a href=&quot;https://drupal.org/node/290592&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://drupal.org/node/290592&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/983804026144855652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/06/custom-phpini-on-shared-hosting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/983804026144855652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/983804026144855652'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/06/custom-phpini-on-shared-hosting.html' title='Custom php.ini on shared hosting'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-8481170007713957098</id><published>2013-06-24T01:03:00.000+10:00</published><updated>2013-06-26T14:08:42.602+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><title type='text'>List processes and ports on Mac</title><content type='html'>&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Show listening ports&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;lsof -i -nP | grep LISTEN&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;or with all processes&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;sudo lsof -i -nP | grep LISTEN&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Show ports with any state, e.g. ESTABLISHED, CLOSE_WAIT, CLOSED, LISTEN&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo&amp;nbsp;lsof -i -nP | grep TCP&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;or&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo lsof -i -nP | grep UDP&lt;/span&gt;&lt;/blockquote&gt;
&lt;b&gt;Switches&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-i select IPv[46] files&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-n no host names&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;-P no port names&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit; font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://hints.macworld.com/article.php?story=20070425165628961&quot;&gt;http://hints.macworld.com/article.php?story=20070425165628961&lt;/a&gt;&lt;/span&gt;&lt;ul&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/8481170007713957098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/06/list-processes-and-ports-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/8481170007713957098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/8481170007713957098'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/06/list-processes-and-ports-on-mac.html' title='List processes and ports on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-8875872737950910375</id><published>2013-06-14T18:05:00.000+10:00</published><updated>2013-06-14T18:10:26.839+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><title type='text'>The system is running in low-graphics mode after upgrading the VirtualBox Guest additions to 4.2.12</title><content type='html'>&lt;div class=&quot;p1&quot;&gt;
I tried switching to use gdm instead of lightdm to see whether it could help but it didn&#39;t so I rolled back to v4.2.10 while waiting for v4.2.13 which was reported that this problem has been fixed.&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Rebooted the machine in recovery mode in the Grub menu by,&amp;nbsp;while booting:-&amp;nbsp;&lt;/li&gt;
&lt;ul class=&quot;ul2&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Pressing ESC, or&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;Holding down the Shift key (this works better for me).&lt;/li&gt;
&lt;/ul&gt;
&lt;li class=&quot;li1&quot;&gt;Uninstalled the VirtualBox Guest additions&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /opt/VBoxGuestAdditions-4.2.12&lt;br /&gt;./uninstall.sh&lt;br /&gt;reboot&lt;span class=&quot;s1&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;After reboot, the screen was black. Here is what I did to fix this,&lt;/li&gt;
&lt;ul class=&quot;ul2&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;Pressed Cmd + F1 (or Alt + F1, don&#39;t know why Ctrl isn&#39;t needed on my machine) to switch to tty1.&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;Made LigthDM the default display manager&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo dpkg-reconfigure lightdm&lt;br /&gt;sudo reboot&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But it didn&#39;t work. It turned out that I also had to modify&amp;nbsp;&lt;span class=&quot;s2&quot;&gt;/etc/X11/default-display-manager&lt;/span&gt; to have the full path to lightdm like this.&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;/usr/sbin/lightdm&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
Then rebooted,&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo reboot&lt;/span&gt;&lt;/blockquote&gt;
After that, I could continue installing the VirtualBox Guest additions v4.2.10 and now everything is back to normal.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;a href=&quot;https://www.virtualbox.org/ticket/11709&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://www.virtualbox.org/ticket/11709&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1186984&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://ubuntuforums.org/showthread.php?t=1186984&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;a href=&quot;http://askubuntu.com/questions/172319/how-can-i-start-in-safe-mode&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://askubuntu.com/questions/172319/how-can-i-start-in-safe-mode&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;a href=&quot;https://wiki.ubuntu.com/LightDM&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://wiki.ubuntu.com/LightDM&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;s3&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://askubuntu.com/questions/74551/lightdm-not-starting-on-boot&quot;&gt;http://askubuntu.com/questions/74551/lightdm-not-starting-on-boot&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/8875872737950910375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/06/the-system-is-running-in-low-graphics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/8875872737950910375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/8875872737950910375'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/06/the-system-is-running-in-low-graphics.html' title='The system is running in low-graphics mode after upgrading the VirtualBox Guest additions to 4.2.12'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-7371598453237098410</id><published>2013-06-01T12:43:00.001+10:00</published><updated>2013-06-26T14:10:23.254+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>Install httrack using brew on Mac</title><content type='html'>&lt;div class=&quot;p1&quot;&gt;
Typed&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;brew install httrack&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
Then I got:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;==&amp;gt; Downloading &lt;a href=&quot;http://download.httrack.com/httrack-3.46.1.tar.gz&quot;&gt;&lt;span class=&quot;s3&quot;&gt;http://download.httrack.com/httrack-3.46.1.tar.gz&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;Already downloaded: /Library/Caches/Homebrew/httrack-3.46.1.tar.gz&lt;br /&gt;Error: SHA1 mismatch&lt;br /&gt;Expected: be6328d2ff3cbabd21426b7acc54edcf1ebb76e0&lt;br /&gt;Actual: 237fca7a9c5c63b53c5d0134dac6e5714422384c&lt;br /&gt;Archive: /Library/Caches/Homebrew/httrack-3.46.1.tar.gz&lt;br /&gt;(To retry an incomplete download, remove the file above.)&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
So I did:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;brew update&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
Then I got:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;error: The following untracked working tree files would be overwritten by merge:&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Library/Formula/libmusicbrainz.rb&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Please move or remove them before you can merge.&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Aborting&lt;/span&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
To fix it, I did:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;cd /usr/local&lt;br /&gt;git fetch origin&lt;br /&gt;git reset --hard origin/master&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
After that, I could run &quot;brew update&quot; and &quot;brew install httrack&quot; again with no problem.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;a href=&quot;http://forum.httrack.com/readmsg/25812/25794/index.html&quot;&gt;&lt;span class=&quot;s3&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://forum.httrack.com/readmsg/25812/25794/index.html&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://apple.stackexchange.com/questions/36862/install-homebrew-package-and-ignore-md5-hash&quot;&gt;&lt;span class=&quot;s3&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://apple.stackexchange.com/questions/36862/install-homebrew-package-and-ignore-md5-hash&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://stackoverflow.com/questions/10762859/brew-update-the-following-untracked-working-tree-files-would-be-overwritten-by&quot;&gt;&lt;span class=&quot;s3&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://stackoverflow.com/questions/10762859/brew-update-the-following-untracked-working-tree-files-would-be-overwritten-by&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;ul class=&quot;ul1&quot;&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/7371598453237098410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/06/install-httrack-using-brew-on-mac.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/7371598453237098410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/7371598453237098410'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/06/install-httrack-using-brew-on-mac.html' title='Install httrack using brew on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-5733405030622841715</id><published>2013-05-27T20:08:00.000+10:00</published><updated>2013-06-26T14:10:47.674+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="Chrome 27.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><title type='text'>Reduce memory usage in Chrome by suspending tabs</title><content type='html'>&lt;div class=&quot;p1&quot;&gt;
Google Chrome seems to use lots of memory especially when there are lots of tabs open at once. It quite often slows down my machine significantly to the point that I have to restart the browser (with all tabs still open after the restart) and then it gradually slows down again. I&#39;m glad I came across&amp;nbsp;&lt;a href=&quot;https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg/details?utm_source=chrome-ntp-icon&quot;&gt;&lt;span class=&quot;s1&quot;&gt;The Great Suspender&lt;/span&gt;&lt;/a&gt;. This extension allows me to suspend any tab manually, or let it suspend idle tabs for me automatically.&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;a href=&quot;http://lifehacker.com/5982490/the-great-suspender-suspends-memory+hungry-chrome-tabs-you-havent-used-lately&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://lifehacker.com/5982490/the-great-suspender-suspends-memory+hungry-chrome-tabs-you-havent-used-lately&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg?utm_source=chrome-ntp-icon&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg?utm_source=chrome-ntp-icon&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;ul class=&quot;ul1&quot;&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/5733405030622841715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/05/reduce-memory-usage-in-chrome-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/5733405030622841715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/5733405030622841715'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/05/reduce-memory-usage-in-chrome-by.html' title='Reduce memory usage in Chrome by suspending tabs'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-1033205101192782844</id><published>2013-05-24T19:12:00.000+10:00</published><updated>2013-05-24T19:14:34.386+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Convert an object array to a string array in Java</title><content type='html'>&lt;br /&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;System.arraycopy(&lt;/span&gt;Object src, int srcPos,&amp;nbsp;Object dest, int destPos,&amp;nbsp;int length);&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Arrays.asList(Object_Array).toArray(new String[Object_Array.length]); &amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;Java 1.6&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;p2&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;String[] stringArray = Arrays.copyOf(objectArray, objectArray.length, String[].class);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li4&quot;&gt;&lt;a href=&quot;http://stackoverflow.com/questions/1018750/how-to-convert-object-array-to-string-array-in-java&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://stackoverflow.com/questions/1018750/how-to-convert-object-array-to-string-array-in-java&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/1033205101192782844/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/05/convert-object-array-to-string-array-in.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/1033205101192782844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/1033205101192782844'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/05/convert-object-array-to-string-array-in.html' title='Convert an object array to a string array in Java'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-5387209531984924601</id><published>2013-05-10T21:55:00.001+10:00</published><updated>2013-05-10T21:55:53.559+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><title type='text'>Find which process is using a file on Mac</title><content type='html'>Use this command&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;lsof | grep &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
or&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;lsof &amp;lt;filepath&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
To ignore case, use&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;lsof | grep -i &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
Run it as root if the process is owned by root,&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;sudo&amp;nbsp;lsof | grep -i &amp;lt;filename&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li4&quot;&gt;&lt;a href=&quot;http://hints.macworld.com/article.php?story=20040121001144687&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://hints.macworld.com/article.php?story=20040121001144687&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;li4&quot;&gt;&lt;a href=&quot;http://forums.macrumors.com/showthread.php?t=462257&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://forums.macrumors.com/showthread.php?t=462257&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/5387209531984924601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/05/find-which-process-is-using-file-on-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/5387209531984924601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/5387209531984924601'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/05/find-which-process-is-using-file-on-mac.html' title='Find which process is using a file on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-2055416832504100297</id><published>2013-05-10T21:18:00.000+10:00</published><updated>2013-05-10T21:18:06.696+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LibreOffice 4.0.3"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><title type='text'>Getting the error &quot;oasis-text.icns is in use&quot; when installing LibreOffice on Mac</title><content type='html'>







&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
The full error message is&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;The operation can&#39;t be completed because the item &quot;oasis-text.icns&quot; is in use.&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
To fix it, just quit&amp;nbsp;the SystemUIServer process in the Activity Monitor.&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/2055416832504100297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/05/getting-error-oasis-texticns-is-in-use.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2055416832504100297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2055416832504100297'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/05/getting-error-oasis-texticns-is-in-use.html' title='Getting the error &quot;oasis-text.icns is in use&quot; when installing LibreOffice on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-6360083208598508505</id><published>2013-05-08T20:16:00.000+10:00</published><updated>2013-05-08T20:16:23.098+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse 4.2"/><category scheme="http://www.blogger.com/atom/ns#" term="Force.com"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7.5"/><category scheme="http://www.blogger.com/atom/ns#" term="Salesforce"/><title type='text'>Install Force.com IDE on Eclipse 4.2 (Juno)</title><content type='html'>&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;span class=&quot;s1&quot;&gt;Use this Force.com IDE Update site&amp;nbsp;&lt;a href=&quot;http://www.adnsandbox.com/tools/ide/install/&quot;&gt;http://www.adnsandbox.com/tools/ide/install/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;Copy&amp;nbsp;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;org.eclipse.update.ui_3.2.300.v20100512.jar&lt;/span&gt; to the &lt;span class=&quot;s2&quot; style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;eclipse/plugins&lt;/span&gt; directory. Get this file from the old version of Eclipse or from this site&amp;nbsp;&lt;a href=&quot;http://www.java2s.com/Code/Jar/o/Downloadorgeclipseupdateui32300v20100512jar.htm&quot;&gt;&lt;span class=&quot;s3&quot;&gt;http://www.java2s.com/Code/Jar/o/Downloadorgeclipseupdateui32300v20100512jar.htm&lt;/span&gt;&lt;/a&gt;. If this file is missing, we will get the following error message:-&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Cannot complete the install because one or more required items could not be found.&lt;br /&gt;&amp;nbsp; Software being installed: &lt;a href=&quot;http://force.com/&quot;&gt;&lt;span class=&quot;s3&quot;&gt;Force.com&lt;/span&gt;&lt;/a&gt; IDE 27.0.0.201302151147 (com.salesforce.ide.feature.feature.group 27.0.0.201302151147)&lt;br /&gt;&amp;nbsp; Missing requirement: &lt;a href=&quot;http://force.com/&quot;&gt;&lt;span class=&quot;s3&quot;&gt;Force.com&lt;/span&gt;&lt;/a&gt; IDE 27.0.0.201302151147 (com.salesforce.ide.feature.feature.group 27.0.0.201302151147) requires &#39;org.eclipse.update.ui 0.0.0&#39; but it could not be found&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li5&quot;&gt;&lt;a href=&quot;http://wiki.developerforce.com/page/Force.com_IDE_Installation_for_Eclipse_3.6&quot;&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: xx-small;&quot;&gt;http://wiki.developerforce.com/page/Force.com_IDE_Installation_for_Eclipse_3.6&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;li5&quot;&gt;&lt;a href=&quot;http://boards.developerforce.com/t5/General-Development/Install-Eclipse-Juno-4-2-with-Force-com-IDE/td-p/462323&quot;&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: xx-small;&quot;&gt;http://boards.developerforce.com/t5/General-Development/Install-Eclipse-Juno-4-2-with-Force-com-IDE/td-p/462323&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/6360083208598508505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2013/05/install-forcecom-ide-on-eclipse-42-juno.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/6360083208598508505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/6360083208598508505'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2013/05/install-forcecom-ide-on-eclipse-42-juno.html' title='Install Force.com IDE on Eclipse 4.2 (Juno)'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-5425064092765299840</id><published>2012-06-15T22:23:00.000+10:00</published><updated>2013-08-17T01:22:35.097+10:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".Net"/><category scheme="http://www.blogger.com/atom/ns#" term="Mac OS X Lion 10.7"/><category scheme="http://www.blogger.com/atom/ns#" term="Mono"/><category scheme="http://www.blogger.com/atom/ns#" term="technology"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>Running Tomboy Note-Taking App on Mac</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
When running Tomboy 1.10.2 on Mac OS X Lion with Mono 2.10.9 installed, I got this error:-&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for IgeMacIntegration.IgeMacDock ---&amp;gt; System.EntryPointNotFoundException: ige_mac_dock_get_type&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
I found that the &lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;ige-mac-integration-sharp.dll&lt;/span&gt; library used by Tomboy is not compatible with &lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;libigemacintegration.dylib&lt;/span&gt; in Mono 2.10.9 (some external functions don&#39;t exist any more). I&#39;m new to Mono and this library and I just wanted to get Tomboy to run on Mac and also wanted to keep the latest version of Mono so I did a dirty fix by doing the following:-&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li4&quot;&gt;Build Tomboy.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;git clone git://git.gnome.org/tomboy&lt;br /&gt;xbuild Tomboy-mac.sln&lt;br /&gt;./bundle-mac-app.sh&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li3&quot;&gt;Copy &lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;libigemacintegration.0.0.0.dylib&lt;/span&gt; from Mono 2.6.x to &lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Tomboy.app/Contents/MacOS&lt;/span&gt; and rename it to&amp;nbsp;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;libigemacintegration.dylib&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;Transfer all notes from my Ubuntu machine to Mac.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;cp /Volumes/tom-ubuntu/.local/share/tomboy/*.note /Users/tomtanti/Library/Application Support/Tomboy/&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li3&quot;&gt;Run Tomboy for testing.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;open Tomboy.app&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;ul&gt;
&lt;li&gt;Move Tomboy.app to Applications so that I can simply run it from there in the future.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;b&gt;Update (2013-08-17):&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://xmemory.tompium.com/2013/08/run-tomboy-with-mono-32-on-mac.html&quot; target=&quot;_blank&quot;&gt;New instructions for running Tomboy with Mono 3.2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul class=&quot;ul1&quot;&gt;
&lt;li class=&quot;li6&quot;&gt;&lt;a href=&quot;https://live.gnome.org/Tomboy/Building/Mac&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;https://live.gnome.org/Tomboy/Building/Mac&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;li6&quot;&gt;&lt;a href=&quot;http://www.sysr.co.uk/2011/09/08/tomboy-notes-does-not-work-on-mac-osx-snow-leopardlion-10-6-10-7/&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;http://www.sysr.co.uk/2011/09/08/tomboy-notes-does-not-work-on-mac-osx-snow-leopardlion-10-6-10-7/&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;li6&quot;&gt;&lt;a href=&quot;https://live.gnome.org/Tomboy/Directories&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;https://live.gnome.org/Tomboy/Directories&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/5425064092765299840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2012/06/running-tomboy-note-taking-app-on-mac.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/5425064092765299840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/5425064092765299840'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2012/06/running-tomboy-note-taking-app-on-mac.html' title='Running Tomboy Note-Taking App on Mac'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-2202950794657619304</id><published>2012-02-06T14:25:00.000+11:00</published><updated>2012-02-06T14:28:40.261+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="browser"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="technology"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu 11.10"/><title type='text'>Firefox 10 keeps crashing</title><content type='html'>After upgrading to Firefox 10, the new version kept crashing every time I opened it. Running it in safe mode (firefox -safe-mode) didn&#39;t help.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnG4E6XoNBpUw6_e8RvrNrVsaqO9WrV5qlPHKcy9Cat2b09EkaQdU5cDoUITahBnrw3oonqNH-zeOlVzDXU-sJonkOTaQerLgWJF4-zZXOFjmE8m-zPQH68KkI8zgygFiWy2NOjyqxl-o/s1600/2012-02-06_14-02-57.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnG4E6XoNBpUw6_e8RvrNrVsaqO9WrV5qlPHKcy9Cat2b09EkaQdU5cDoUITahBnrw3oonqNH-zeOlVzDXU-sJonkOTaQerLgWJF4-zZXOFjmE8m-zPQH68KkI8zgygFiWy2NOjyqxl-o/s200/2012-02-06_14-02-57.png&quot; width=&quot;186&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I ended up creating a new profile to fix this problem using the following command and switch:-&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;firefox -P&lt;/span&gt;&lt;/blockquote&gt;
All plugins were gone and needed reinstalling. I could get some data back though from the old profile folder in&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;/home/tom/.mozilla/firefox/xxxx.default&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;b&gt;Refs&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://ubuntuforums.org/showthread.php?p=11595179&quot;&gt;http://ubuntuforums.org/showthread.php?p=11595179&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/2202950794657619304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2012/02/firefox-10-keeps-crashing.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2202950794657619304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2202950794657619304'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2012/02/firefox-10-keeps-crashing.html' title='Firefox 10 keeps crashing'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnG4E6XoNBpUw6_e8RvrNrVsaqO9WrV5qlPHKcy9Cat2b09EkaQdU5cDoUITahBnrw3oonqNH-zeOlVzDXU-sJonkOTaQerLgWJF4-zZXOFjmE8m-zPQH68KkI8zgygFiWy2NOjyqxl-o/s72-c/2012-02-06_14-02-57.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-2096855773550981728</id><published>2012-01-13T21:47:00.001+11:00</published><updated>2012-02-05T10:10:08.988+11:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="technology"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu 11.10"/><title type='text'>Make Eclipse look better on Ubuntu</title><content type='html'>&lt;ul&gt;
&lt;li&gt;Compact the look and fix unreadable selected entry in content assist in some themes (e.g. Ambience) by creating a new text file called &quot;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;gtkrc&lt;/span&gt;&quot; (a stylesheet file for GTK apps) with the following content:-&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;gtk-color-scheme = &quot;selected_text_color:#000000&quot;&lt;br /&gt;

style &quot;compact&quot;&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;  GtkButton::default_border={0,0,0,0}&lt;br /&gt;
&amp;nbsp;  GtkButton::default_outside_border={0,0,0,0}&lt;br /&gt;
&amp;nbsp;  GtkButtonBox::child_min_width=0&lt;br /&gt;
&amp;nbsp;  GtkButtonBox::child_min_heigth=0&lt;br /&gt;
&amp;nbsp;  GtkButtonBox::child_internal_pad_x=0&lt;br /&gt;
&amp;nbsp;  GtkButtonBox::child_internal_pad_y=0&lt;br /&gt;
&amp;nbsp;  GtkMenu::vertical-padding=1&lt;br /&gt;
&amp;nbsp;  GtkMenuBar::internal_padding=1&lt;br /&gt;
&amp;nbsp;  GtkMenuItem::horizontal_padding=4&lt;br /&gt;
&amp;nbsp;  GtkToolbar::internal-padding=1&lt;br /&gt;
&amp;nbsp;  GtkToolbar::space-size=1&lt;br /&gt;
&amp;nbsp;  GtkOptionMenu::indicator_size=0&lt;br /&gt;
&amp;nbsp;  GtkOptionMenu::indicator_spacing=0&lt;br /&gt;
&amp;nbsp;  GtkPaned::handle_size=4&lt;br /&gt;
&amp;nbsp;  GtkRange::trough_border=0&lt;br /&gt;
&amp;nbsp;  GtkRange::stepper_spacing=0&lt;br /&gt;
&amp;nbsp;  GtkScale::value_spacing=0&lt;br /&gt;
&amp;nbsp;  GtkScrolledWindow::scrollbar_spacing=0&lt;br /&gt;
&amp;nbsp;  GtkExpander::expander_size=10&lt;br /&gt;
&amp;nbsp;  GtkExpander::expander_spacing=0&lt;br /&gt;
&amp;nbsp;  GtkTreeView::vertical-separator=0&lt;br /&gt;
&amp;nbsp;  GtkTreeView::horizontal-separator=0&lt;br /&gt;
&amp;nbsp;  GtkTreeView::expander-size=12&lt;br /&gt;
&amp;nbsp;  GtkTreeView::fixed-height-mode=TRUE &lt;br /&gt;
&amp;nbsp;  GtkWidget::focus_padding=0 &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;  font_name=&quot;Liberation Sans,Sans Regular 8&quot;&lt;br /&gt;
&amp;nbsp;  text[SELECTED] = @selected_text_color&lt;br /&gt;
}&lt;br /&gt;

class &quot;GtkWidget&quot; style &quot;compact&quot;&lt;br /&gt;

style &quot;compact2&quot;&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;  xthickness=1&lt;br /&gt;
&amp;nbsp;  ythickness=1&lt;br /&gt;
}&lt;br /&gt;

class &quot;GtkButton&quot; style &quot;compact2&quot;&lt;br /&gt;
class &quot;GtkToolbar&quot; style &quot;compact2&quot;&lt;br /&gt;
class &quot;GtkPaned&quot; style &quot;compact2&quot;&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;To use the above stylesheet with Eclipse (my version is Indigo - 3.7.1), run Eclipse like this:-&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;GTK2_RC_FILES=$GTK2_RC_FILES:/somewhere_1/gtkrc /somewhere_2/eclipse&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Make tooltip readable by using #000000 as its foreground colour (tooltip_fg_color) and #f5f5b5 as background (tooltip_bg_color) in the following files:-&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;
/usr/share/themes/&amp;lt;your-current-theme&amp;gt;/gtk-3.0/settings.ini &lt;br /&gt;
/usr/share/themes/&amp;lt;your-current-theme&amp;gt;/gtk-3.0/gtk.css &lt;br /&gt;
/usr/share/themes/&amp;lt;your-current-theme&amp;gt;/gtk-2.0/gtkrc &lt;br /&gt;
&lt;/span&gt;&lt;/blockquote&gt;
&lt;ul&gt;
&lt;li&gt;Install &lt;a href=&quot;http://www.eclipsecolorthemes.org/?view=plugin&quot;&gt;Eclipse theme colour plugin&lt;/a&gt; and may want to try my &lt;a href=&quot;http://www.eclipsecolorthemes.org/?view=theme&amp;amp;id=5432&quot;&gt;TumCode&lt;/a&gt; theme which keeps the number of colours to the minimum.&lt;br /&gt;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Replace the default &quot;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Monospace&quot;&lt;/span&gt; font with &quot;&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;Liberation Mono&quot;&lt;/span&gt; and optionally reduce the font size to 8 or 9.&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;Windows&amp;nbsp;-&amp;gt; Preferences -&amp;gt; General -&amp;gt; Appearance -&amp;gt; Colors and Fonts&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
(for Java Editor Text Font, Javadoc display font, Properties File Editor Text Font, etc.)&lt;/blockquote&gt;
&lt;br /&gt;
Here is how it looks after the above changes:-&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRTIhVteGti6mGFCEBFcYtSzUA0GcCH9mlYpuk8GhyphenhyphengiQKS6D4TpWHwhQh9J9Ts3SLjQ3v7fiu3tssqcIAQD_GAapDKsTIbR7QObT9PB-ssCf-ABxMcR1ql6v-9Jz4i9BWKLxxlo5LKwQ/s1600/2012-01-13_21-06-21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;93&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRTIhVteGti6mGFCEBFcYtSzUA0GcCH9mlYpuk8GhyphenhyphengiQKS6D4TpWHwhQh9J9Ts3SLjQ3v7fiu3tssqcIAQD_GAapDKsTIbR7QObT9PB-ssCf-ABxMcR1ql6v-9Jz4i9BWKLxxlo5LKwQ/s200/2012-01-13_21-06-21.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV3HqZZV2TnE3A910IwxbSYxa6DGkqdP37JCsMtNOga6C_ucNDUwkKcVL9oKVfaxfBfAke5chll15y9mSUD1uwpjmgfqPiVAQ2KI1aOrExILG8XzIRZmJcJNeJR2hXoBIb6qoroWfAAVk/s1600/2012-01-13_21-03-50.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;128&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV3HqZZV2TnE3A910IwxbSYxa6DGkqdP37JCsMtNOga6C_ucNDUwkKcVL9oKVfaxfBfAke5chll15y9mSUD1uwpjmgfqPiVAQ2KI1aOrExILG8XzIRZmJcJNeJR2hXoBIb6qoroWfAAVk/s200/2012-01-13_21-03-50.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Refs&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;a href=&quot;http://blog.xam.dk/?p=70&quot;&gt;http://blog.xam.dk/?p=70&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://askubuntu.com/questions/70599/how-to-change-tooltip-background-color-in-unity&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.valotas.com/2010/02/eclipse-on-linux-make-it-look-good.html&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://blog.valotas.com/2010/02/eclipse-on-linux-make-it-look-good.html&lt;/span&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/2096855773550981728/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2012/01/make-eclipse-look-better-on-ubuntu.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2096855773550981728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2096855773550981728'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2012/01/make-eclipse-look-better-on-ubuntu.html' title='Make Eclipse look better on Ubuntu'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRTIhVteGti6mGFCEBFcYtSzUA0GcCH9mlYpuk8GhyphenhyphengiQKS6D4TpWHwhQh9J9Ts3SLjQ3v7fiu3tssqcIAQD_GAapDKsTIbR7QObT9PB-ssCf-ABxMcR1ql6v-9Jz4i9BWKLxxlo5LKwQ/s72-c/2012-01-13_21-06-21.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1359526885905282890.post-2404128097766959386</id><published>2011-12-25T10:27:00.003+11:00</published><updated>2011-12-25T10:27:58.845+11:00</updated><title type='text'>Merry Christmas and a Happy New Year</title><content type='html'>I would like to wish you all a Merry Christmas and a Prosperous New Year. May the season bring you and your family joy and peace.</content><link rel='replies' type='application/atom+xml' href='http://xmemory.tompium.com/feeds/2404128097766959386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://xmemory.tompium.com/2011/12/merry-christmas-and-happy-new-year.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2404128097766959386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1359526885905282890/posts/default/2404128097766959386'/><link rel='alternate' type='text/html' href='http://xmemory.tompium.com/2011/12/merry-christmas-and-happy-new-year.html' title='Merry Christmas and a Happy New Year'/><author><name>Tom Tantisalidchai</name><uri>http://www.blogger.com/profile/04679753014091527612</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>