Skip to content

Instantly share code, notes, and snippets.

View Octelly's full-sized avatar

Octelly Octelly

View GitHub Profile
@SquidDev
SquidDev / clone.lua
Last active July 13, 2024 12:09
A tiny git clone library
local preload = type(package) == "table" and type(package.preload) == "table" and package.preload or {}
local require = require
if type(require) ~= "function" then
local loading = {}
local loaded = {}
require = function(name)
local result = loaded[name]
if result ~= nil then
@iamc
iamc / mic-loopback.sh
Created May 18, 2017 08:46
script to enable/disable pulseaudio loopback module in order to get eg. mic feedback
#!/bin/bash
#
# Loads / unloads pulseaudio loopback module in order to eg. be redirect
# mic input to headphones.
#
# Usage: mic-loopback [on|off]
#
if [ $# -ne 1 ]; then
echo "Usage: $0 [on|off]"