Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block hub23

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
hub23 / youtube-dl-mp3
Last active Sep 29, 2018
youtube-dl wrapper for mp3 downloads
View youtube-dl-mp3
ydlBaseString='youtube-dl --no-call-home --min-sleep-interval 0.5 --max-sleep-interval 2 --prefer-ffmpeg --extract-audio --ignore-errors --audio-format mp3 -o "%(title)s.%(ext)s"'
ydlURL="$ydlBaseString $1"
ydlList="$ydlBaseString --batch-file=$1"
if [[ $1 =~ ^http.* ]] ;then
eval $ydlURL
elif [[ $1 ]] ;then
eval $ydlList
hub23 / hub.conf
Last active Mar 11, 2018
Geany Dark Theme
View hub.conf
# Based on:
description=A zenburn like dark theme for geany
# list of each compatible Geany release version
hub23 / eclipse
Created Nov 22, 2017
Run Eclipse Oxygen in Dark Themes with correct Icons
View eclipse
export SWT_GTK3=0 \
&& cd /foo/bar/eclipse/java-oxygen/eclipse/ \
&& /foo/bar/eclipse/java-oxygen/eclipse/eclipse
hub23 / config
Created Nov 22, 2017
Terminator Config
View config
window_state = maximise
enabled_plugins = CustomCommandsMenu, InactivityWatch, ActivityWatch, APTURLHandler
title_inactive_fg_color = "#afafaf"
suppress_multiple_term_dialog = True
title_transmit_bg_color = "#4c4c4c"
title_inactive_bg_color = "#2d2d2d"
broadcast_all = <Super>F9
broadcast_off = <Super>F10
hub23 /
Last active Nov 22, 2017 — forked from samatjain/
Shrink Raspbian Installation
df -h
# GUI-related packages
xserver-xorg xinit
gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base
hub23 / dropbox workaround
Created Aug 23, 2016
Dropbox xfce4-panel Icon Bug Workaround
View dropbox workaround
dropbox stop
dropbox start
hub23 / zsh theme
Last active Dec 1, 2019
Custom ZSH Theme
View zsh theme
# user colors
if [ $UID -eq 0 ]; then USERCOLOR="red"; else USERCOLOR="green"; fi
# box name
function box_name {
[ -f ~/.box-name ] && cat ~/.box-name || echo $HOST
# workdir
local current_dir='${PWD/#$HOME/~}'
hub23 / aliases
Last active May 25, 2017
Shell Config Snippets
View aliases
# ssh settings for x session
alias ssh-xcomp="ssh -XC -c blowfish-cbc,arcfour"
# ssh socks proxy
alias ssh-socks="ssh -D 1080"
# apt-get update, upgrade, dist-upgrade, clean, autoremove
alias update-full="sudo apt-get -qyf install \
&& sudo dpkg --configure -a \
&& sudo apt-get -qy update \
You can’t perform that action at this time.