Skip to content

Instantly share code, notes, and snippets.

View wwarriner's full-sized avatar

William Warriner wwarriner

  • University of Alabama at Birmingham
  • Birmingham, AL
View GitHub Profile
@wwarriner
wwarriner / test-permissions.sh
Last active February 19, 2024 23:05
Linux Permission Interactions Test
#! /bin/bash
set -e
set -o pipefail
while getopts ":s:t:c" arg; do
case "${arg}" in
s)
s="${OPTARG}"
;;
@wwarriner
wwarriner / perm_to_text.py
Created June 5, 2024 19:20 — forked from beugley/perm_to_text.py
Python script to convert a Linux octal permission number to a text string
def perm_to_text(perm):
perms = {
"0": "---",
"1": "--x",
"2": "-w-",
"3": "-wx",
"4": "r--",
"5": "r-x",
"6": "rw-",
"7": "rwx"
@wwarriner
wwarriner / KeepUI_FFXIV.fx
Created July 14, 2024 03:51 — forked from natyusha/KeepUI_FFXIV.fx
Keep UI for FFXIV Mirror
// KeepUI for FFXIV
// Author: seri14
//
// This is free and unencumbered software released into the public domain.
//
// Anyone is free to copy, modify, publish, use, compile, sell, or
// distribute this software, either in source code form or as a compiled
// binary, for any purpose, commercial or non-commercial, and by any
// means.
//