Skip to content

Instantly share code, notes, and snippets.

View sheff3rd's full-sized avatar
👁️
watching you

technoch1ef sheff3rd

👁️
watching you
View GitHub Profile
const composeEnhancers =
typeof window === "object" &&
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ?
window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({
// Specify extension’s options like name, actionsBlacklist, actionsCreators, serialize...
}) : compose;
// Reset all local commits
git reset --hard @{u}
// Delete untracked files and directories
git clean -f -d
// reset all unpushed commits, keep the work
git reset --soft
// reset all unpushed commits, destroy the work

Existing forms API:

Directives:

  • ngControl
  • ngFormControl
  • ngModel
  • ngFormModel
  • ngControlGroup
- git rebase -i branch~n
replace 'pick' from second line to last to 'f'
save and exit
- git push branch --force
- git checkout branch
- git commit
- git checkout master
- git pull
- git checkout branch
- git rebase origin/master
if there are no conflicts:
- git push branch --force