Skip to content

Instantly share code, notes, and snippets.

@seraphyn
seraphyn / ttrss-update.service
Created September 17, 2015 12:31
Start TinyTinyRSS update Service with systemd instead using cron.
# This file is part of my tinytinyRSSinstallation
# It is used by systemd under Debian Jessie
# WorkingDirectory=/var/www/html/ttrss must be YOUR Installationpath without
# ending slash /
#
# vim /lib/systemd/system/ttrss-update.service
# systemctl enable ttrss-update.service
# systemctl --system daemon-reload
# systemctl start ttrss-update.service
# systemctl status ttrss-update.service
@nlsandler
nlsandler / main.scss
Created December 1, 2017 16:17
SCSS for norasandler.com (customized from Jekyll minima theme)
@import "minima";
/* Global styling */
$heading-font-family: "Courier New", Courier, monospace !default;
@for $i from 1 through 6 {
h#{$i} {
font-family: $heading-font-family;
}
}
@xsot
xsot / instructions.md
Last active March 3, 2024 13:42
sed maze solver

Usage

sed -E -f solver.sed input where input is a file containing the maze.

For best results, resize your terminal to match the height of the maze. To disable animations, delete the lines containing p.

Maze format

The solver assumes the following:

  • The maze only contains the characters # \nSE
  • Every line has the same number of characters
  • There is only one start (S) and end (E)
#!/bin/bash
read -rsn1; clear; echo -e "\nHello all! Let's talk about Vault today\n";
read -rsn1; clear; echo -e "\n\n
- Vault solves many problems. But lets talk secret sprawl today
- Secrets are spread everywhere (code, config, VCS)
- Its hard to reason about who had accessed what
- Which secrets were actually used?
- If the infrastructure is compromised, it gets difficult to guage the attack surface which makes it even more harder to execute any break glass procedures.