Skip to content

Instantly share code, notes, and snippets.

View aielwaste's full-sized avatar

Andrew Bell aielwaste

  • The Aiel Waste
  • Iowa, United States
View GitHub Profile
@aielwaste
aielwaste / macos_high_sierra_tweaks.md
Last active September 23, 2018 03:37
MacOS Sierra Tweaks

MacOS High Sierra Tweaks

disable gatekeeper

sudo spctl --master-disable
sudo defaults write /var/db/SystemPolicy-prefs.plist enabled -string no
defaults write com.apple.LaunchServices LSQuarantine -bool false

# disable disk iamge verification
@aielwaste
aielwaste / box-sync.sh
Created June 22, 2017 16:41
Install box-linux-sync
#!/bin/bash
## davfs2 installation and Box.com account configuration script for Linux
## Tested on Ubuntu, Fedora and OpenSuse
## Update 1.032615
## This script must be run as root
if [ ! $UID = 0 ]; then
echo "This script needs super user privileges to run"
echo "run it againg using sudo or login as root"
exit 1
@aielwaste
aielwaste / install_calibre3.sh
Created June 22, 2017 00:49
Install Calibre 3.0 Ubuntu
sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failedn'); exec(sys.stdin.read()); main()"
@aielwaste
aielwaste / common-imap-settings.json
Created June 11, 2017 19:35
Common IMAP Settings
{
"mail.com": {
"display_name": "mail.com",
"display_short_name": "mail.com",
"imap_host": "imap.mail.com",
"imap_port": "993",
"imap_security": "SSL / TLS",
"imap_user_format": "email",
"imap_authentication": [
"password-cleartext"
(\.[a-zA-Z\d]+)_([a-zA-Z\d])|(class.+"[a-zA-Z\d ]+)_([a-zA-Z\d]) //Find What
$1$3\u$2$4 //Replace What
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\runas]
[-HKEY_CLASSES_ROOT\Directory\shell\runas]
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Winsock]
"ErrorControl"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Winsock\Parameters]
"Transports"=hex(7):54,00,63,00,70,00,69,00,70,00,36,00,00,00,54,00,63,00,70,\
00,69,00,70,00,00,00,50,00,73,00,63,00,68,00,65,00,64,00,00,00,00,00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Winsock\Setup Migration]
"Setup Version"=dword:00001009
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\{a2a9545d-a0c2-42b4-9708-a0b2badd77c8}]
@="Start Menu Pin"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\{a2a9545d-a0c2-42b4-9708-a0b2badd77c8}]
@="Taskband Pin"
@aielwaste
aielwaste / Windows_10_Dark_Theme.reg
Created June 2, 2017 20:30
Double click Windows_10_Dark_Theme.reg to enable dark theme, Double click Windows_10_Light_Theme.reg to revert to normal
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize]
"AppsUseLightTheme"=dword:00000000