Skip to content

Instantly share code, notes, and snippets.

View borovaka's full-sized avatar

Borislav Anchev borovaka

View GitHub Profile
#! /bin/bash
JS_EXTRACT_FOLDER=/opt/gnome-shell-js
#DETECT 32/64 BIT SYSTEM
if [ ! -d "/usr/lib64/" ]; then
GNOME_SHELL_LIB=/usr/lib/gnome-shell/libgnome-shell.so
else
GNOME_SHELL_LIB=/usr/lib64/gnome-shell/libgnome-shell.so
@borovaka
borovaka / docker-cleanup-resources.md
Created February 21, 2018 16:19 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

Keybase proof

I hereby claim:

  • I am borovaka on github.
  • I am borovaka (https://keybase.io/borovaka) on keybase.
  • I have a public key ASAp5x_NVi_n3bWqDQArYCGWSAbg3BgzFYBdGS5JLpZ6UAo

To claim this, I am signing this object:

@borovaka
borovaka / gist:e0bd4b88762e98ad67674b9d3c6cb1bc
Created July 7, 2017 21:20
Gtk3 Adwait reduced titlebar
window.ssd headerbar.titlebar {
padding-top: 4px;
padding-bottom: 4px;
min-height: 0;
}
window.ssd headerbar.titlebar button.titlebutton {
padding: 0px;
min-height: 0;
min-width: 0;

Keybase proof

I hereby claim:

  • I am borovaka on github.
  • I am borovaka (https://keybase.io/borovaka) on keybase.
  • I have a public key ASC1Hm0jEEq1DvUZf946HxWeBImwTLQOnsgCRUpDc4gYdQo

To claim this, I am signing this object:

@borovaka
borovaka / gist:3fbaf923367c8ad1da9c39d1ee3c368a
Created August 31, 2016 19:45 — forked from leftclickben/gist:322b7a3042cbe97ed2af
Steps to migrate from SVN to GitLab

Steps to migrate from SVN to GitLab

This process worked for me. I take no responsibility for any damage or loss incurred as a result of following or not following these steps or, for that matter, anything else you might do or not do.

Setup

  • SVN is hosted at svn.domain.com.au.
  • SVN is accessible via http (other protocols should work).
  • GitLab is hosted at git.domain.com.au and: