I hereby claim:
- I am jackblk on github.
- I am jackblk (https://keybase.io/jackblk) on keybase.
- I have a public key whose fingerprint is DBD6 B206 4668 F2B4 6B4E ABDB D89E BA32 B52E 6AF0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #!/bin/sh | |
| DEVICE='0' # Index/name of the device in `pacmd list-sinks` | |
| CARD='1' # Card index in `cat /proc/asound/cards` | |
| ACTIVE_SINK=$(pacmd list-sinks | grep 'active port' | awk '{ print $3 }') | |
| if [ "$ACTIVE_SINK" = "<analog-output-headphones>" ]; then | |
| echo "[*] Enabling all analog output on $DEVICE." | |
| pacmd set-sink-port "$DEVICE" analog-output-lineout | |
| amixer -c "$CARD" sset 'Auto-Mute Mode' Disabled |
| # Because of whatever bug it is, even if you turn off Calculator shortcut, | |
| # it still opens calculator in Pop OS. Run below command to disable it. | |
| # Ref: https://www.reddit.com/r/pop_os/comments/idey8l/cant_turn_off_calculator_shortcut/ | |
| gsettings set org.gnome.settings-daemon.plugins.media-keys calculator-static "['']" |
Based on the excellent Solarized (Dark) created by Ethan Schoonover. For source code, check the main Solarized repository on GitHub.
Open and save Solarized Dark.terminal.
Import from the “Profiles” tab in the settings of Terminal.app or just double-click the file after downloading.
| # ================== Install Firefox & Driver ================== | |
| RUN apk add --no-cache firefox-esr | |
| # Install Geckodriver | |
| SHELL ["/bin/ash", "-eo", "pipefail", "-c"] | |
| RUN apk add --no-cache --virtual .build-deps wget \ | |
| && GECKODRIVER_VERSION=$(wget -qO- https://api.github.com/repos/mozilla/geckodriver/releases/latest \ | |
| | grep "tag_name" | sed -E 's/.*"([^"]+)".*/\1/') \ | |
| && wget -qO /tmp/geckodriver.tar.gz \ | |
| "https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz" \ |
| import datetime | |
| import smtplib | |
| import uuid | |
| TEST_DOMAIN = "example.com" | |
| # Google's SMTP inbound mail server. Use `nslookup -type=mx example.com` to find the MX record. | |
| SMTP_SERVER = "aspmx.l.google.com" # Use an MX record from Step 1 | |
| SMTP_PORT = 25 # Google's MX servers listen on port 25 |
NOTICE: I write a simple tampermonkey script to skip the redirect notice, since the extension I recommended is going away due to MV2 deprecation. Tampermonkey script will also work on any browser.
Use this guide: https://github.com/jackblk/feeling-lucky-skip-redirect
| [includeIf "gitdir/i:github/"] | |
| path = .gitconfig-github | |
| [includeIf "gitdir/i:work/"] | |
| path = .gitconfig-work' |