I hereby claim:
- I am danielcbaldwin on github.
- I am danielcbaldwin (https://keybase.io/danielcbaldwin) on keybase.
- I have a public key whose fingerprint is 0FE6 EA8D 6B53 AAFE AD92 AF41 B8E7 29B1 5D23 9672
To claim this, I am signing this object:
| # Install | |
| yay -S fail2ban | |
| # Configure | |
| sudo vim /etc/fail2ban/jail.d/sshd.local # refer to file below for content | |
| # Enable & Start | |
| sudo systemctl enable fail2ban | |
| sudo systemctl start fail2ban | |
| sudo systemctl restart sshd |
| 0.0.0.0 d1s31zyz7dcc2d.cloudfront.net | |
| 0.0.0.0 amzdigital-a.akamaihd.net | |
| 0.0.0.0 amzdigitaldownloads.edgesuite.net | |
| 0.0.0.0 softwareupdates.amazon.com | |
| 0.0.0.0 updates.amazon.com |
I hereby claim:
To claim this, I am signing this object:
| # 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 |
| # Install terminus font | |
| yaourt terminus-font | |
| # Set your default font | |
| # NOTE: You can setup the font size and codepage mappings using the font | |
| # definition as shown below. | |
| # | |
| # ter-<X><SIZE><STYLE> | |
| # where <X> is a character identifying the code page as listed bellow |
| git branch | grep -v "master" | grep -v "develop" | grep -v "^\*" | xargs git branch -D |
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <Module> | |
| <ModulePrefs title="Common Core Standards" scaling="false" height="600" width="480" gadget_border="false" author="MasteryConnect" author_email="[email protected]" /> | |
| <Content type="html"> | |
| <![CDATA[ | |
| <iframe src="http://ccapp.masteryconnect.com" style="border: none;" name="CommonCoreStandards" height="600px" width="480px"></iframe> | |
| ]]> | |
| </Content> | |
| </Module> |
| #! /usr/bin/python | |
| # Got this from: http://code.activestate.com/recipes/362459/ | |
| import os | |
| import sys | |
| import stat | |
| import md5 | |
| filesBySize = {} |
| class LogProducer | |
| attr_accessor :streams | |
| def initialize(options = {}) | |
| @streams = Hash.new | |
| @filename = options[:filename] | |
| add_stream(options[:stream]) | |
| end | |
| # setup the prompt with git branch | |
| function parse_git_dirty { | |
| [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
| } | |
| function parse_git_branch { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/[\1$(parse_git_dirty)]/" | |
| } | |
| export PS1='\u:\w$(__git_ps1 "[\[\e[0;32m\]%s\[\e[0m\]\[\e[0;33m\]$(parse_git_dirty)\[\e[0m\]]")$ ' | |
| export PROMPT_COMMAND='PS1=$PS1; echo -ne "\033]0;`hostname -s`:`pwd`\007"' |