Skip to content

Instantly share code, notes, and snippets.

rsync -av someuser@some-mbp:~/Documents ~/

Go to about:config

  1. Change browser.ssl_override_behavior to 1.
  2. Change network.stricttransportsecurity.preloadlist to false.
  3. Change security.ssl.enable_ocsp_stapling to false.

Open history, find the site, right click and select Forget this site. Quit and restart the browser.

Should be good now.

sudo dd if=ubuntu-budgie-20.04-desktop-amd64.iso of=/dev/sdb bs=1M status=progress
nano /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/run/wpa_supplicant
update_config=1
#https://wiki.archlinux.org/index.php/WPA_supplicant
#wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
#wpa_cli
wpa_supplicant -B -i wlan0 -c <(wpa_passphrase SSID PASSPHRASE)
@reecefowell
reecefowell / nginx.conf
Created November 29, 2016 15:22 — forked from calebwoods/nginx.conf
Sample Nginx config for deployment of Angular.js app
server { listen 80;
server_name example.com;
access_log /var/log/example.com/nginx.access.log;
error_log /var/log/example.com/nginx.error.log;
root /var/www/apps/example.com/public;
charset utf-8;
location / {
rewrite ^ https://$host$request_uri? permanent;
}
@reecefowell
reecefowell / oh-my-zsh git prompt.md
Last active August 12, 2016 17:38
Make Oh-my-zsh + Agnoster theme run faster with git prompts

Edit ~/.zshrc and uncomment the following line DISABLE_UNTRACKED_FILES_DIRTY="true"

add this to projects mounted over NFS git config --add oh-my-zsh.hide-status 1

also, you could edit ~/.oh-my-zsh/plugins/gitfast/gitfast.plugin.zsh but changes might potentially be lost in udpates

function git_prompt_info() {

On Ubuntu 14 machine

Setup SSH files

  • mkdir ~/.ssh
  • chmod 700 ~/.ssh
  • touch ~/.ssh/authorized_keys
  • chmod 700 ~/.ssh/authorized_keys

Network Setup

I have configured my network as following:

IP Address Purpose
192.168.0.50 XenServer Host
192.168.0.51 Xen Orchestra
192.168.0.52/199 various VM's
@reecefowell
reecefowell / gist:adeacf013c7c92eb0027
Last active December 30, 2015 22:55 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
/*
* Copyright 2008-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software