Showing posts with label source. Show all posts
Showing posts with label source. Show all posts

Monday, 4 February 2019

venv

brew install python3

mkdir -p ~/bin/python3
python3 -m venv ~/bin/python3
source ~/bin/python3/bin/activate

enjoy!

Tuesday, 23 February 2016

Openvpn and unbound combined break dig command


  • when doing DNS lookup against remote unbound server over OpenVPN connection
    • results not coming back, or say "reply from unexpected source" 
    • ping and ssh work fine


  • fix unbound.conf 
    • "interface" parameter -> local ip instead of "0.0.0.0"
    • replies will have the local ip and not the OpenVPN ip now

Sample reply when still broken:

;; reply from unexpected source: 192.168.30.1#53, expected 172.30.1.54#53

Tuesday, 5 November 2013

Recover wireless of Ubuntu on MacBook Air 4,2

  1. sudo apt-get --reinstall install bcmwl-kernel-source
  2. sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
  3. sudo modprobe wl
Broadcom 802.11 Linux STA wireless driver source

Friday, 22 February 2013

Increase bash history size on Mac


  1. Add below lines to end of ~/.bash_profile
  2. Source result or log out and back in
    1. source ~/.bash_profile
  3. Test
    1. echo $HISTFILESIZE
    2. echo $HISTSIZE
export HISTFILESIZE=2500

export HISTSIZE=""

Interview questions: 2020-12

Terraform provider vs provisioner Load balancing Network Load Balancer vs Application Load Balancer  Networking Layer 1 vs Layer 4 haproxy u...