I hereby claim:
- I am pedrolopez on github.
- I am lopezpedro (https://keybase.io/lopezpedro) on keybase.
- I have a public key ASC-ljYaKo676dThfgd7n_3IhVH91HPIGt_Ufamyn3x70wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
# checks to see if running | |
launchctl list | grep elasticsearch | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist | |
launchctl remove homebrew.mxcl.elasticsearch | |
pkill -f elasticsearch |
[From: http://hanxue-it.blogspot.com/2018/08/macos-homebrew-installing-older-version-of-software.html - just created a copy to keep it for long term] | |
Homebrew always wants to install the latest version of the Formula (software). This is by design, because every time there is an update to a formula, it wants to be tested against all the other formulas that it depends on. Mixing new and old versions of software is a recipe for incompatibility disaster. | |
But sometimes there are situations where you need an older version of software. In my specific case, Yarn was compiled against an older version of icu4c, and I want that older version instead of recompiling Yarn. | |
$ yarn install | |
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib | |
Referenced from: /usr/local/bin/node |
#!/usr/bin/env bash | |
echo "Need to recapture iTerm settings" | |
exit -1 | |
# TODO: Need to figure out the settings for the following: | |
# 1) Finder: Left nav, favorite items with their order | |
# 2) Dock: Items with order | |
# 3) Security & Privacy Preferences: Full Disk Access, Camera, Microphone | |
# 4) Login items for my user (i.e. apps started when I login) |
At time of writing, Cloud9 has PostgreSQL pre-installed, so you won't need to install it yourself. However, its not running by default, so you will need to start it with this command in the terminal:
sudo service postgresql start
Change the PostgreSQL password to 'password' (or choose a different password):
def recursively_flatten_an_array(nested_array, flattened_array = []) | |
nested_array.each do |obj| | |
unless obj.is_a? Array | |
flattened_array << obj | |
else | |
recursively_flatten_an_array(obj, flattened_array) | |
end | |
end | |
return flattened_array |
Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.