MISCELLANEOUS NOTES AND EXAMPLES

GitHub

To create a repo via the command line:
sudo curl -u "joepub1962" https://api.github.com/user/repos -d '{"name":"$testrepo"}'

To clone a repo:
git clone https://joepub1962@github.com/joepub1962/cartodb-postgresql.git


To login on as root: sudo su


--> Installing a software package:
sudo apt-get install < software pkg name >

-->Download from a website:
wget http://url/path-to-software-pkg/sftwr-pkg

--> Unzip and untar files:
tar xvzf files.tar.gz


Ubuntu's Repository file /etc/apt/sources.list


If for some reason you can't login into mysqladmin, do the following steps with a user with admin previleges

mysql -uroot
>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('your password here');
>flush privileges;
\q
then test acces
# mysql -uroot -p

Next,

mysqladmin -u root password NEWPASSWORD