Skip to content

Instantly share code, notes, and snippets.

@wknapik
wknapik / fuzzy_run
Last active January 24, 2020 16:26
An application launcher with fuzzy search via fzy (fzf would also work)
#!/usr/bin/env bash
# Requirements: bash, coreutils, fzy, xdotool, xterm.
#
# Position and decorations can be set in i3 with something like:
# for_window [class="^FuzzyRun"] floating enable border none move position center
#
# Either `-fullscreen', or `-geometry' should be used. With both in place,
# `-fullscreen' takes precedence.
@jemyzhang
jemyzhang / install_makemkv.sh
Last active February 12, 2019 01:26 — forked from knugie/install_makemkv.sh
Ubuntu - Install MakeMKV 1.10.2
sudo apt-get install build-essential pkg-config libc6-dev libssl-dev libexpat1-dev libavcodec-dev libgl1-mesa-dev qt5-default
wget http://www.makemkv.com/download/makemkv-oss-1.10.2.tar.gz
wget http://www.makemkv.com/download/makemkv-bin-1.10.2.tar.gz
tar -xvf makemkv-oss-1.10.2.tar.gz
tar -xvf makemkv-bin-1.10.2.tar.gz
cd makemkv-oss-1.10.2/
./configure
make
sudo make install
@JosephMillsAtWork
JosephMillsAtWork / bashhighlighter.cpp
Created September 30, 2016 12:59
Bash Syntax Highlighter
#include "bashhighlighter.h"
#include <QColor>
BashSyntaxHighlighter::BashSyntaxHighlighter(QObject *parent)
:
QSyntaxHighlighter(parent)
{
}