Skip to content

Instantly share code, notes, and snippets.

View lkopocinski's full-sized avatar
👨‍💻
Software Engineering | Machine Learning

Łukasz Kopociński lkopocinski

👨‍💻
Software Engineering | Machine Learning
  • Wrocław, Poland
View GitHub Profile
@lkopocinski
lkopocinski / postal_codes_regex.json
Last active April 7, 2024 19:35
JSON file with postal codes regex patterns
[
{
"abbrev":"AF",
"name":"Afghanistan",
"postal":"[0-9]{4}"
},
{
"abbrev":"AL",
"name":"Albania",
"postal":"(120|122)[0-9]{2}"
| | Shortcut | Action |
|---|---------------------|---------------------------------------------|
| x | ⌘ + n | Open new window |
| x | ⌘ + Shift + n | Open new Incognito window |
| x | ⌘ + t | Open new tab, and jump to it |
| x | ⌘ + Shift + t | Reopen previously closed tabs |
| x | ⌘ + Shift + ] | Jump to the next tab |
| x | ⌘ + Shift + [ | Jump to the previous tab |
| x | ⌘ + 1 through ⌘ + 8 | Jump to a specific tab |
| x | ⌘ + 9 | Jump to the last tab |
@lkopocinski
lkopocinski / jupyter_theme.sh
Last active September 7, 2019 13:54
My favourite jupyter notebook theme configuration using https://github.com/dunovank/jupyter-themes
jt -t gruvboxd -f hack -fs 10 -tf latosans -tfs 12 -nf latosans -nfs 9 -cellw 75% -lineh 120 -altp
@lkopocinski
lkopocinski / pruneRemote.sh
Last active April 2, 2018 22:16
Git command for pruning remote branches
git remote prune origin
@lkopocinski
lkopocinski / pruneDryRun.sh
Last active March 18, 2018 13:25
Git command for reporting what would be pruned
git remote prune origin --dry-run
@lkopocinski
lkopocinski / deleteMerged.sh
Last active March 18, 2018 13:25
Git command for deleting merged branches
git branch --merged | grep -E -v "master|develop" | xargs git branch -d
@lkopocinski
lkopocinski / gitconfig
Created February 12, 2018 08:25
Git branches aliases
[alias]
po = !git remote prune origin
dm = !git branch --merged | grep -E -v \"master|develop\" | xargs git branch -d