Install Homebrew(Package manager):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew upgrade && brew update
If not installed, install:
- Java:
#!/bin/bash | |
# To be used with: https://gist.github.com/daniel-vera-g/dc4df64ed1064406c8956f588c538d41 | |
# Migrate multiple repositories from github to gitlab | |
# Name of repos to migrate | |
reposToMigrate=('') | |
# Name of gitlab domain |
#!/bin/bash | |
# Clean up temporary latex files | |
# Requires fd-find dependency | |
FilesToClean=("aux" "bbl" "blg" "fdb_latexmk" "fls" "log" "out" "pdf" "acn" "glo" "ist" "toc") | |
for file in ${FilesToClean[@]}; do | |
echo "Cleaning up ${file} files.." | |
fd -e $file --no-ignore -x rm {} |
createdb -U musicbrainz musicbrainz
CREATE SCHEMA musicbrainz;
psql -U musicbrainz -d musicbrainz -f schema_dump.sql
psql -U musicbrainz -d musicbrainz -f dump.sql
psql -U musicbrainz -d musicbrainz
musicbrainz=# select name from artist limit 10;