I wrote this four years ago, so instead use this command:
$ docker rmi $(docker images -q -f dangling=true)
# settings.py | |
TEMPLATE_CONTEXT_PROCESSORS = ( | |
'django.core.context_processors.i18n', | |
) | |
# urls.py (outside i18n_patterns) | |
(r'^i18n/', include('django.conf.urls.i18n')), |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
####################### | |
# Setup | |
####################### | |
mkdir annex-test | |
cd annex-test | |
git init | |
git annex init master | |
####################### | |
# Fab setup task |
cd /usr/local | |
sudo chown -R `whoami`:admin ./ | |
git reset --hard | |
git clean -fd | |
cd ~ | |
find /usr/local/Library/Formula -type l -delete | |
brew doctor | |
brew update | |
brew prune | |
brew cleanup |
#!/bin/bash | |
# install rvm | |
aptitude install -y curl libz-dev | |
curl -L https://get.rvm.io | bash -s stable --ruby | |
source /usr/local/rvm/scripts/rvm | |
gem install fpm | |
# git clone | |
aptitude install -y git |