Skip to content

Instantly share code, notes, and snippets.

View biosan's full-sized avatar
⌨️
Coding on nice mech keebs

Alessandro Biondi biosan

⌨️
Coding on nice mech keebs
View GitHub Profile
#!/bin/sh
# Place this in /etc/initramfs-tools/scripts/init-premount/zfs-unlock and
# run update-initramfs -u to include the script.
#
# This initramfs script handles mounting encrypted pools from a keyfile
# and not a passphrase. The main use case is keeping datasets encrypted so
# disks can be safely discarded if they partially fail and can't be easily
# wiped.
#
@webyneter
webyneter / .travis.yml
Last active October 9, 2019 02:04
Travis CI + Codecov + Docker / Docker Compose (+ Python / Django, but that's not the point anyway)
# This setup took me a few hours to come up with; codecov docs turned out to be useless in the end.
# With this gist I hope to be the last one to have ever faced it again :)
sudo: required
services:
- docker
before_install:
- docker version
@0XDE57
0XDE57 / config.md
Last active September 13, 2024 17:30
Firefox about:config privacy settings

ABOUT

about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar. Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and rendering normally. Some settings may also make firefox unstable. I am not liable for any damages/loss of data.

Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions (HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@PurpleBooth
PurpleBooth / README-Template.md
Last active September 24, 2024 10:44
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@XVilka
XVilka / TrueColour.md
Last active September 24, 2024 14:47
True Colour (16 million colours) support in various terminal applications and terminals

THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.

PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!

@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007
@abeluck
abeluck / gpg-offline-master.md
Last active October 22, 2023 02:59 — forked from KenMacD/cmd.md
GPG Offline Master Key w/ smartcard