Skip to content

Instantly share code, notes, and snippets.

I'm really good at keeping secrets quarantined.

Joe Garcia infamousjoeg

I'm really good at keeping secrets quarantined.
View GitHub Profile
View gist:c9c16c2a98c5142cdcc42677b1c88740

Homebrew Formula for a Go app

These are quick notes from making my own Formula and Tap.

Add go build script to your Git repo

View MySql-5.5-installation

MySQL Download URL

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
infamousjoeg / add CA cert on
Created Mar 20, 2018 — forked from kekru/add CA cert on CentOS Debian
Add CA cert to local trust store on CentOS or Debian
View add CA cert on
  • Open a webpage that uses the CA with Firefox
  • Click the lock-icon in the addressbar -> show information -> show certificate
  • the certificate viewer will open
  • click details and choose the certificate of the certificate-chain, you want to import to CentOS
  • click "Export..." and save it as .crt file
  • Copy the .crt file to /etc/pki/ca-trust/source/anchors on your CentOS machine
  • run update-ca-trust extract
  • test it with wget
infamousjoeg / interfaces
Last active Apr 27, 2018 — forked from takipone/interfaces
Debian/Ubuntu /etc/network/interfaces
View interfaces
auto lo
iface lo inet loopback
auto ens160
iface ens160 inet static
address IP_ADDR
netmask NETMASK
dns-nameservers DNS
infamousjoeg / Linux Static IP
Created Feb 13, 2018 — forked from fernandoaleman/Linux Static IP
How To Configure Static IP On CentOS 6
View Linux Static IP
## Configure eth0
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
infamousjoeg / PowerShell
Created Feb 6, 2018 — forked from jchandra74/PowerShell
PowerShell, Cmder / ConEmu, Posh-Git, Oh-My-Posh, Powerline Customization
View PowerShell

Pimping Up Your PowerShell & Cmder with Posh-Git, Oh-My-Posh, & Powerline Fonts

Backstory (TLDR)

I work as a full-stack developer at work. We are a Windows & Azure shop, so we are using Windows as our development platform, hence this customization.

For my console needs, I am using Cmder which is based on ConEmu with PowerShell as my shell of choice.

Yes, yes, I know nowadays you can use the Linux subsystem on Windows 10 which allow you to run Ubuntu on Windows. If you are looking for customization of the Ubuntu bash shell, check out this article by Scott Hanselman.

infamousjoeg /
Created Feb 2, 2018 — forked from leosuncin/
Install Powerline on Debian/Ubuntu
  1. Install pip sudo apt-get install python-pip or wget && sudo python
  2. Install powerline sudo pip install powerline-status
  3. Download and install fonts git clone && cd fonts && sh ./
  4. Add this lines to respective file

set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
" Always show statusline

infamousjoeg /
Created Jan 29, 2018 — forked from osowski/
Install Minikube, Kubectl, and Virtualbox on Ubuntu
#Installing VirtualBox
echo "Installing VirtualBox........................"
sudo apt-get install virtualbox
#Installing kubectl
echo "Installing kubectl..........................."
chmod +x kubectl
sudo mv kubectl /usr/local/bin/kubectl
infamousjoeg / touch.ps1
Created Aug 10, 2017 — forked from Xainey/touch.ps1
Touch command for PowerShell $Profile
View touch.ps1
# Add nix-like touch command
function touch
$file = $args[0]
if($file -eq $null)
throw "No filename supplied"
infamousjoeg / deps.pp
Created Nov 10, 2016 — forked from rcrowley/deps.pp
Deploying Django with Puppet
View deps.pp
stage { "pre": before => Stage["main"] }
class python {
package {
"build-essential": ensure => latest;
"python": ensure => "2.6.6-2ubuntu1";
"python-dev": ensure => "2.6.6-2ubuntu1";
"python-setuptools": ensure => "latest";
exec { "easy_install pip":
path => "/usr/local/bin:/usr/bin:/bin",
You can’t perform that action at this time.