Skip to content
No description or website provided.
Vim script Perl Shell Python Lua JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 7e41e0a May 30, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
awesome awesomewm: fix aqi widget May 9, 2020
bin
crontab.d Reload calendar if file is missing Nov 21, 2019
dotjs Use geralds fogbugz script Nov 5, 2015
dzil always use GH issues Mar 3, 2014
git-hub @ a78708f Update submodules Oct 15, 2018
mutt RIP maybe snip May 9, 2020
pm No longer use bitlbee Apr 28, 2018
ssh
vim add speeddating plugin May 24, 2020
xdg
zr-bin Use new bamboo location Nov 26, 2019
zsh I only ever use one tmux May 2, 2020
.gitattributes test Dec 9, 2012
.gitignore add global gitignore Jan 19, 2014
.gitmodules add speeddating plugin May 24, 2020
.projections.json Initial projections Jan 7, 2018
README.mdwn moved to notes May 2, 2020
XCompose
Xdefaults awesome urxvt configuration Apr 24, 2011
adenosinerc.yml use adenosine config Dec 1, 2012
cpan.sh switch to plenv Aug 12, 2013
curlrc
dbic.json add dbic formatting config Apr 24, 2012
disable.conf add linux settings Aug 2, 2014
editorconfig Make python code work Mar 8, 2018
env I no longer care about ORACLE stuff Jan 10, 2020
gitconfig
gitignore_global This generated file is worthless Jan 15, 2018
gtkrc-2.0 set gtk theme even when using awesome Jul 1, 2012
gtkrc.mine fix icons in pcmanfm Oct 24, 2013
gvimrc
install-xdg Add vim: mimetype Feb 18, 2019
install.sh XCompose! May 30, 2020
mailcap
main.cf Send email from my own domains Sep 16, 2017
muttrc mutt: do not move forward when deleting messages May 9, 2020
notmuch-config update pathing info Oct 27, 2013
offlineimap.py Switch to non-docker offlineimap Jun 29, 2019
offlineimaprc Switch to non-docker offlineimap Jun 29, 2019
packages.minimal.sh Express dep more clearly May 22, 2019
packages.perf.sh I always needed this Apr 22, 2018
packages.rm.sh sh is dash, long live dash Sep 20, 2017
packages.sh
packages.x11.sh Add AwesomeWM Agenda Jun 11, 2019
perltidyrc Grow up :( Feb 11, 2016
random.rules Make /dev/random be /dev/urandom; fight me Apr 27, 2016
rc.local Install rc.local Apr 28, 2018
signature
sleep-hooks
sshd_config
sysctl.conf Have not written JS in quite a while Mar 15, 2017
terminator_config urgent bell woo! May 29, 2019
tmux.conf Unbind some annoying stuff I never use Oct 8, 2019
vimrc fix tab completion for zine May 30, 2020
xsession Fix dumb flameshot issue Jan 23, 2020
xsession.desktop make Xsession setup easier Jun 12, 2015
zshenv
zshrc Enable smartcd Dec 4, 2019

README.mdwn

dotfiles Setup

touch ~/.frewmbot-local ~/.frewmbot-maintained ~/.mutt-overrides

sudo apt-add-repository ppa:git-core/ppa
curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
sudo apt-get update
sudo apt-get install git signal-desktop
mkdir -p ~/code
git clone git://github.com/frioux/dotfiles ~/code/dotfiles
cd ~/code/dotfiles
sudo ./packages.sh
./install.sh
chsh -s /bin/zsh
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/

sudo cp ./rc.local /etc/rc.local
chown root:root /etc/rc.local
chmod 755 /etc/rc.local

Install mutt

git clone https://github.com/neomutt/neomutt
cd neomutt
./configure --enable-notmuch --lmdb --ssl --prefix=/opt && \
   make && \
   sudo make install install-doc

Install docker

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 systemctl daemon-reload
sudo systemctl restart docker

Install Other Software

Go

rm ~/local -rf
curl https://dl.google.com/go/go1.10.1.linux-amd64.tar.gz > go.gz
tar xvf go.gz
mv ./go ~/local
rm go.gz

Configure Postfix

Create /etc/postfix/sasl_passwd:

???@gmail.com               ???@gmail.com:$foo
???@ziprecruiter.com ???@ziprecruiter.com:$bar
smtp.pobox.com                        ???:$baz

... and /etc/postfix/transport:

???@gmail.com        smtp:[smtp.gmail.com]:587
???@ziprecruiter.com 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

Authorize Computer

Get app specific password from gmail, put in .netrc:

machine imap.gmail.com
login $bar@gmail.com
password $foo

machine smtp.gmail.com
login $bar@gmail.com
password $foo

machine google.com
login $bar@gmail.com
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

Run gcalcli list to authenticate to google.

Add / Replace SSH Key

  • Generate Key: ssh-keygen -t ed25519 -o -a 100
  • Put key on github

services

sv-run-w.pl
sv-run-offlineimap
You can’t perform that action at this time.