Skip to content

Instantly share code, notes, and snippets.

<input type="file" id="inputfile">
<br>
<pre id="output"></pre>
<script type="text/javascript">
document.getElementById('inputfile')
.addEventListener('change', function() {
var selected_file = new FileReader()
@budRich
budRich / repo.json
Last active February 19, 2022 21:48
{
"schema_version": "3.0.0",
"packages": [
{
"details": "https://github.com/budlime/PathRename",
"releases": [
{
"sublime_text": "*",
"branch": "master",
"dependencies": ["pathbox"]
# Maintainer: bud
# Contributor: bud
pkgname=ucb-scheme
pkgver=4.0.1
pkgrel=3
pkgdesc="UCB Scheme - a modified version of STk 4.0.1"
arch=('x86_64')
url="http://wla.berkeley.edu/~scheme/"
license=('custom')
@budRich
budRich / PKGBUILD
Last active October 16, 2021 20:20
sublime-text-3-gtk2 Arch package build
pkgname=sublime-text-3-gtk2
pkgver=3.3176
pkgrel=1
pkgdesc="Sophisticated text editor for code, html and prose - stable build"
arch=('x86_64')
url='https://www.sublimetext.com/3'
license=('custom')
depends=('libpng' 'gtk2')
replaces=('sublime-text-3-imfix')
@budRich
budRich / reddit-get.bash
Last active July 26, 2022 20:56
r/i3wm - link scrubbing
#!/bin/bash
: "${1?At least one search criteria needs to be passed}"
search_for=("$@")
size=100 # max 500
sub=i3wm # subreddit
first_day=1
last_day=3000
@budRich
budRich / manco.sublime-theme
Last active September 15, 2020 19:45
sublime UI theme with variables
{
"variables": {
"sb_bg": "#187FB9",
"sb_fg": "#EEEEEE",
"fgg": "#2e2e2e",
"bgg": "#CCCCCC",
"agg": "#3D6684",
"panel_font": "FixedFixedsys",
"panel_font_size": 16,
"statusbar_font": "FixedFixedsys",
@budRich
budRich / dunstrc
Created December 9, 2017 23:41
dunstrc used in lets linux videos
[global]
font = "Hack 16"
# Allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
@budRich
budRich / timeprompt.bash
Last active July 26, 2022 20:56
Display a colorful compact prompt with runtime of last command and a compact working directory.
# PS1 = time compact_pwd >
# curated by budRich since 2017
# =============================
#
# display runtime of last command and a compat PWD
# default time output is ms, if time is more then
# 1000ms, seconds is displayed instead.
# color of time is changed depending on the value.
@budRich
budRich / i3symbols.tmPreferences
Created September 6, 2017 18:02
symbol declaration to use '##' as a symbol marker in you i3 config file when editing with sublime text. https://gist.github.com/budRich/7cee97217c0dff31b15e6619005f566b
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol List</string>
<key>scope</key>
<string>source.i3wm_config meta.scope.budsym.other.i3wm_config</string>
<key>settings</key>
<dict>
@budRich
budRich / i3.tmLanguage
Created September 6, 2017 17:54
Adds symbol definition to i3. Lines beginning with '##' will be searchable from symbols list (Ctrl+R)
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version='1.0'>
<dict>
<key>name</key>
<string>i3-wm Config</string>
<key>author</key>
<string>skk</string>
<key>scopeName</key>
<string>source.i3wm_config</string>