Skip to content

Instantly share code, notes, and snippets.

View dev3loperb's full-sized avatar

Igor P dev3loperb

  • Russia, Omsk
View GitHub Profile
@dev3loperb
dev3loperb / remove_untracked_git_branches.sh
Created May 16, 2021 14:27
Remove untracked git branches
git branch --merged >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches
@dev3loperb
dev3loperb / logback.xml
Created November 17, 2016 07:55
Colorful logback console logs
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%red(%d) [%thread] %highlight(%-5level) [%F:%L] %boldYellow(%logger{5}) - %magenta(%mdc{username}) %msg%n</pattern>
</encoder>
</appender>
<root level="INFO">
<appender-ref ref="console" />