Unable to get it working without assistive access.
works with assistive scripteditor, not works with assistive terminal
Not a good practice to enable it on peoples computers who user your program.
# Set variables in .bashrc file | |
# don't forget to change your path correctly! | |
export GOPATH=$HOME/go | |
export GOROOT=/usr/local/opt/go/libexec | |
export PATH=$PATH:$GOPATH/bin | |
export PATH=$PATH:$GOROOT/bin |
Installation of other peoples projects with haskel has been met with varying success.
Hopefully this post helps:
https://pemungkah.com/xmonad-on-os-x-mavericks/
condensed info from that article into a command below: (excluding, XQuartz)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" &&
brew install ghc cabal-install wget &&
A Pen by Rishikesh kumar on CodePen.
cd ~ && | |
startingFolderLocation=$OLDPWD && | |
git clone https://github.com/bats-core/bats-core.git && | |
cd bats-core && | |
sudo ./install.sh /usr/local && | |
cd $startingFolderLocation && | |
mkdir bats_test_suite_example && | |
cd bats_test_suite_example && | |
echo ' | |
#!/usr/bin/env bats |
Check before running bats does not exist: which bats
Check after running bats exists at nodemodule path which bats
If you have nvm and switch versions a reinstall may be required.
Putting the following into terminal will setup a bash test suite example using NPM global packages.
## remove potential previous bats installation:
## rm -rf /usr/local/bats;
A Pen by MichaelDimmitt on CodePen.
A Pen by MichaelDimmitt on CodePen.
# Elixir has lazily evaluated enumerable objects that allow you | |
# to work with enumerable objects like lists either only as needed | |
# or infinitely. | |
# Start up iex to play around | |
$ iex | |
# Typical enumeration is done eagerly where the result is computed ASAP | |
iex> Enum.map(1..10, fn i -> i * 2 end) | |
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20] |