Skip to content

Instantly share code, notes, and snippets.

View mwesten's full-sized avatar

Max Westen mwesten

View GitHub Profile
@mwesten
mwesten / config.md
Created October 2, 2020 07:29 — forked from 0XDE57/config.md
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, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".

@mwesten
mwesten / win10-dev.md
Created February 2, 2020 09:06 — forked from wsargent/win10-dev.md
Windows Development Environment for Scala

Windows 10 Development Environment for Scala

This is a guide for Scala and Java development on Windows, using Windows Subsystem for Linux, although a bunch of it is applicable to a VirtualBox / Vagrant / Docker subsystem environment. This is not complete, but is intended to be as step by step as possible.

Harden Windows 10

Read the entire Decent Security guide, and follow the instructions, especially:

@mwesten
mwesten / README.md
Last active February 2, 2020 08:16 — forked from bjeanes/README
Plex/Synology script to repair mkv files
@mwesten
mwesten / hugo-on-android.md
Last active April 17, 2018 05:56 — forked from bep/hugo-on-android.md
Run Hugo on an Android phone

First install Termux

Then there are two options:

Build from source

Open the Termux terminal on your Android device and copy-and-paste the commands listed below and hit ENTER:

<?php
class Hooks_kollide_password_protect extends Hooks
{
public $meta = array(
'name' => 'Kollide - Password Protect',
'version' => '1.0.0',
'author' => 'Sean Washington',
'author_url' => 'http://octopuscreative.com'
);
@mwesten
mwesten / xpdf.py
Last active April 20, 2016 13:53 — forked from fractaledmind/xpdf
#!/usr/bin/python
# encoding: utf-8
#
# Copyright (c) 2014 Stephen Margheim <[email protected]>
#
# MIT Licence. See http://opensource.org/licenses/MIT
#
# Created on 12-08-2014
#
import os

Mutt/Gmail/OS X Keychain

Create a new keychain item, enter the Keychain Item Name as mutt, the Account Name as your gmail email address and then enter your password, then add the keychain item.

2-step auth

If you're using Google 2-step auth, you'll need to generate an Application-specific password from your Google Account settings and enter that as the password.

These are some notes I put together prior to and during setting up my new Retina MacBook Pro. If anyone else is setting up a new machine, it may help you with the process.

Prepare Old Machine

  • Verify Disk with Disk Utility—see here
  • Generate a final TimeMachine backup
  • Verify Crashplan backup is complete
  • Create a final SuperDuper! bootable backup
  • Push changes to remote git repos
@mwesten
mwesten / .gitconfig
Created June 16, 2012 12:15 — forked from sanguis/.gitconfig
my .gitconfig file minus my name and email
[color]
ui = on
[core]
whitespace= fix,-indent-with-non-tab,-indent-with-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[alias]
df = !git diff --no-prefix && git diff --staged --no-prefix
clear = reset --hard
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
@mwesten
mwesten / hack.sh
Created April 2, 2012 06:44 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#