tag:blogger.com,1999:blog-42475543435970789432024-02-21T13:05:30.466+01:00+1 UsefulnessThe quality of being of practical useBrutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-4247554343597078943.post-45459376234198313922015-10-15T12:25:00.000+02:002015-10-15T12:25:39.040+02:00What's the minimum PHP version supported by Composer?Composer requires PHP version <span style="background-color: #cccccc;"><span style="font-family: Courier New, Courier, monospace;">5.3.2</span></span> or higher. For reference see:<br />
<ul>
<li>their <a href="https://getcomposer.org/doc/00-intro.md#system-requirements">documentation</a></li>
<li>their <a href="https://github.com/composer/composer#requirements">README</a></li>
<li>their own <a href="https://github.com/composer/composer/blob/a54f84f05f915c6d42bed94de0cdcb4406a4707b/composer.json#L25">composer.json</a></li>
</ul>
Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-7987489545692504532011-10-27T13:24:00.001+02:002011-10-27T13:25:03.114+02:00Panic's Coda and Ruby's Pry integrationAdding a few things here and there and you will integrate the awesome <a href="http://pry.github.com/">Pry</a> <a href="https://github.com/pry/pry/wiki/Editor-integration">edit command</a> with your <a href="http://www.panic.com/coda/">Panic's Coda</a> editor. You will need the great <a href="https://github.com/bobthecow/coda-cli">Coda CLI</a> tool and you will have to apply my <a href="https://github.com/bobthecow/coda-cli/pull/5">pull request</a> (if it's not already done in the master branch) that adds the "go to line number" feature. Alternatively you can clone <a href="https://github.com/brutuscat/coda-cli">my own fork</a> of the project with my changes applied.<br />
<br />
Follow the instructions to install Coda CLI after applying the fix and then:<br />
<br />
<blockquote>
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">$ coda --help<br />Usage: coda [options] [file ...]<br />Options:<br /> -h, --help show this help message and exit<br /> -w, --wait wait for file to be closed<br /> -d, --change-dir change Coda's working directory<br /> -n, --new-window open in a new window<br /> --ls-tabs show all open tabs<br /> --version print version information and quit<br /> -l LINENUMBER, --line=LINENUMBER<br /> set the current line number of the editor<br />To read input from stdin, use a pipe or pass `-` for [file]<br />Piping output from coda implies `-w`.</span></blockquote>
Now you can do "coda -l 2 ~/.profile " to go to line 2 of your .profile file<br />
<br />
Now the Pry part: you have to add some options into your <a href="https://github.com/pry/pry/wiki/Pry-rc">.pryrc</a>:<br />
<br />
<blockquote class="tr_bq">
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">$ coda ~/.pryrc</span></blockquote>
<br />
Add the following line and save the file:<br />
<br />
<blockquote class="tr_bq">
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">Pry.config.editor = proc { |file, line| "coda -l #{line} -w #{file}" }</span></blockquote>
<div>
<br /></div>
<div>
That's it! Now in your pry console you can run "edit-method object.yourtmethod" and it will open Coda and position the cursor selection into the right line number. Please pry for me!</div>
<div>
<br /></div>
<div>
Resources:</div>
<div>
<ul>
<li><a href="http://justinhileman.info/coda-cli/">coda-cli — Shell integration for Coda</a></li>
<li><a href="http://pry.github.com/">Pry - an IRB alternative and runtime developer console</a></li>
<li><a href="https://github.com/pry/pry/blob/master/lib/pry/helpers/command_helpers.rb">https://github.com/pry/pry/blob/master/lib/pry/helpers/command_helpers.rb</a></li>
<li><a href="https://github.com/bobthecow/coda-cli/blob/master/coda#L97">https://github.com/bobthecow/coda-cli/blob/master/coda#L97</a></li>
<li><a href="http://hintsforums.macworld.com/showthread.php?t=94114">Applescript key code for shift+return</a></li>
<li><a href="http://www.satimage.fr/software/en/smile/computing/as_types/as_data_types.html">AppleScript's data types</a></li>
<li><a href="http://www.makeuseof.com/tag/applescripts-ui-scripting-mac/">How To Use Applescript’s UI Scripting [Mac]</a></li>
</ul>
</div>
<br />Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-39066860255115442512011-09-22T19:51:00.000+02:002011-09-22T19:51:23.747+02:00Upgrade to Ruby 1.9.2, Rails and Psych libWhen I tried to upgrade my app to use the new Ruby 1.9.2, I faced some errors thrown right away after running <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">rails s</span>. The errors were related to a <span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">merge!</span> call from the Psych lib. It turns out that the Psych lib is used as the new YAML parser and could break things in your Rails application.<br />
<div>
So after a 20 min research I found a couple of post, patches, etc. Finally the solution was to add this at the top of your application.rb file to switch back to the old YAML parser syck. </div>
<div>
<br />
<script src="https://gist.github.com/1235430.js?file=application.rb">
</script>
<br />
Resources:<br />
<br />
<ul>
<li><a href="http://pivotallabs.com/users/mkocher/blog/articles/1692-yaml-psych-and-ruby-1-9-2-p180-here-there-be-dragons">Yaml, Psych and Ruby 1.9.2-p180 - Here there be dragons </a></li>
<li><a href="https://github.com/rubygems/rubygems/pull/57">Fix invalid specs resulting from incorrect syck time parsing</a></li>
<li><a href="http://crohr.me/2011/02/23/issue-with-ruby1.9.2-yaml-parser-and-merge-keys-in-yaml-configuration-file.html">Issue with Ruby1.9.2 YAML parser and merge keys in YAML configuration file</a></li>
<li><a href="http://www.google.com/search?q=upgrade+1.9.2+psych+to_ruby.rb%3A196%3Ain+`merge!'%3A+can't+convert+nil+into+Hash+(TypeError)">upgrade 1.9.2 psych to_ruby.rb:196:in `merge!': can't convert nil into Hash (TypeError)</a></li>
</ul>
</div>
Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-11218163233490230822011-09-06T11:52:00.000+02:002011-12-22T12:17:04.313+01:00[Fixed] Boot Camp partition errorAfter some days of having to deal with this issue I finally got it fixed. I read several post in lots of forums and I can assure you that this is the final solution, without the need to buy any kind of software :D<br />
First let's have a look at the error that Boot Camp throw at us:<br />
<blockquote>
<i><span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"><b>The disk cannot be partitioned because some files cannot be moved.</b><br />Back up the disk and use Disk Utility to format the disk as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again. </span></i></blockquote>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr9BrbR-EjbaiYqIeu-o0fULIQIuix3ayNc6jhYCbnPU2jV365uShbDu81qC425Of6bLdc85o3HdE7D47SFYE81bGkmiyYg0nIJg85ANaIFos3l5UGoJwCfB9bp47fcCZ43-17-5rnSCg/s1600/partition-failed-bootcamp.jpeg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="127" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr9BrbR-EjbaiYqIeu-o0fULIQIuix3ayNc6jhYCbnPU2jV365uShbDu81qC425Of6bLdc85o3HdE7D47SFYE81bGkmiyYg0nIJg85ANaIFos3l5UGoJwCfB9bp47fcCZ43-17-5rnSCg/s320/partition-failed-bootcamp.jpeg" width="320" /></a></div>
Wow, that sounds very risky to me. I started to look for a solution for this and several hours later I stepped by with this post: <a href="https://discussions.apple.com/thread/1545380">https://discussions.apple.com/thread/1545380</a>. Basically, what it's saying is that instead of letting the Boot Camp Assistant do the resize, you have to do it with the Disk Utility. The Disk Utility will try to move those "<i>Cannot-Be-Moved"</i> files, resizing your own partition and later, you will restore it with faith in that the files be now moved from the bottom of your hard drive.<br />
This made sense to me, so I gave it a try and 20 mins later It also failed. BUT with good news, because it thrown a new error:<br />
<br />
<blockquote>
<span class="Apple-style-span" style="font-family: 'Trebuchet MS', sans-serif;"><i><b>Partition failed</b><br />Partition failed with the error:<br />The partition cannot be resized. Try reducing the amount of change in the size of the partition.</i></span></blockquote>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AGK1eORCbTlK1G8OLAgUvGBwGhu3oJCid8NfdxtcFN86FnY4CmgkgoadlXpuwDI301q-lZ60O29YAOGX0P4QfDJ7NFO0lCkpkW8tKeHOL2_Vo-QR54RP6tiua4D45vNk4gawmzHUNuI/s1600/parition-failed-diskutility.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="119" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2AGK1eORCbTlK1G8OLAgUvGBwGhu3oJCid8NfdxtcFN86FnY4CmgkgoadlXpuwDI301q-lZ60O29YAOGX0P4QfDJ7NFO0lCkpkW8tKeHOL2_Vo-QR54RP6tiua4D45vNk4gawmzHUNuI/s320/parition-failed-diskutility.png" width="320" /></a>The later led me to this great <a href="http://superuser.com/">superuser</a> post: <a href="http://superuser.com/questions/72896/cannot-resize-os-x-partition">http://superuser.com/questions/72896/cannot-resize-os-x-partition</a>. The most voted answer said something that I've already seen about iDefrag. But I don't want to pay to fix this! If you keep reading there's a great, much commonsense answer: <a href="http://superuser.com/questions/72896/cannot-resize-os-x-partition/291378#291378">http://superuser.com/questions/72896/cannot-resize-os-x-partition/291378#291378</a>.<br />
Now I'm going to describe this manual proper solution. It's a kind of lengthy process but I can say that it works! You have to open the "Console" app, click in "All Messages" and search for the word "hfs_". In there you will see a bunch of log lines: take a look at the one that says something like:<br />
<blockquote>
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">hfs_reclaimspace: Error reclaiming datafork blocks of fileid=57695517</span></blockquote>
You have to copy the "fileid" number. Then you open your "Terminal" app and execute the following command:<br />
<blockquote>
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">sudo find -x / -inum 57695517</span></blockquote>
It will ask you for your password, this way it can run with full root privilege and also look in those restricted folders. The number after -inum is the number you had previously saved . What this command does is to search in your harddrive (that's the -x for), starting at the root of your filesystem (that's the / for), and try to find the file with the <a href="http://en.wikipedia.org/wiki/Inode">inode</a> number 57695517 (in your case will be another number). You run this with sudo to have access to all the filesystem. When it finishes you will see the path of one file. Grab that file and move it to a safe location or just delete it if you don't need it.<br />
<br />
Now run the disk utility again. It may fail again and you will have to repeat the find-the-inum process until you moved all those bad files.<br />
After a couple of tries the Disk Utility finally succeed in shrinking your partition. Now you have to do the oposite resize operation and restore your disk to the seize it had. Then go back to the Boot Camp Assistant and retry the partition process, it should succeed without any issues!<br />
<br />
Resources:<br />
<br />
<ul>
<li><a href="http://superuser.com/questions/72896/cannot-resize-os-x-partition">http://superuser.com/questions/72896/cannot-resize-os-x-partition</a></li>
<li><a href="http://forums.macnn.com/104/alternative-operating-systems/322717/your-disk-cannot-prtitioned-because-some/">http://forums.macnn.com/104/alternative-operating-systems/322717/your-disk-cannot-prtitioned-because-some/</a></li>
<li><a href="https://discussions.apple.com/thread/1545380">https://discussions.apple.com/thread/1545380</a></li>
<li><a href="http://www.google.com/search?q=Some+files+can't+be+moved">http://www.google.com/search?q=Some+files+can't+be+moved</a></li>
<li><a href="http://shikii.net/blog/a-solution-to-boot-camp-partition-error-files-cannot-be-moved/">http://shikii.net/blog/a-solution-to-boot-camp-partition-error-files-cannot-be-moved/</a></li>
<li><a href="http://blogs.bytecode.com.au/glen/2009/10/28/bootcamp-assistant-how-to-overcome-the-files-cannot-be-moved-issue.html">http://blogs.bytecode.com.au/glen/2009/10/28/bootcamp-assistant-how-to-overcome-the-files-cannot-be-moved-issue.html</a></li>
</ul>
<br />Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-25150759255608508272011-08-19T13:10:00.000+02:002011-08-19T13:10:43.048+02:00[Fixed] MySQL, MacPorts and OS X Snow LeopardAfter almost a year of having installed Mac OS X Snow Leopard and the 1.8.x MacPort and after several failed tries, I finally worked out the issues I had when installing MySQL using MacPorts. My issue was somehow similar to this one: <a href="https://trac.macports.org/ticket/28772">mysql_install_db5 works without '--user=_mysql' option, but mysql.user table not populated</a>, where the mysql root password can't be set. Basically, after doing:<br />
<blockquote>> sudo port install mysql5-server</blockquote>And follow the steps by steps instructions:<br />
<blockquote>> sudo mysql_install_db5 --user=_mysql</blockquote>I ended with the directory /opt/local/var/db/mysql5 somehow corrupted. It seems that I, maybe, already had a old installation of MySQL, so the install scripts couldn't reset the permissions for the correct mysql user (which is <i><b>_mysql</b></i>). So to solve this I did:<br />
<blockquote>> sudo port uninstall mysql5-server<br />
> sudo rm -rf /opt/local/var/db/mysql5</blockquote>Deleting the problematic dir and then re-installing:<br />
<blockquote>> sudo port install mysql5-server<br />
> sudo -u _mysql mysql_install_db5</blockquote>Set the root password and securing the MySQL installation:<br />
<blockquote>> /opt/local/lib/mysql5/bin/mysqladmin -u root password 'new-password'<br />
> sudo /opt/local/share/mysql5/mysql/mysql.server start<br />
> sudo /opt/local/lib/mysql5/bin/mysql_secure_installation</blockquote>So that's it. I finally have my working MySQL database working! Yeaaah!<br />
<br />
Resources:<br />
<br />
<ul><li><a href="http://stackoverflow.com/questions/4798464/installing-mysql-on-snow-leopard-using-macports">Installing MySQL on Snow Leopard using MacPorts</a></li>
<li><a href="http://stackoverflow.com/questions/6252071/reset-mysql5-root-password-in-macports">Reset mysql5 root password in macports</a></li>
<li><a href="http://metaskills.net/2009/09/05/the-ultimate-os-x-snow-leopard-stack-for-rails-development-x86_64-macports-ruby-1-8-1-9-sql-server-more/">The Ultimate OS X Snow Leopard Stack For Rails Development - x86_64, MacPorts, Ruby 1.8/1.9, SQL Server, SQLite3, MySQL & More</a></li>
<li><a href="https://trac.macports.org/ticket/28772">mysql_install_db5 works without '--user=_mysql' option, but mysql.user table not populated</a></li>
</ul>Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-47952827758236734352011-08-15T01:10:00.000+02:002011-08-15T01:10:29.856+02:00[Google+] How to edit the privacy setting for the photos and videos?<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibrI_fLKt9U4G0hW6xaUjg9iJ0fjRHw2KLJAGweA5C7uDEBUcU5QbuaT7CA9HEaVZNO71iA3zKmI3xoVGZo5mxkoqZbKk4MP5WqI-dg9dz3s0VZcQxfcivnd-yCXwbIugUlPVLUQc3S0Y/s1600/Screen+shot+2011-08-15+at+12.55.25+AM.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibrI_fLKt9U4G0hW6xaUjg9iJ0fjRHw2KLJAGweA5C7uDEBUcU5QbuaT7CA9HEaVZNO71iA3zKmI3xoVGZo5mxkoqZbKk4MP5WqI-dg9dz3s0VZcQxfcivnd-yCXwbIugUlPVLUQc3S0Y/s200/Screen+shot+2011-08-15+at+12.55.25+AM.png" width="193" /></span></a><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">Last month I was invited to the new <a href="https://plus.google.com/">Google+</a> social network. It looked cool, so I also connected my <a href="https://picasaweb.google.com/">Picasa</a> account into it without realizing that when doing it, all my personal photos and videos where suddenly public. Don't get me wrong, the albums I'm sharing in my picasaweb dashboard are all public, but I don't like the idea of people searching for me in Google and see all my life there, for everyone to see. This is the similar issue that <a href="https://www.eff.org/deeplinks/2009/12/facebooks-new-privacy-changes-good-bad-and-ugly">Facebook once had</a> but luckily for us FB fixed that and Google also let's you edit the privacy settings for the photos and videos of your picasa account. </span><br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><br />
</span><br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">So it is very easy to restrict the visibility of your photos and videos tab in your Google+ profile:</span><br />
<br />
<ul><li><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">Login into your Google+ account and go to your <a href="https://plus.google.com/settings/plus">Plus Settings page</a></span></li>
<li><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">Select the Google+ section and scroll to the bottom of the page.</span></li>
</ul><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5A1WZdxW1SuGvk8Da140cEzQNvzIgKDjEVaK2SXLv2okE_acj1vnpVZTVVYcMVMCd4KQXdxWMWIGlmIQA9gcfn38gQqi3yASE_QzzVH2a4KiA7ItAKz8RS5ALwV6lYCXKMrgBhBJNk5I/s1600/Screen+shot+2011-08-15+at+12.56.12+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><img border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5A1WZdxW1SuGvk8Da140cEzQNvzIgKDjEVaK2SXLv2okE_acj1vnpVZTVVYcMVMCd4KQXdxWMWIGlmIQA9gcfn38gQqi3yASE_QzzVH2a4KiA7ItAKz8RS5ALwV6lYCXKMrgBhBJNk5I/s400/Screen+shot+2011-08-15+at+12.56.12+AM.png" width="400" /></span></a></div><br />
<ul><li><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">Now click on those <span class="Apple-style-span" style="background-color: white;"><a class="a-c-k-eb" href="https://plus.google.com/me/photos/edit" style="color: #3366cc; cursor: pointer; text-decoration: none;">photos</a> and <a class="a-c-k-eb" href="https://plus.google.com/me/videos/edit" style="color: #3366cc; cursor: pointer; text-decoration: none;">videos</a> links to edit the privacy of each of them.</span></span></li>
<li><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><span class="Apple-style-span" style="background-color: white;">Now uncheck the checkbox "</span></span><span class="Apple-style-span" style="background-color: white; font-family: arial, sans-serif; font-size: 13px; font-weight: bold;">Show this tab on your profile"</span></li>
</ul><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG0FTbW5tjQ9Y9DDEeju5C9R8hP3ytrXdB04Cq6wRVcRQ3Kb6nNJhwnA6CaMWk_j3JetCOTG87JHUVQwtJx1E8_9JcPW_zq6518xXAN-DHj0RHelpLLzZqC9uN2C_1baohGcgJ6iQ0tbI/s1600/Screen+shot+2011-08-15+at+1.06.16+AM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="73" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG0FTbW5tjQ9Y9DDEeju5C9R8hP3ytrXdB04Cq6wRVcRQ3Kb6nNJhwnA6CaMWk_j3JetCOTG87JHUVQwtJx1E8_9JcPW_zq6518xXAN-DHj0RHelpLLzZqC9uN2C_1baohGcgJ6iQ0tbI/s400/Screen+shot+2011-08-15+at+1.06.16+AM.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div><span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">And that's it. Now your Google+ will hide the Photos and the Videos tabs from displaying public in your profile page.</span></div><br />
<br />
Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-85414909369101751162011-08-02T12:02:00.000+02:002011-08-05T19:21:14.587+02:00How to get an RSS feed out of an Amazon Wish List?You have 2 ways to get an RSS out of a Wish List:<br />
<br />
<ul><li>Sign in and subscribe your Amazon Wish List:</li>
</ul><br />
You just Sign you in using your Twitter account, add your Amazon Wish List and then you will see the orange feed (Rss) icon. That's the URL of your feed. Piece of cake!<br />
<ul><li>Anonymous way (advanced users)</li>
</ul>Go to your Amazon Wish List and get the URL from the "Share with friends" tool. Double url encode it using DuckDuckGo: <a href="http://duckduckgo.com/?q=urlencode+">http://duckduckgo.com/?q=urlencode+</a>. Just remember to do it twice. Then build the url of your feed like this:<br />
<blockquote><b>http://www.wishandbam.com/list/[your_double_encoded_url_here]/20/rss</b></blockquote>That's it. If you want more than 20 items to show up in your feed, increase the number at the end of the url.<br />
<br />
<br />
<span class="Apple-style-span" style="font-size: x-small;"><i>Disclaimer: I am writing this post here in a follow up of my personal small project called Wish and BAM!. Wishandbam.com lets you Auto Tweet the items you add into your Amazon Wish List. But it also gives you a great way to do what ever you want with your Wish List, because it also provides you with a RSS Feed of it. Here I'm going to copy the post I wrote in the support site (<a href="http://getsatisfaction.com/wishandbam/topics/how_to_get_an_rss_feed_out_of_my_amazon_wish_list">How to get an RSS feed out of my Amazon Wish List? </a>@getsatisfaction)</i></span>Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-15658241291062078702011-07-11T20:31:00.000+02:002011-07-11T20:31:20.901+02:00[Fixed] Why Google Chrome is Slow?In the last 3 or 4 months I started to note that my Google Chrome was way slower than it was. In fact it was so slow that it started to pissed me off. I thought it was something with my MacBook Pro, after all it has almost 3 years old and already started to note some hardrive issues with it.<br />
Luckily, I decided to, somehow, fix or (at least) improve my Google Chrome performance. So first thing, first I <a href="http://www.google.com/search?q=google+chrome+mac+slow+performance">googled it</a>. After a few minutes of reading and taking note of the dates in the replies I extracted a few possible solutions:<br />
<br />
<ol><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs8_CMOev-WbqxF05UXdwXz1GwhlF6LabiQDLjllgWmKoJweZcYHoPj39X8yfYriYRCjtZOh4ENnPTmGMUAFjSZzlfsAOY1PGr7cMm__NwbxpvXUT7BjfjaGQEJDG-IV3d0wxQ7RdN0LA/s1600/Screen+shot+2011-07-11+at+7.43.06+PM.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="103" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs8_CMOev-WbqxF05UXdwXz1GwhlF6LabiQDLjllgWmKoJweZcYHoPj39X8yfYriYRCjtZOh4ENnPTmGMUAFjSZzlfsAOY1PGr7cMm__NwbxpvXUT7BjfjaGQEJDG-IV3d0wxQ7RdN0LA/s320/Screen+shot+2011-07-11+at+7.43.06+PM.png" width="320" /></a>
<li>It seemed that it wasn't my HD. <a href="http://www.google.com/insights/search/#q=%22google%20chrome%20slow%22&cmpt=q">Lots of people're asking about the same</a>, some were migrating back to Firefox, others, like me, still believing..</li>
<li>Couldn't find the "<a href="http://www.google.com/support/forum/p/Chrome/thread?tid=1a8697cca9f850ac&hl=en">Use DNS pre-fetching to improve page load performance</a>." option in my current Chrome version (v12). So I figured out the equivalent of that is "Predict network actions to improve page load performance"and <b>turned that Off</b>.</li>
<li>Also, as I am on a Mac, I applied another solution: <a href="http://www.google.com/support/forum/p/Chrome/thread?tid=5ab594b268ca63cd&hl=en#fid_5ab594b268ca63cd0004a5302ad087bc">turned Off the IPV6 TCP/IP</a> features in my Network > System Settings. </li>
</ol><div>These seems to have solved my problems, let's see for how long. I will update this post in the future if things aren't improving. Let me know if you found any other working solutions to improve the performance of this great browser.</div><div><br />
</div>Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-68067259611449379562011-02-21T18:18:00.000+01:002011-02-21T19:54:44.136+01:00How to remove a Google Analytics accountI was taking a look at how to insert the Analytics's tracking code into this Blogger blog and somehow I ended up with two, exactly equal, accounts in my Dashboard. I wanted to get rid of the duplicated one, and guess what? I couldn't find how to delete my Google Analytic account! Well, I do know now thanks to this link: <a href="http://analytics.blogspot.com/2008/09/now-its-easier-to-delete-accounts.html">Now it's easier to delete accounts</a> by Dai Pham, Google Analytics Team<br />
<br />
So the quick answer is:<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiToRvYtQcY6pd_60hFWRd60dpPyJnoXWbh6YxQ-JMFhEkaWWP5bLTDqqvDMTkkXr7IdQZPSWxegKq4z7s7TG-dVh_qQRLR1-WSATPc0OO9M0TcepqJ4ntaZowWpHNeUIH8fiT6qulpHIQ/s1600/Screen+shot+2011-02-21+at+6.12.10+PM.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiToRvYtQcY6pd_60hFWRd60dpPyJnoXWbh6YxQ-JMFhEkaWWP5bLTDqqvDMTkkXr7IdQZPSWxegKq4z7s7TG-dVh_qQRLR1-WSATPc0OO9M0TcepqJ4ntaZowWpHNeUIH8fiT6qulpHIQ/s320/Screen+shot+2011-02-21+at+6.12.10+PM.png" width="160" /></a></div><ul><li>Go to your Analytics Settings page at <a href="https://www.google.com/analytics/settings/home">https://www.google.com/analytics/settings/home</a> </li>
<li>Click in the "Edit" link, under the Actions column. You will enter in the edit options for the account you want to remove. </li>
<li>Now check out the "Delete account" link, just under the the "Default Time Zone" option. Click that link and that's all!</li>
</ul>Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0tag:blogger.com,1999:blog-4247554343597078943.post-80369461708583631662011-02-20T22:44:00.000+01:002011-02-21T00:58:04.011+01:00Where to find the Google OpenID URL?<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5w62HOashqEU3toUelfJZHGP2JexLeoLvH6pa9vMNeTtg0psF50TZeyGqJGap5LMCkqgu_d4Af-L-CDRm_KF64QhadjMxn2id7YcdvwLnswI5uXEqtJfFk4AHjU4ZEa7UUL-3h98Gvp4/s1600/Screen+shot+2011-02-20+at+11.14.32+PM.png"><img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 284px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5w62HOashqEU3toUelfJZHGP2JexLeoLvH6pa9vMNeTtg0psF50TZeyGqJGap5LMCkqgu_d4Af-L-CDRm_KF64QhadjMxn2id7YcdvwLnswI5uXEqtJfFk4AHjU4ZEa7UUL-3h98Gvp4/s320/Screen+shot+2011-02-20+at+11.14.32+PM.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5575899508850101346" /></a><br />So, you want to get a pass to your preferred website and it let's you login using <a href="http://en.wikipedia.org/wiki/OpenID">OpenID</a>. You also have a Google account, and you also know that <a href="http://www.readwriteweb.com/archives/google_is_now_an_openid_provider.php">Google is an OpenID provider</a>. <div>The issue now is that the website is asking you for the URL of your OpenID Google Profile. So what a hell is that? </div><div><br /></div><div>The Google Profile URL is the address of your Google account. BUT not all accounts have a profile. To get your URL or create a Google Profile:</div><div><ul><li>Go to <a href="http://www.google.com/profiles">http://www.google.com/profiles</a></li><li>Click "Create my Profile". This means that you haven't any Profile yet.</li><li>If you already have one, click "View my Profile" and then click "Edit Profile" at the right top menu.</li></ul><div>Edit your Profile info and scroll down until the bottom. If your profile is a new one, you have to complete the textbox input to have a Google OpenID URL and hit "Create a Google Profile".</div></div><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSClWxb2UG9nP7HWoRxh3TsQcp17ui7_bzqLDg7adXT4rhMaf9kt7KZLlg0LMa6Q_APiiDs-abMSI1GsdohrmXb9TwSKASJg5A5QWqSrwPMa0oJg_hab24WU8HUWkxXy8sd6S-4IhVTA/s1600/Screen+shot+2011-02-21+at+12.02.16+AM.png"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 158px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUSClWxb2UG9nP7HWoRxh3TsQcp17ui7_bzqLDg7adXT4rhMaf9kt7KZLlg0LMa6Q_APiiDs-abMSI1GsdohrmXb9TwSKASJg5A5QWqSrwPMa0oJg_hab24WU8HUWkxXy8sd6S-4IhVTA/s320/Screen+shot+2011-02-21+at+12.02.16+AM.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5575912707651479074" /></a><br /><div><div> You should now have a profile URL. You can copy it, remember it and use it everywhere where the OpenID protocol is supported. So that's all, you now have a Google Profile URL and a OpenID username for your preferred website.</div></div>Brutuscathttp://www.blogger.com/profile/00190275386103385117noreply@blogger.com0