Skip to content

Instantly share code, notes, and snippets.


Steven Saus uriel1998

View GitHub Profile
uriel1998 / openbox_tiling.rc
Created Jun 26, 2019
Openbox tiling emulation keybinds
View openbox_tiling.rc
<!-- Keybindings for moving windows -->
<keybind key="mod4-Left">
<action name="GoToDesktop">
<keybind key="mod4-Right">
<action name="GoToDesktop">
uriel1998 /
Last active Oct 15, 2020 — forked from sbrl/
Converter for pirate/bookmark-archiver that converts a plain-text list of urls into something it can understand.
#set -o errexit
#set -o nounset
# This program converts a plain-text list of urls to the
# bookmark-archiver HTML format.
# Requirements: curl, xidel
# Usage:
uriel1998 /
Created May 3, 2018
Script to run dropbox for multiple users on a headless server
uriel1998 /
Created Jan 7, 2017
Bash script to determine xinput number of touchpad (which changes!) and disable/enable
pad_name=$(xinput list --name-only | grep TouchPad)
id=$(xinput list --id-only "$pad_name")
case "$1" in
[Oo][Nn]*) xinput set-prop $id "Device Enabled" 1
[Oo][Ff]*) xinput set-prop $id "Device Enabled" 0
uriel1998 /
Created Sep 7, 2016 verification

Keybase proof

I hereby claim:

  • I am uriel1998 on github.
  • I am stevensaus ( on keybase.
  • I have a public key whose fingerprint is 9211 C1BC 8287 EFF0 63B4 E330 E54D 0B93 DD2F 731F

To claim this, I am signing this object:

uriel1998 /
Created Aug 24, 2016
Pictureframe With Conky
# Exactly as found from
# Except I added in where if you chose a directory, it'll pic a random
# picture from it.
## Picture frame via conky
## Author: Anjishnu Sarkar
## TODO:
uriel1998 /
Created Aug 14, 2016
Small shell script to copy each file in a directory into a subdirectory named the same as the filename (but not extension!) and then move the file into it.
dir=$(echo "$PWD")
for f in *
if [ -f "$f" ];then
# this is redundant due to how I'm searching, but why not?
filename=$(basename "$f")
uriel1998 /
Last active Aug 14, 2016
A python script to convert APEv2 ReplayGain tags, such as those written by mp3gain and foobar2000, to ID3v2 ReplayGain tags which MPD can read. does not support recursing through subdirectories. Requires Mutagen. In Ubuntu run "sudo apt-get install python-mutagen". From , no attribution given.
#! /usr/bin/env python
import sys
from optparse import OptionParser
import mutagen
from mutagen.apev2 import APEv2
from mutagen.id3 import ID3, TXXX
def convert_gain(gain):
if gain[-3:] == " dB":
gain = gain[:-3]
View main file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xmlns:og="" xmlns:fb="" lang="en" xml:lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta property="og:url" content="/libri-1437-462-szanse_i_perspektywy_polskiej_gospodarki_w_unii_europejskiej/" />
<meta property="og:description" content="Szanse I Perspektywy Polskiej Gospodarki W Unii Europejskiej. Author: Eulalia Skawinska. Pages: 1203. Format: pdf, epub, fb2, txt" >
<meta name="keywords" content="Szanse I Perspektywy Polskiej Gospodarki W Unii Europejskiej by Eulalia Skawinska,Szanse I Perspektywy Polskiej Gospodarki W Unii Europejskiej"/>
<meta property="og:type" content="article" />
<meta name="Generator" content="Drupal 7 (" />
uriel1998 /
Created Apr 26, 2014
A simple cover art downloader/extractor.
# requires mpc to get song info
# requires glyr to retrieve metadata
# requires eyeD3 to extract image from mp3
# uses xseticon, wmctrl, and transset to make its little terminal window all pretty. Feel free to delete these lines.
snark=$(echo $WINDOWID)
xseticon -id $snark ~/.icons/Faenza-Like/iKamasutra.png
You can’t perform that action at this time.