Need to overwrite remote codebase with new git folder.
git config --global user.name "Ahmed"
git config --global user.email "[email protected]"
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers | |
Africa/Asmara | |
Africa/Bamako | |
Africa/Bangui | |
Africa/Banjul | |
Africa/Bissau | |
Africa/Blantyre |
Need to overwrite remote codebase with new git folder.
git config --global user.name "Ahmed"
git config --global user.email "[email protected]"
[api]: New apis / changes to apis | |
[test]: Update test/* files | |
[dist]: Changes to submodules, version bumps, updates to package.json | |
[minor]: Small changes | |
[doc]: Updates to documentation | |
[ux]: Updates to UX | |
[fix]: Bug fixes | |
[bin]: Update binary scripts associated with the project | |
[merge]: Resolved git merge from upstream or otherwise | |
[refactor]: Refactor of existing code with no external API changes |
Node wasn't letting me install new modules throwing at me an EACCESS: permission denied
error every time.
This did it, it can work in other use cases as well, this one lets you install global packages, but you can change the directory to whichever:
$ sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
Suppose you clone in https mode and then decide to switch to SSH:
$ git remote set-url origin [email protected]:{GIT_PROFILE}/{REPO_NAME}.git
docker run -d --name es elasticsearch
docker run -d --name logstash --link es:elasticsearch logstash -v /tmp/logstash.conf:/config-dir/logstash.conf logstash logstash -f /config-dir/logstash.conf
docker run --link es:elasticsearch -d kibana
LOGSTASH_ADDRESS=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' logstash)
Really should checkout the Elastic Aggregations documentation, it's great:
In short, the format is something like this
"aggregations" : {
"<aggregation_name>" : {
"" : {