Skip to content

Instantly share code, notes, and snippets.

View endersonmaia's full-sized avatar

Enderson Maia endersonmaia

View GitHub Profile
@endersonmaia
endersonmaia / .tmux.conf
Last active February 16, 2024 12:30 — forked from v-yarotsky/.tmux.conf
Mac OS X tmux config
### INSTALLATION NOTES ###
# 1. Install Homebrew (https://github.com/mxcl/homebrew)
# 2. brew install zsh
# 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh)
# 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace
# 5. Install iTerm2
# 6. In iTerm2 preferences for your profile set:
# Character Encoding: Unicode (UTF-8)
# Report Terminal Type: xterm-256color
#
### Keybase proof
I hereby claim:
* I am endersonmaia on github.
* I am endersonmaia (https://keybase.io/endersonmaia) on keybase.
* I have a public key whose fingerprint is EBFD DBB6 73E9 985D D047 AF94 5EBC ECB6 5B91 A2CA
To claim this, I am signing this object:
build/
*.box
*.iso
@endersonmaia
endersonmaia / rbenv-install-system-wide.sh
Created July 17, 2012 14:38 — forked from jnx/rbenv-install-system-wide.sh
rbenv install and system wide install on Ubuntu 12.04
# Update, upgrade and install development tools:
apt-get update
apt-get -y upgrade
apt-get -y install build-essential
apt-get -y install git-core
# Install rbenv
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv
# Add rbenv to the path:
@endersonmaia
endersonmaia / dynamic-vhosts.conf
Created June 22, 2012 15:01
Apache Dynamic VHosts, PHP and Pow on Mac OS X
#
# Use this file to make all directories in /Users/enderson/Sites/ available via localtest.me
#
# Example:
#
# www.example.com.localtest.me --> /Users/enderson/Sites/www.example.com
# a.www.example.com.localtest.me --> /Users/enderson/Sites/a.www.example.com
# example.com.localtest.me --> /Users/enderson/Sites/example.com
#
# Change enderson to fit your username.
@endersonmaia
endersonmaia / ADHOCPeer.java
Created January 28, 2011 15:14
Class responsible for generating an ADHOC Peer in a JXTA network.
import java.io.File;
import java.io.IOException;
import net.jxta.endpoint.EndpointAddress;
import net.jxta.endpoint.EndpointService;
import net.jxta.endpoint.Message;
import net.jxta.endpoint.Messenger;
import net.jxta.endpoint.StringMessageElement;
import net.jxta.id.IDFactory;
import net.jxta.impl.endpoint.netty.MessageArrivalListener;
@endersonmaia
endersonmaia / movie-organizer.sh
Created December 16, 2010 00:55
Organize movie's folder.
#!/bin/bash
#
# Script for organize movies.
# Put all movies in one folders using this format for the movi folder
# /<YYYY> - <MOVIE NAME>/
#
# Ex:
#
# /All movies/1999 - Matrix
# /All movies/2003 - Matrix Reloaded