This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.
— Erik
| # Xcode 4.3.3 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix | |
| # Xcode 4.3.2 | |
| Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn) | |
| Target: x86_64-apple-darwin11.4.0 | |
| Thread model: posix |
| * Only the releases of the stable versions are listed in principle. The releases of the unstable versions especially considered to be important are indicated as "not stable." | |
| * The branches used as the source of each releases are specified, and the branching timing of them are also shown. BTW, before subversionizing of the repository, the term called "trunk" was not used, but this list uses it in order to avoid confusion. | |
| * In order to show a historical backdrop, big conferences (RubyKaigi, RubyConf and Euruko) are also listed. About the venues of such conferences, general English notations are adopted, in my hope. | |
| * ruby_1_8_7 branch was recut from v1_8_7 tag after the 1.8.7 release because of an accident. | |
| * 1.2.1 release was canceled once, and the 2nd release called "repack" was performed. Although there were other examples similar to this, since the re-releases were performed during the same day, it does not write clearly in particular. | |
| * Since 1.0 was released with the date in large quantities, the mi |
| $stack, $draws = [], {} | |
| def method_missing *args | |
| return if args[0][/^to_/] | |
| $stack << args.map { |a| a or $stack.pop } | |
| $draws[$stack.pop(2)[0][0]] = args[1] if args[0] == :< | |
| end | |
| class Array | |
| def +@ |
| ## 213 YEARS OF POLITICAL EVOLUTION IN 60 SECONDS v4 | |
| # Created: | |
| ## Jay Ulfelder | |
| ## October 1, 2012 | |
| # Modified: | |
| ## Tony Boyles[[email protected]] | |
| ## March 20, 2014 |
This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.
Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:
getTweetsFor("domenic", function (err, results) {
// the rest of your code goes here.| # I'm no benchmark guru. Just did a bunch of: | |
| $ time ruby <filename> | |
| # Note: This is just an 80mb XML file with 38,000 nodes. | |
| ox_dom.rb 4.56s user 0.78s system 93% cpu 5.714 total (550mb) | |
| ox_dom.rb 4.58s user 0.79s system 87% cpu 6.126 total (550mb) | |
| ox_dom.rb 4.60s user 0.80s system 87% cpu 6.140 total (550mb) | |
| nokigiri_dom.rb 11.75s user 1.02s system 94% cpu 13.518 total (895mb) | |
| nokigiri_dom.rb 11.36s user 1.02s system 93% cpu 13.211 total (895mb) |
Web fonts are pretty much all the rage. Using a CDN for font libraries, like TypeKit or Google Fonts, will be a great solution for many projects. For others, this is not an option. Especially when you are creating a custom icon library for your project.
Rails and the asset pipeline are great tools, but Rails has yet to get caught up in the custom web font craze.
As with all things Rails, there is more then one way to skin this cat. There is the recommended way, and then there are the other ways.
Here I will show how to update your Rails project so that you can use the asset pipeline appropriately and resource your files using the common Rails convention.