Skip to content

Instantly share code, notes, and snippets.

View aleohl's full-sized avatar

Alexander O aleohl

View GitHub Profile
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@aleohl
aleohl / media-keyboard.user.js
Created October 29, 2021 21:48 — forked from fcannizzaro/media-keyboard.user.js
use media key to play/pause HTML5 video
// ==UserScript==
// @name Media Keyboard
// @version 0.1
// @description try to take over the world!
// @author Francesco Cannizzaro
// @match *://*/*
// ==/UserScript==
(function() {
'use strict';