I hereby claim:
- I am rikvanderkemp on github.
- I am rvdk (https://keybase.io/rvdk) on keybase.
- I have a public key whose fingerprint is 8F6B 9393 4239 CFD8 F6B2 3E6C DFE9 2AD7 6A37 D05A
To claim this, I am signing this object:
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- Do not edit this file, it will be overwritten on install. | |
| Copy the file to $HOME/.config/openbox/ instead. --> | |
| <openbox_config | |
| xmlns="http://openbox.org/3.4/rc" | |
| xmlns:xi="http://www.w3.org/2001/XInclude"> | |
| <resistance> | |
| <strength>10</strength> | |
| <screen_edge_strength>20</screen_edge_strength> | |
| </resistance> |
| import 'config/local.rb' | |
| namespace :content do | |
| desc "Fetch database from target environment" | |
| task :pull do | |
| on roles(:web) do |host| | |
| file_name = "content-#{fetch(:stage)}-" + Time.now.to_i.to_s | |
| execute "mysqldump --opt -Q #{fetch(:database_name)} > db.sql" |
I hereby claim:
To claim this, I am signing this object:
| If: | |
| - you add and commit with the wrong email address in git, and | |
| - your remote has a hook set up to prevent you from pushing with the bad address | |
| Then you need to amend the author of your commit before push can succeed: | |
| 1. fix your email address in git config: | |
| $ git config user.name "Your Name" |
| <?xml version='1.0' encoding='UTF-8'?> | |
| <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
| <fontconfig> | |
| <match> | |
| <test name="family"> | |
| <string>sans-serif</string> | |
| </test> | |
| <edit mode="prepend" binding="strong" name="family"> | |
| <string>Noto Color Emoji</string> | |
| </edit> |
| netstat -tn 2>/dev/null | grep :443 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head | |
| netstat -tn 2>/dev/null | grep :80 | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head |
| # Disclaimer: Works on my machine | |
| # Also, I am aware there is an AUR package, but it seemed out of date. | |
| # From http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/ download the latest version of the ffmpeg codes | |
| # at the time of writing chromium-codecs-ffmpeg_76.0.3809.87-0ubuntu0.19.04.1_amd64.deb | |
| # For the sake of sanity create a temp folder first ;-) | |
| # Download latest package | |
| $ curl -O http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg_76.0.3809.87-0ubuntu0.19.04.1_amd64.deb |
| #!/bin/env bash | |
| curl -LO "https://github.com/BurntSushi/ripgrep/releases/download/11.0.2/ripgrep-11.0.2-i686-unknown-linux-musl.tar.gz" | |
| tar xvf ripgrep-11.0.2-i686-unknown-linux-musl.tar.gz | |
| cp ripgrep-11.0.2-i686-unknown-linux-musl/rg /usr/local/bin/ |
| These are my findings of helpful changes to make to Linux (I use Manjaro) to get the most out of this laptop, | |
| # Kernel Modules | |
| install acpi_call: | |
| ``` | |
| sudo pacman -S linux54-acpi_call | |
| ``` |
| # This is a short collection of tools that are useful for managing your | |
| # known_hosts file. In this case, I'm using the '-f' flag to specify the | |
| # global known_hosts file because I'll be adding many deploy users on this | |
| # system. Simply omit the -f flag to operate on ~/.ssh/known_hosts | |
| # Add entry for host | |
| ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts | |
| # Scan known hosts | |
| ssh-keygen -f /etc/ssh/ssh_known_hosts -H -F github.com |