Thursday, November 14, 2019

ORA-28000: the account is locked - FIX


## unlock oracle user account of my_user
>Login as SYSTEM 
SQL>ALTER USER my_username IDENTIFIED BY my_new_password ACCOUNT UNLOCK;

##check password lifetime
SQL>SELECT resource_name, limit FROM dba_profiles WHERE profile = 'DEFAULT' AND resource_type = 'PASSWORD';
##Change default limit to unlimited in ORACLE
SQL>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

Share Article : ORA-28000: the account is locked - FIX
Share/Save/Bookmark

Wednesday, October 16, 2019

Git, how to do a clean squash easy way


Simple as following

> git checkout bugfix/bugone
//do 6 commits and push it upstream
//now you want to squash all 6 in to one
//do the sqashing by number of commits
> git reset --soft HEAD~6 &&
> git commit
//force push the newly created single commit to upstream
//make sure you are the only user of this branch
> git push origin bugfix/bugone --force

Share Article : Git, how to do a clean squash easy way
Share/Save/Bookmark