- A Letter or A4 sized squared hardcover notebook. I use a "Leuchtturm1917 Master A4 Plus Dotted Hardcover Notebook."
- Black and blue pens in tip size of your preference. I personally like 0.38mm, but some may find that too narrow. I use "Uni Ball Signo 207 Ultra Micro Tip" and bought my own pens for use at home and work.
- A pencil and eraser. I use a 6H pencil, which makes anything I write with it much fainter than the pens I use.
- A ruler. A metal one is nice, and there are many you can find online with stencils built in to draw lots of different and useful shape.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; init.el --- Emacs Configuration -*- mode: emacs-lisp; -*- | |
;;; Commentary: | |
;; | |
;; Anthony Jarvis-Clark | |
;; REDACTED@REDACTED.com | |
;; | |
;; Save customizations in a different file. Prevents this file being | |
;; modified by Emacs. | |
;;; Code: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ssl | |
import wifi | |
import socketpool | |
import adafruit_requests | |
import secrets | |
import adafruit_ds3231 | |
import board | |
import time | |
# Sets the time of the DS3231 realtime clock (RTC) from Adafruit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { | |
opacity: 0; | |
pointer-events: none; | |
} | |
#main-window:not([tabsintitlebar="true"]) #TabsToolbar { | |
visibility: collapse !important; | |
} | |
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header { | |
display: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a minimal CentOS kickstart designed for docker. | |
# It will not produce a bootable system | |
# To use this kickstart, run the following command | |
# livemedia-creator --make-tar \ | |
# --iso=/path/to/boot.iso \ | |
# --ks=centos-7.ks \ | |
# --image-name=centos-root.tar.xz | |
# | |
# Once the image has been generated, it can be imported into docker | |
# by using: cat centos-root.tar.xz | docker import -i imagename |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script gets your current AWS role and dumps the IAM policies associated with that role | |
# Requires the iam:ListRolePolicies and iam:ListAttachedRolePolicies permissions | |
# Requires the aws cli and the jq utility | |
# Creative Commons Attribution-Sharealike: https://creativecommons.org/licenses/by-sa/4.0/ | |
# TODO: compare jq vs the query parameter in the aws cli, see if there's any difference in speed or results | |
MY_ROLE=$(aws sts get-caller-identity | jq -r '.Arn' | cut -d'/' -f2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Taken from https://karl-voit.at/2017/02/11/my-system-is-foobar/ | |
;; Check if system is Darwin/macOS | |
(defun my-system-type-is-darwin () | |
"Return true if system is darwin-based (Mac OS X)" | |
(string-equal system-type "darwin") | |
) | |
;; Check if system is Microsoft Windows | |
(defun my-system-type-is-windows () | |
"Return true if system is Windows-based (at least up to Win7)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A dotfile to turn iTerm2 tabs a different colour based on the hostname glob. | |
# Useful for marking different environments in different colours. | |
# Cargo-culted from multiple sources, apologies for not fully acknowledging them :( | |
# The colours you set are defined in a function that calls another pair of functions. | |
# Here I've used Solarized Dark, but of course you can use anything you like. | |
# Solarized colours | |
function tab_sol_yellow { set_iterm_title "$1"; tab_color 181 137 0; } | |
function tab_sol_orange { set_iterm_title "$1"; tab_color 203 75 22; } | |
function tab_sol_red { set_iterm_title "$1"; tab_color 220 50 47; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Monthly Calendar | |
% LaTeX Template | |
% Version 1.1 (19/9/2018) | |
% | |
% This template was downloaded from: | |
% http://www.LaTeXTemplates.com | |
% | |
% Original author: | |
% Evan Sultanik with modifications by |
NewerOlder