
1~$ git fetch 2fatal: unable to access 'https://github.com/icasimpan/example.git/': SSL connect error Fixed by: 1yum update -y nss curl libcurl
Read More
Sometimes, you need to use specific keys. To do it, use ssh config, something like below in ~/.ssh/config 1host github.com 2HostName github.com 3IdentityFile ~/.ssh/id_rsa_github 4User git See details in https://superuser.com/questions/232373/how-to-tell-git-which-private-key-to-use
Read More
In some situations, you only need the latest commit log, saving space in the process. You have to do it as follows: 1git clone --depth=1 REPO
Read More1apt list --installed See https://askubuntu.com/questions/17823/how-to-list-all-installed-packages
Read More1dpkg -s <package> 2apt-cache showpkg <package> See details in https://askubuntu.com/questions/8560/how-do-i-find-out-which-repository-a-package-comes-from
Read More1alaa@aa-lu:~$ apt-cache policy vlc 2vlc: 3Installed: 2.0.8-0ubuntu0.13.04.1 4Candidate: 2.0.8-0ubuntu0.13.04.1 5Version table: 6*** 2.0.8-0ubuntu0.13.04.1 0 7500 http://ae.archive.ubuntu.com/ubuntu/ raring-updates/universe i386 Packages 8500 http://security.ubuntu.com/ubuntu/ raring-security/universe i386 Packages …
Read More