Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
HTTP/1.1 451

Dean dstar4138

💭
HTTP/1.1 451
View GitHub Profile
@dstar4138
dstar4138 / auth.php
Last active Feb 4, 2021
Authelia/Traefik ForwardAuth DokuWiki Auth Plugin.
View auth.php
<?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 Oct 6, 2020
My note/journal manager, similar to memo but only in bash.
View note.sh
#!/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.
View gist:22699662a7ee90236a2a6674ec4ac846
### 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:
View distress-issue1
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 Jan 24, 2013
My Xorg.conf scripts for when my laptop is docked/undocked and my graphics card is on/off.
View xorg.conf.docked
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 Jan 24, 2013
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'.
View dock-undock.sh
#!/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.