Since I installed xcode, all my ruby files (.rb) opens in xcode by default. I much prefer textmate. To change the set default application, Select a file on Finder Right click to display the context menu and select “Get Info” In “Open with:” section, you can change the default application. Don’t forget “Change All…” to [...]
Archive for February, 2012
How to change default application in OS X
Posted in Uncategorized, tagged default application, ruby on February 28, 2012 | Leave a Comment »
open finder in current directory from terminal
Posted in Uncategorized on February 27, 2012 | Leave a Comment »
It’s easier than I thought. (from http://www.tonyspencer.com/2008/08/11/open-finder-in-current-folder-from-terminal/) open .
structuremap will scan your machine.config / web.config
Posted in Uncategorized, tagged StructureMap on February 14, 2012 | Leave a Comment »
It’s not a security threat or concern. I don’t mean StructureMap does any harm. As IoC container, StructureMap tries to do his job by searching for assemblies specified in your machine.config or web.config. For example, it is a kind of legacy, but we specified our custom GAC assemblies in web.config in C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG The problem is StructureMap [...]
Ruby dojo #2 reverse string, array permutation, and filtering binary numbers
Posted in Uncategorized on February 10, 2012 | Leave a Comment »
It was the second ruby dojo yesterday (Thu. 9/2/2012). A few more people turned up this time. No pizza, sadly, but understandable that they can’t buy pizza and drinks every time. This time, it was more organised. If you are agile, you get better at each iteration. 3 problems were given. Reverse the string: “Welcome! [...]
d3.js Data-Driven Documents
Posted in Uncategorized, tagged d3, javascript library, mime type on February 2, 2012 | 1 Comment »
This is an amazing javascript library that allows you to impressively visualise your data. http://mbostock.github.com/d3/ When you download it from github, you have a great number of examples (I believe they are about 100). In order to try those examples, you need to request those example htmls through http, I mean, using web server. Javascript [...]