Logout user in all browser

window.addEventListener('storage', this.syncLogout) 
//....

syncLogout (event) {
  if (event.key === 'logout') {
    console.log('logged out from storage!')
    Router.push('/login')
  }
}

window.localStorage.setItem('logout', Date.now())

Convert a char to int

char c = 'a';
int cNumber = Integer.parseInt(String.valueOf(c));
cNumber = Character.getNumericValue(c);

Git for CI implementation

git add .
git commit --amend
git push --force-with-lease <origin_name> <branch_name>