Skip to content

Instantly share code, notes, and snippets.

View iwa's full-sized avatar
☁️

iwa

☁️
View GitHub Profile

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Enable:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

@parmentf
parmentf / GitCommitEmoji.md
Last active July 17, 2024 01:20
Git Commit message Emoji
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active July 17, 2024 14:53 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@cecilemuller
cecilemuller / 2019-https-localhost.md
Last active July 16, 2024 07:54
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.

Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).

@okaufmann
okaufmann / README.md
Created December 18, 2019 18:27
Fix `warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)` error on Raspberry PI

Run the following:

echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment > /dev/null
echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen > /dev/null
echo "LANG=en_US.UTF-8" | sudo tee /etc/locale.conf > /dev/null
sudo locale-gen en_US.UTF-8
@ScottKillen
ScottKillen / print.css
Last active June 18, 2024 02:59
PDF export stylesheet for obsidian
/* Obsidian snippet to style output of pdf exports
*/
@media print {
/* set your preferred fonts here.
*/
:root {
--body-font-family: "Newsreader Text", TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;