Skip to content

Instantly share code, notes, and snippets.

View dstar4138's full-sized avatar
💭
HTTP/1.1 451

Dean dstar4138

💭
HTTP/1.1 451
View GitHub Profile
@dstar4138
dstar4138 / auth.php
Last active February 4, 2021 00:45
Authelia/Traefik ForwardAuth DokuWiki Auth Plugin.
<?php
/**
* ForwardAuth DokuWiki Auth Plugin.
*
* @licence Public Domain, use how you wish, I don't caare.
* @author Alexander Dean-Kennedy
* @version 0.0.1
*/
// must be run within Dokuwiki
@dstar4138
dstar4138 / note.sh
Last active December 14, 2021 14:58
My note/journal manager, similar to memo but only in bash.
#!/usr/bin/env bash
# My simple note/journal manager. Needs fzf/vim by default.
set -aeuf -o pipefail
VERSION="0.5"
USAGE="Usage: note COMMAND
Note is a simple bash script for note creation/management. It can be extended
with plug-ins, or used as is. It creates notes in NOTE_BASE (~/.notes), and
keeps an append-only daily journal that you can add quick-notes to.
### Keybase proof
I hereby claim:
* I am dstar4138 on github.
* I am dstar4138 (https://keybase.io/dstar4138) on keybase.
* I have a public key ASDUUNGlKwP6CW63Mx95aGmSSrPVYNetw7CjEWwl3061two
To claim this, I am signing this object:
@dstar4138
dstar4138 / distress-issue1
Created April 8, 2014 19:30
DISTRESS-Issue#1
diff --git a/cli/README.md b/cli/../README.md
index 458256e..ea8bc27 100644
--- a/cli/README.md
+++ b/cli/../README.md
@@ -1,4 +1,4 @@
-e.œ².U³"XÉ;³¢òœRibutEd Secure file System #
+# DISTRESS: DISTRibutEd Secure file System #
For our graduate project in Secure Data Management at the Rochester Institute
of Technology, we proposed a possible design for a secure collaborative
@dstar4138
dstar4138 / xorg.conf.docked
Created January 24, 2013 04:57
My Xorg.conf scripts for when my laptop is docked/undocked and my graphics card is on/off.
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Screen 2 "Screen2" RightOf "Screen1"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "1"
EndSection
@dstar4138
dstar4138 / dock-undock.sh
Created January 24, 2013 04:49
dock-undock script for w520 with the mini dock plus. To install, place in /etc/init.d/. and run 'update-rc.d dock-undock.sh defaults'.
#!/bin/sh
### BEGIN INIT INFO
# Provides: dock-undock.sh
# Required-Start: $local_fs $remote_fs $bumblebeed
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Check if laptop is docked or undocked and change XOrg.
# Description: Check if laptop is docked or undocked and change XOrg config.