Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am ngoue on github.
  • I am mcjoejoe (https://keybase.io/mcjoejoe) on keybase.
  • I have a public key whose fingerprint is 1B23 2632 5812 8926 63C9 57BF B56A 9742 3E74 821C

To claim this, I am signing this object:

@ngoue
ngoue / update-remotes.py
Created Feb 16, 2017
Python script to change all the local remotes on my system to use my new GitHub username
View update-remotes.py
#! /usr/bin/env python3
__doc__ = '''
Update all local repositories with new urls after
changing your GitHub username.
'''
import os, sys, subprocess, re
SEARCH_PATH = "/path/to/search"
@ngoue
ngoue / log_rotation.sh
Created Dec 11, 2015
Bash Log Rotation - Mac OSX
View log_rotation.sh
#! /bin/bash
##
# Log rotation script
#
# Author: Jordan Gardner (jordanthomasg@gmail.com)
# Version: 1.0
# Last Revision: 12/11/2015
#
# Copyright (c) 2015 Jordan Gardner
You can’t perform that action at this time.