background preloader

Home · mxcl/homebrew Wiki

Home · mxcl/homebrew Wiki

Installing spidermonkey and then not needing it on OSX It was amazing how easy it was to install spidermonkey on OSX. I could not get it installed on Linux. The problem was the CPAN modules are … not so usable. So here is the path I had to take to get something to where I could write some tests that compare a javascript function's result to a perl function's result. Basically all I needed was step 9. Install homebrewTerminal: brew install spidermonkeyTerminal: find /usr/local -name jsapi.hTerminal: find /usr/local/ -name pratom.hTerminal: sudo su -l Terminal (root): JS_INC=/usr/local/Cellar/spidermonkey/1.8.5/include/js:/usr/local//Cellar/nspr/4.8.8/include/nspr JS_LIB=/usr/local/Cellar/spidermonkey/1.8.5/lib/js cpan JavaScriptIs your SpiderMonkey compiled with JS_THREADSAFE (most things will fail if you answer wrong)?

MacPorts to Homebrew : New Packaging system for Mac OS X | Abhinay's Code Blog I just wanted to post a blog on Homebrew because, I started loving it already. Homebrew is the new modern package management system for Mac OS X wich beats MacPorts. Yah! Homebrew is faster. Homebrew is a Packaging system for Mac OS X 10.5 and above; heavy optimisations, no redundant packages and a bonus beer theme. Here how you can install Homebrew on your Mac: I prefer installing homebrew in /usr/local directory.sudo curl -L | sudo tar xz --strip 1 -C /usr/local to avoid using sudo when installing packages, change the owner recursively on /usr/local directorysudo chown -R `whoami` /usr/local That’s it. Now, Let’s install wget using homebrewMacBook:~ abhinay$ brew install wget ==> Downloading File already downloaded and cached to /Users/abhinay/Library/Caches/Homebrew ==> . Really easy! Have fun! Note: If you are facing problem because of MacPorts, try to uninstall it – Uninstall Instructions

node.js In the "hello world" web server example below, many client connections can be handled concurrently. Node tells the operating system (through epoll, kqueue, /dev/poll, or select) that it should be notified when a new connection is made, and then it goes to sleep. If someone new connects, then it executes the callback. This is in contrast to today's more common concurrency model where OS threads are employed. Node is similar in design to and influenced by systems like Ruby's Event Machine or Python's Twisted. HTTP is a first class protocol in Node. But what about multiple-processor concurrency? See also:

mxcl's homebrew at master - GitHub Home · pivotal/jasmine Wiki JavaScript while Loop Tutorial Contents Copyright © 2000 - 2014 C# Station, All Rights Reserved Welcome to the C# Station Tutorial This is a set of lessons suited for beginning to intermediate programmers or anyone who would like to gain familiarity with the C# programming language. These lessons will help you get a quick head-start with C# programming. To get started, you will need a compiler and an editor. There are several options for obtaining a compiler to write C# programs. This tutorial is a work in progress. Once you've completed this tutorial, you may be interested in additional resources to continue learning C#. I hope you enjoy the tutorial, and best of luck! Joe Follow Joe Mayo on Twitter. References: C# Language Reference and Specifications Standard ECMA-334 C# Language Specification Lessons:

Related: