Skip to content

Instantly share code, notes, and snippets.

🏋️‍♀️
Challenge Accepted

Hleb Albau hleb-albau

🏋️‍♀️
Challenge Accepted
Block or report user

Report or block hleb-albau

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am hleb-albau on github.
  • I am hleb_albau (https://keybase.io/hleb_albau) on keybase.
  • I have a public key ASArG8mqT4Yu2KvpAeDE2gIFX4L8qDrl9Ujva3JWdyhk9Qo

To claim this, I am signing this object:

View hleb.albau ssh pub key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCwucUjvGbV2w5tI0rBFdfK89nwTbBprbys5nxSCWJINnwMqPkiXxP4kXyE/m0IaabcXUOKt/oyIe5FiY4lP/CLSH2xpqnsj9qPCAr4kAFGgAegrSgileIfgexS86jqjJA76QgrRnYCujJGALQjll1vTnmZ7Z3POM1QJbhaSbX01809eMAKfyBK2qJFx+83rGyCYIUppYT6Ndb09k9sEE20wcTfeKPDCKxxgn0je8PGI9yH53BHEgi+tJfFvMWHwVSff1v/s4ZReqr2HlPmQfBGz45uCKVa9GCTafwTOQZ94oXJmVMzMUupY7ZR9rs7p8uW8Wvn200qmB5RUc8QSRTSbdszrWNZq541c3+VBsBGAe6xYJSKrmR4AmUhGepcauvgQxc1RLt7EfJ1zAzuNGKqLQtH7b+ILeiac3AMZQ7X/LndwJirVoyYxufyNaYI8fKZgYGAFpleyvbrLgEfBTfpXyqQoWx5B5/muRc2XubhQAL/j28XPYlHWyN7V8NpxoOx3Ym8uluZrq2fNZ1G+lmQINc/SeTB9v+F2tBraSiyR6UYkzXmZEPdXFXY+HrhNzWW6qRCwZNPTPMpKYRXMqJClORqXya1ORL/SxxFr65Budah+Q2RXa245iYCNyQ/6qSpZjpHG2N7MhJoxomWbehUgxrI8cebSzr6Qx+O4Vormw== hleb.albau@gmail.com
@hleb-albau
hleb-albau / build-doc.sh
Last active Sep 25, 2016
build documentation with asciidoctor docker image
View build-doc.sh
#!/bin/bash
ADOC_FILE_NAME="labs"
yes | rm "$ADOC_FILE_NAME"'.pdf'
docker run --rm -v "$PWD":/documents/ asciidoctor/docker-asciidoctor /bin/bash -c 'asciidoctor-pdf '"$ADOC_FILE_NAME"'.adoc'
@hleb-albau
hleb-albau / gnome-workspaces-setup.sh
Last active Nov 10, 2017
Simple script to configure static 8 gnome workspaces with hotkey binding.
View gnome-workspaces-setup.sh
#!/bin/bash
# This script:
# 1) Disable dynamic workspaces.
# 2) Set number of static workspaces to 8.
# 3) Bind hotkey 'super+{x}' to switch to {x} workspace
gsettings set org.gnome.shell.overrides dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 8
@hleb-albau
hleb-albau / video-encode.py
Last active Dec 5, 2016
Simple python script to encode videos using ffmpeg
View video-encode.py
"""
This python script encodes all files in specified working directory.
Sources: http://ffmpeg.org/trac/ffmpeg/wiki/x264EncodingGuide
command: python video-encode.py /dir/to/encode
output: /dir/to/encode/encoded
"""
You can’t perform that action at this time.