Skip to content

Instantly share code, notes, and snippets.

@andineck
andineck / locale.sh
Created November 21, 2013 13:18
add locale to ubuntu
# error message when connected via ssh to virtual host
Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "de_CH.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
# add locale
sudo locale-gen de_CH.UTF-8
@andineck
andineck / git.sh
Created November 21, 2013 13:06
install git on ubuntu
# other things that you might need as well
# git
sudo apt-get install git-core
# configure git via file
sudo nano ~/.gitconfig
# or configure git via commands
git config --global user.name "NewUser"
git config --global user.email newuser@example.com
@andineck
andineck / random_git_notes.sh
Last active April 17, 2021 09:22
random git notes
http://git-scm.com/
http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging
http://ndpsoftware.com/git-cheatsheet.html
https://help.github.com/articles/fork-a-repo
git status
git clean
@andineck
andineck / nodejs_install_on_ubuntu.sh
Last active December 28, 2015 23:19
node.js installation on ubuntu virtual hosts like hosteurope.de
# connect to virtual host
ssh root@<ip address>
> <root password>
# install node.js with apt-get
sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make nano
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs