This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew update | |
brew uninstall ImageMagick | |
brew install ImageMagick | |
gem uninstall rmagick | |
gem install rmagick | |
cd /usr/local/Cellar/imagemagick/6.8.0-10/lib | |
ln -s libMagick++-Q16.7.dylib libMagick++.dylib | |
ln -s libMagickCore-Q16.7.dylib libMagickCore.dylib | |
ln -s libMagickWand-Q16.7.dylib libMagickWand.dylib | |
bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message_input.on('typeahead:selected', function(e) { | |
query = $(this).val(); | |
$(this).typeahead('setQuery', ''); | |
$(this).val(query + ', '); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raw angular app: | |
Make sure karma is installed | |
>> npm install -g karma | |
Clone bare angular app from angular tutorial | |
>> git clone git://github.com/angular/angular-phonecat.git | |
>> git checkout -f step-0 | |
Run the server: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to install node on Ubuntu | |
>> git clone https://github.com/joyent/node.git | |
>> cd node/ | |
>> ./configure | |
>> make | |
>> sudo make install | |
Install NPM |
NewerOlder