Skip to content

Instantly share code, notes, and snippets.

View stevenlaidlaw's full-sized avatar

Steven Laidlaw stevenlaidlaw

View GitHub Profile
@stevenlaidlaw
stevenlaidlaw / application.tailwind.css
Created May 25, 2023 23:28
TailwindCSS - Defaults
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
h1,
h2,
h3,
h4,
h5,
h6 {
@stevenlaidlaw
stevenlaidlaw / SharpBox.cs
Last active July 20, 2021 03:14
SharpBox - Time boxed password decryption
/*
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 June 4, 2019 22:50
Basic react page with info buttons that look bad
<!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;