Skip to content

Instantly share code, notes, and snippets.

View EvergreenTheTree's full-sized avatar

Evergreen EvergreenTheTree

View GitHub Profile
@EvergreenTheTree
EvergreenTheTree / PKGBUILD
Last active November 17, 2022 10:58
Bitwig 4.3 Beta 2 PKGBUILD
# Maintainer: Jonathon Fernyhough <jonathon at_m2x+dev>
# Contributor: Aleksej Komarov <[email protected]>
# Contributor: MKzero <info[at]linux-web-development[dot]de>
# Contributor: Evergreen <evergreenubuntu[at]gmail[dot]com>
# Upstream: Bitwig GmbH <[email protected]>
# Original PKGBUILD taken wholesale from stylemistake's bitwig-studio package
# JF added a prepare() to allow side-by-side installation with release version
pkgname=bitwig-studio-beta
@EvergreenTheTree
EvergreenTheTree / fixscroll.vim
Created May 20, 2015 00:00
Vim fixed side scrolling
function! s:FixScroll()
if &wrap
return 0
elseif col(".") - wincol() - &fdc + &number * &numberwidth ==# 0
return 0
endif
let l:targetcol = winwidth(0) - &sidescrolloff
if wincol() < l:targetcol
@EvergreenTheTree
EvergreenTheTree / gruvbox.theme
Created May 12, 2015 17:59
Gruvbox dark theme for xfce4-terminal (put this in ~/.xfce4/config/terminal/terminalrc)
ColorForeground=#f2f2e5e5bcbc
ColorBackground=#323230302f2f
ColorCursor=#d65bc4cd8ca1
ColorPalette=#323230302f2f;#cccc24241d1d;#989897971a1a;#d7d799992121;#454585858888;#b1b162628686;#68689d9d6a6a;#929283837474;#1d1d20202121;#fbfb49493434;#b8b8bbbb2626;#fafabdbd2f2f;#8383a5a59898;#d3d386869b9b;#8e8ec0c07c7c;#b9b9a6a69393
@EvergreenTheTree
EvergreenTheTree / akregator_firefox.sh
Created May 10, 2015 00:38
Script to make firefox play nicely with akregator
#!/bin/bash
if [ -z "$(/sbin/pidof akregator)" ]
then
akregator
fi
for f in "${@/feed/http}"; do
qdbus org.kde.akregator /Akregator \
org.kde.akregator.part.addFeedsToGroup "$f" "Imported"
done
@EvergreenTheTree
EvergreenTheTree / Gruvbox.colorscheme
Created April 27, 2015 23:27
Gruvbox dark theme for konsole
[Background]
Color=50,48,47
[BackgroundIntense]
Color=29,32,33
[Color0]
Color=50,48,47
[Color0Intense]
@EvergreenTheTree
EvergreenTheTree / .tmux.conf
Last active August 29, 2015 14:19
My tmux configuration
#
## Evergreen's tmux config file
#
# General Settings ------------------------------------------------------- {{{
# 256 colors please
set -g default-terminal "screen-256color"
# Use vim keys for copy mode
@EvergreenTheTree
EvergreenTheTree / sort.py
Created August 25, 2014 20:15
Just a quick command line number/string sorter
#!/usr/bin/python
from sys import argv
from sys import exit
help = '''Usage: sort [OPTION]... [ARGS]\n
[OPTIONS]
\'-a\' - Sort ARGS alphabetically.
\'-i\' - Sort ARGS numerically.
\'-b\' - Sort ARGS alphabetically
\'--help\' - Display this dialog.'''