touch ~/.frewmbot-local ~/.frewmbot-maintained
sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
mkdir -p ~/code
git clone git://github.com/frioux/dotfiles ~/code/dotfiles
cd ~/code/dotfiles
sudo ./packages.sh
./install.sh
sudo bash -c 'cat sysctl.conf >> /etc/sysctl.conf'
sudo cp xsession.desktop /usr/share/xsessions/xsession.desktop
sudo cp random.rules /etc/udev/rules.d/71-disable-random-entropy-estimation.rules
sudo cp ./pm/* /etc/pm/sleep.d/
git clone https://github.com/neomutt/neomutt
cd neomutt
./configure --enable-notmuch --lmdb --ssl --prefix=/opt && \
make && \
sudo make install install-doc
wget -qO- https://get.docker.com/ | sh
sudo usermod frew -aG docker
sudo systemctl enable docker
sudo cp /lib/systemd/system/docker.service /etc/systemd/system
Then add -s overlay2 --live-restore
to the command in the copied file
sudo systemd daemon-reload
sudo systemctl restart docker
Create /etc/postfix/sasl_passwd
:
[email protected] [email protected]:$foo
[email protected] [email protected]:$bar
smtp.pobox.com ???:$baz
... and /etc/postfix/transport
:
[email protected] smtp:[smtp.gmail.com]:587
[email protected] smtp:[smtp.gmail.com]:587
... and /etc/postfix/hosts
:
@frew.co [smtp.pobox.com]:587
@afoolishmanifesto.com [smtp.pobox.com]:587
And finally, change the config:
sudo sh -c 'cat ./main.cf >> /etc/postfix/main.cf'
sudo postmap /etc/postfix/{sasl_passwd,transport,hosts}
sudo chmod 400 /etc/postfix/{sasl_passwd,transport,hosts}{.db,}
sudo service postfix restart
Get app specific password from gmail, put in .netrc:
machine imap.gmail.com
login [email protected]
password $foo
machine smtp.gmail.com
login [email protected]
password $foo
machine google.com
login [email protected]
password $foo
And .git-smtp-password:
[sendemail]
smtpPass = $foo
Put pause credentials in .pause:
user FREW
password DERP
Ensure permissions are correct:
chmod 600 ~/.netrc ~/.pause
Also set up Firefox Sync
- Generate Ed25519 Key:
ssh-keygen -t ed25519 -o -a 100
- Generate RSA Key:
ssh-keygen -t rsa -b 4096 -o -a 100
- Put Ed25519 Key on github
- Put RSA Key on:
- dbsrgits
- gitmo
- catagits
- p5sagit
- ZR
- agm
sv-run-w.pl
sv-run-offlineimap
Record all traffic from a given host/port:
tcpdump -s 65535 -w tcp.dump host 10.6.6.1 and port 10114
Record all traffic involving a given host:
tcpdump -s 65535 -w tcp.dump src 10.6.6.1 or dst 10.6.6.1
Bind localhost:1234 to server.example.com:6667
ssh -L 1234:localhost:6667 server.example.com