Skip to content

Instantly share code, notes, and snippets.

@ja0nz
ja0nz / bitwarden_update
Last active May 11, 2021 21:22
uberspace; auto update bitwarden_rs
#!/usr/bin/env bash
# Settings: DIR to your bitwarden clone
DIR=~/git/bitwarden_rs
# Settings end
# Just some terminal coloring
NC='\033[0m'
RED='\033[0;31m'
GREEN='\033[0;32m'
@mrjosh
mrjosh / fix-steam-microphone-permission-macOS.md
Last active June 19, 2021 19:00
How to: Fix Steam Voice Chat in macOS Mojave and Catalina

How to fix steam microphone permission macOS

Step 1: Disable The System Integrity

  • Disable The System Integrity for access the relevant system database.

Reboot your Mac and hold Cmd+R on startup. This will bring up the Recovery Mode. Open Utility -> Terminal from the menu bar and type csrutil disable Reboot.

Step 2: Manually add permission for Steam to access the microphone.

@fbaierl
fbaierl / ForkMITLicensedProject.md
Created November 6, 2018 14:17
HOWTO fork a MIT licensed project

No, you are not allowed to change the copyright notice. Indeed, the license text states pretty clearly:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

But you are allowed to add a copyright notice.

If you want to keep the MIT license, which is what I would advise you to do, you only need to add a single line to the license file, before or after Copyright (c) 2012 Some Name with your own copyright notice. The final LICENSE file will look like this:

The MIT License (MIT)

@ciaranmahoney
ciaranmahoney / Google Sheets MX Lookup
Last active June 4, 2024 06:37
Google Apps Script to Run MX Lookups on domains from Google Sheets
function MXLookup(domain) {
try {
var url = "https://dns.google.com/resolve?name=%FQDN%&type=MX".replace("%FQDN%",domain);
//var url = "https://dns.google.com/resolve?name=e-mercy.com&type=MX"; // USED FOR TESTING ONLY
Utilities.sleep(100);
var result = UrlFetchApp.fetch(url,{muteHttpExceptions:true});
var rc = result.getResponseCode();