Skip to content

Instantly share code, notes, and snippets.

Avatar

Steven Laidlaw stevenlaidlaw

View GitHub Profile
@stevenlaidlaw
stevenlaidlaw / SharpBox.cs
Last active Jul 20, 2021
SharpBox - Time boxed password decryption
View SharpBox.cs
/*
SharpBox is a C# version of Simon Bracegirdle's Lockedbox: https://github.com/sbracegirdle/lockedbox
It encrypts any text you give it, but can only be unencypted during certain times of the day. This provides you a safety net when your willpower fails for time-sucking applications (Steam, Netflix, etc).
PREREQUISITES:
dotnet
INSTALLATION:
The program first needs to be built with an inbuilt password.
@stevenlaidlaw
stevenlaidlaw / index.html
Last active Jun 4, 2019
Basic react page with info buttons that look bad
View index.html
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
<script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
<style>
body {
font-family: sans-serif;