Value | Color |
---|---|
\e[0;30m | Black |
\e[0;31m | Red |
\e[0;32m | Green |
\e[0;33m | Yellow |
\e[0;34m | Blue |
\e[0;35m | Purple |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Edit the mirror list located at /etc/pacman.d/mirrorlist and uncomment a preferred mirror (preferrably closest to you) | |
2. Initialize Pacman GPG Keys | |
- $> pacman-key --init | |
- $> pacman-key --populate archlinux | |
- $> pacman-key --refresh-keys -u --keyserver hkps.pool.sks-keyservers.net | |
*The use of the --keyserver flag is due to an error that currently occurs when using the default keyserver | |
3. Reinstall Arch keyring | |
- $> pacman -S archlinux-keyring | |
4. Install Yay (if desired) | |
- Create a user (you cannot run makepkg as root, you must be signed in as a user) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Boot from the usb, make sure that secure boot is disabled in the BIOS | |
# Default keymap is set to US | |
# Connect to wifi | |
wifi-menu | |
# Create partitions using cgdisk or fdisk | |
1 500MB EFI partition # Hex code ef00 | |
2 100% size partition # Hex code 8300 |
As configured in my dotfiles.
start new:
tmux
start new with session name:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ahaymond on github. | |
* I am adamhaymond (https://keybase.io/adamhaymond) on keybase. | |
* I have a public key ASAONF_SBZ4nVVVTgEgWtyyhEmHSiHc3f08csroQ-nomnAo | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
/* | |
URL: https://github.com/mccoyst/myip/blob/master/myip.go | |
URL: http://changsijay.com/2013/07/28/golang-get-ip-address/ | |
*/ | |
import ( | |
"net" | |
"os" |
I hereby claim:
- I am ahaymond on github.
- I am ahaymond (https://keybase.io/ahaymond) on keybase.
- I have a public key ASCqo-i7oP0LrO7fCHKBnkfj4rdevgZzn8194cXCqcqJvQo
To claim this, I am signing this object:
I hereby claim:
- I am AHaymond on github.
- I am ode (https://keybase.io/ode) on keybase.
- I have a public key whose fingerprint is 11BC 3CDF 217F 7907 DBA1 5B93 A8AF 6008 6778 4325
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package utils | |
import ( | |
"strings" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run this command in your terminal to add command line functionality for Sublime Text. | |
ln -s /Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl ~/usr/local/bin/subl | |
This will create a symlink to the command line tool using your /usr/local/bin directory which should be in your PATH environment variable by default. | |
Once you create the symlink you can now open any text file by typing "subl textfile.txt" |
NewerOlder