- Copy
ghrepo.sh
to~/
. - Setup permissions.
cd ~/
chmod +x ./ghrepo.sh
- In
~/.bash_profile
, add the following alias:
alias ghrepo=$HOME/ghrepo.sh
- Install modified
gh
andpackage-field
tools:
npm install gh package-field -g
ghrepo.sh
to ~/
.cd ~/
chmod +x ./ghrepo.sh
~/.bash_profile
, add the following alias:alias ghrepo=$HOME/ghrepo.sh
gh
and package-field
tools:npm install gh package-field -g
In React 0.12, we're making a core change to how React.createClass(...)
and JSX works.
If you're using JSX in the typical way for all (and only) React components, then this transition will be seamless. Otherwise there are some minor breaking changes described below.
The Problem
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
body { | |
background-color: #000080; | |
color: #0FF; | |
} | |
a { | |
color: #0FF; | |
} | |
.cmd-button { |
Make sure you have adb
installed and that it works. Test this by connecting your phone and running adb devices
. In order to proceed past the build stage, your device must be rooted. The device I used is running Cyanogenmod with root enabled for both apps and adb.
You'll need to get the Android NDK. I used r8e, which you can get from here: http://dl.google.com/android/ndk/android-ndk-r8e-linux-x86.tar.bz2. Make sure you get the x86 version, as the x86_64 version will not help you. Let's call the path where you unpack this NDK_PATH.
var stream = require('stream'); | |
function streamify(text) { | |
var s = new stream.Readable(); | |
s.push(text); | |
s.push(null); | |
return s; | |
} | |
streamify('foo\n').pipe(process.stdout); |
Yet another framework syndrome
Name | Date | URL | Stars |
---|---|---|---|
Jake | April 2010 | https://github.com/mde/jake | 1000 |
Brunch | January 2011 | http://brunch.io/ | 3882 |
[In reply to https://news.ycombinator.com/item?id=7219005]
Here's the history, hope it helps.
I wrote the original version of the npm registry in a day or two on top of CouchDB. I built it quickly and didn't think much about scale.
Isaacs continued to improve and maintain that code. At one point he even wrote up an open standard for generic js package registries for CommonJS but they didn't seem to care (they were too busy arguing about promises).
At the time I wrote the initial code I was employed at CouchOne and we had a small CouchDB hosting platform operated by Jason Smith which is where we ran the registry free of charge. Later on, after CouchOne was aquired by Membase and became Couchbase, it decided to break off the hosting company and give/sell it to Jason Smith, which became IrisCouch.
var Term; | |
(function() { | |
'use strict'; | |
var socket = io.connect(); | |
window.addEventListener('load', function() { | |
var element = document.getElementById('js-terminal'), | |
cell = createCell(element), |