Skip to content

Instantly share code, notes, and snippets.

View bcatubig's full-sized avatar

Brandon Catubig bcatubig

View GitHub Profile
@bcatubig
bcatubig / .tmux.conf
Created October 24, 2017 18:28
Updated Tmux Tony Mods
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-pain-control'
set-option -g mouse on
set-option -g prefix C-a
bind-key C-a last-window
set -g base-index 1

Numbers

Text

  • Reverse a String – Enter a string and the program will reverse it and print it out.
  • Pig Latin – Pig Latin is a game of alterations played on the English language game. To create the Pig Latin form of an English word the initial consonant sound is transposed to the end of the word and an ay is affixed (Ex.: "banana" would yield anana-bay). Read Wikipedia for more information on rules.
  • Count Vowels – Enter a string and the program counts the number of vowels in the text. For added complexity have it report a sum of each vowel found.
  • Check if Palindrome – Checks if the string entered by the user is a palindrome. That is that it reads the same forwards as backwards like “racecar”
  • Count Words in a String – Counts the number of individual words in a string. For added complexity read these strings in from a text file and generate a summary.
@bcatubig
bcatubig / citrix.md
Last active December 20, 2018 16:46
Ubuntu 18.10 Citrix Reciever
@bcatubig
bcatubig / r8169.md
Created August 24, 2019 01:10
r8169 Arch Linx

module bricks networking after resuming from sleep

either remove the blacklist file

/etc/modprobe.d
❯ sudo rm r8169_blacklist.conf 

or run

@bcatubig
bcatubig / keybase.md
Last active March 16, 2020 04:07
keybase.md

Keybase proof

I hereby claim:

  • I am bcatubig on github.
  • I am bcatubig (https://keybase.io/bcatubig) on keybase.
  • I have a public key ASBnb33d8bf6_dOpQCwgLXGIQVBZPXqUAjx9-3JQiJ-t3Ao

To claim this, I am signing this object: