Monday, January 25, 2021

SVN commands compared to GIT



CHECKOUT (git clone)

>svn checkout http://x.x.x.x.:18080/svn/branch 


Revert to specific revision 

>svn up -rxxx


Share Article : SVN commands compared to GIT
Share/Save/Bookmark

When you are stuck loading eclipse




you have tried even restarting the PC and still doesn't work ? 

Do following form command line, it works 


>>eclipse -console -consoleLog -clean


Ref: https://eclipsesource.com/blogs/2013/08/22/eclipse-command-line-options/


Share Article : When you are stuck loading eclipse
Share/Save/Bookmark

Saturday, January 9, 2021

Change mysql/mariadb root password


 >mysqladmin --user=root --password=oldpassword password "newpassword"

Change password for remote login as following

1. First login to mysql in command line

>mysql -u root -p

2. Then change password

>SET PASSWORD FOR 'root'@'%' = PASSWORD("NEWPASSSWORD");




Share Article : Change mysql/mariadb root password
Share/Save/Bookmark

Adding ssh key to ssh-agent so everytime you don't have to enter pass phrase for the rsa key


 Start ssh-agent if not started:

$ eval `ssh-agent -s`

Add your private key using ssh-add

$ ssh-add ~/.ssh/id_rsa_key  
Enter passphrase for /home/user/.ssh/id_rsa_key:  
Identity added: /home/user/.ssh/id_rsa_key   
(/home/user/.ssh/id_rsa_key)  

Check if the key is added (parameter is a lowercase L):

$ ssh-add -l  
2048 55:96:1a:b1:31:f6:f0:6f:d8:a7:49:1a:e5:4c:94:6f  
/home/user/.ssh/id_rsa_key (RSA)

Share Article : Adding ssh key to ssh-agent so everytime you don't have to enter pass phrase for the rsa key
Share/Save/Bookmark