Skip to content

Instantly share code, notes, and snippets.

Avatar
🎓
Learning c#

Thomas teberl

🎓
Learning c#
View GitHub Profile
View dont_fear_the_release.md

Don't fear the release

Releases with Distillery 2.0 and Docker

Contents

  1. OTP Release using distillery
    • Create a new phoenix project
    • Building the first release
    • Run your release
    • Move the release anywhere
View misc-commands.md

Shell

Delete all branches except master from the local repository

alias gbD="git branch | grep -v "master" |xargs git branch -D"

Find applications listen on port 3k

lsof -n -i:3000 | grep LISTEN

List the 20 biggest files in your home directory

sudo du -ah /home | sort -n -r | head -n 20

@teberl
teberl / keybindings.json
Last active Sep 6, 2020
vscode-settings
View keybindings.json
// Place your key bindings in this file to overwrite the defaults
[
{ "key": "ctrl+q",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "ctrl+shift+x",
"command": "workbench.action.terminal.kill"
},
{