Skip to content

Instantly share code, notes, and snippets.

View vanildo's full-sized avatar

Vanildo Vanni vanildo

View GitHub Profile
#!/bin/bash
# Logout current GitHub credentials and remove global user.name, user.email
echo -e "host=github.com\nprotocol=https\n" | git credential-osxkeychain erase
git config --unset-all --global user.name
git config --unset-all --global user.email
@vanildo
vanildo / trial-reset.py
Created March 21, 2022 14:36 — forked from rehannali/trial-reset.py
Trial Reseter for MAC
import os
from pathlib import Path
from sys import argv
class ResetTrial:
path = str(Path().home()) + "/Library/"
file_array = []
dir_array = []