This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ac, .act, .ad, .ae, .aero, .af, .ag, .ai, .al, .am, .an, .ao, .ar, .arpa, .as, .at, .au, .aw, .ax, .az, .bb, .bd, .be, .bf, .bm, .bn, .bo, .br, .bs, .bt, .bw, .by, .ca, .cc, .cd, .ch, .ck, .cn, .co, .com, .cr, .cu, .cx, .cy, .dm, .do, .domains, .dz, .ec, .ee, .eg, .es, .et, .fi, .fj, .fk, .fr, .ge, .gg, .gh, .gi, .gn, .gp, .gr, .hk, .hn, .hr, .ht, .hu, .id, .ie, .il, .im, .in, .ip6.arpa, .ir, .it, .je, .jm, .jo, .jp, .kh, .kr, .kw, .ky, .kz, .lb, .lc, .level, .li, .lk, .lr, .ls, .lt, .lu, .lv, .ly, .ma, .mc, .mg, .mil, .mk, .mo, .mobi, .mt, .mu, .mv, .mw, .mx, .my, .ng, .ni, .nl, .no, .np, .nr, .nsw, .nt, .nz, .om, .or, .pa, .pe, .pf, .pg, .ph, .pk, .pl, .plp, .pr, .pro, .ps, .pt, .py, .qld, .ro, .ru, .rw, .sa, .sb, .sc, .sd, .se, .sg, .sv, .sy, .tas, .th, .tj, .tn, .to, .tp, .tr, .tt, .tv, .tw, .tz, .ua, .ug, .uk, .us, .uses, .uy, .va, .ve, .vi, .vic, .vn, .wa, .ye, .yu, .za, .zm, .zw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Start mpdq service | |
After=mpd.service | |
[Service] | |
Type=simple | |
RemainAfterExit=yes | |
User=rock64 | |
Group=rock64 | |
ExecStart=/home/rock64/apps/bin/mpdq-start.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults.ctl.card 1 | |
defaults.pcm.card 1 | |
defaults.pcm.device 0 | |
pcm.dmixed { | |
type dmix | |
ipc_key 1027 | |
# ipc_key_add_uid 0 | |
ipc_perm 0660 | |
slave { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# Moved to: https://github.com/uriel1998/volumerb | |
# | |
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 | |
# Unported License. To view a copy of this license, visit | |
# http://creativecommons.org/licenses/by-sa/3.0/. | |
# | |
# Forked/derived from original by Jasper Van der Jeugt (jaspervdj); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! bin/bash | |
cd ~/Music | |
echo "Run this script from your base music directory (or wherever you want to purge png and jpg images from)" | |
echo "Currently in $PWD" | |
echo "What is the minimum resolution you want?" | |
read request | |
# test for number without decimal | |
if [ "$request" -eq "$request" ] 2>/dev/null; then | |
echo "Finding jpg covers." | |
find . -iname "*.jpg" -exec ls -f '{}' \; > tempfile.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* You may notice that my CSS file is organized in a fairly straightforward and */ | |
/* static way. This is intentional, folks. You can do a LOT fancier - but I'm */ | |
/* operating under a KISS principle here. Otherwise it's too easy to have more */ | |
/* than one style applying to any line and making troubleshooting difficult. */ | |
/* My goal is portability and it NEVER distracting from the text. */ | |
/* Put any additional fonts you REQUIRE here. I recommend using additional fonts */ | |
/* only when you MUST; and always define a fallback. Please note that if you have */ | |
/* the font in a sub-directory, you must define it properly in the src portion */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Quite a bit of inspiration from https://gist.github.com/brycied00d/1190483 | |
# I have a lot of backgrounds, and a laptop. I use xinarama, so my DISPLAY is always 0:0 | |
# But I wanted to have one randomizer that used feh (2.9.3 is the version I have) but actually showed resolution-appropriate images. | |
# I also wanted to be able to select the color - "tiled", "orange", "blue", "black", "simple", "wide" (hooray for symlinks) at times. | |
# Uses xrandr to see if there is an HDMI monitor attached (which in my use cases always means I am rocking two monitors | |
#sets background |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# usage: | |
if [ -f "$1" ]; then | |
file=$(basename "$1") | |
filename=${file%.*} | |
pandoc "$1" -V geometry:margin=1in -s -o "$filename".odt | |
lowriter "$filename".odt | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dir=$(echo "$PWD") | |
for f in * | |
do | |
if [ -f "$f" ];then | |
# this is redundant due to how I'm searching, but why not? | |
filename=$(basename "$f") | |
extension="${filename##*.}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#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: |