By creating link
Linking into /usr/bin with sudo:
$ sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/bin/sbl
| ## Enter these commands in terminal | |
| # use OSX Accelerate vecLib library | |
| cd /Library/Frameworks/R.framework/Resources/lib | |
| ln -sf /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Versions/Current/libBLAS.dylib libRblas.dylib | |
| # use OpenBlas downloaded with homebrew | |
| cd /Library/Frameworks/R.framework/Resources/lib | |
| ln -sf /usr/local/Cellar/openblas/0.3.1/lib/libopenblas.dylib libRblas.dylib |
| ``` | |
| > devtools::install_github("igraph/rigraph") | |
| Downloading GitHub repo igraph/rigraph@master | |
| from URL https://api.github.com/repos/igraph/rigraph/zipball/master | |
| Installing igraph | |
| '/usr/local/Cellar/r/3.5.1/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ | |
| '/private/var/folders/9v/251f7k_x6hn8t9wsz8v21rgh0000gn/T/RtmpVdR35c/devtoolsea7d6ffb882d/igraph-rigraph-057cc9d' \ | |
| --library='/usr/local/lib/R/3.5/site-library' --install-tests |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
| from rasa_nlu.converters import load_data | |
| # This re-uses the Rasa NLU converters code to turn a JSON Rasa NLU training | |
| # file into MD format and save it | |
| # Assumes you have Rasa NLU installed :-) | |
| # If you want other options, look at the NLU code to work out how to handle them | |
| # USE AT YOUR OWN RISK |
| # Install ZeroMQ | |
| sudo brew install zmq | |
| easy_install pyzmq | |
| [0] http://www.zeromq.org/bindings:python | |
| # Install OpenCV | |
| sudo brew install opencv | |
| # Install libusb |
Type this into your Terminal.app:
curl https://gist.githubusercontent.com/DirtyF/5d2bde5c682101b7b5d90708ad333bf3/raw/bbac59647ac66016cf443caf7d48c6ae173ae57f/setup-rbenv.sh | bash| user@server$ jupyter notebook --no-browser --port=8889 | |
| # run client side | |
| user@client$ ssh -N -f -L localhost:8000:localhost:8889 remote_user@remote_host | |
| firefox http://localhost:8000 | |
| # source: https://coderwall.com/p/ohk6cg/remote-access-to-ipython-notebooks-via-ssh |
| # set up flags for Numpy C extentions compiling | |
| export CFLAGS="-arch i386 -arch x86_64" | |
| export FFLAGS="-m32 -m64" | |
| export LDFLAGS="-Wall -undefined dynamic_lookup -bundle -arch i386 -arch x86_64" | |
| export CC=gcc-4.2 | |
| export CXX="g++ -arch i386 -arch x86_64" | |
| pip install numpy | |
| # success! |