Skip to content

Instantly share code, notes, and snippets.

Mateus Revoredo mateusrevoredo

Block or report user

Report or block mateusrevoredo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mateusrevoredo /
Created Nov 19, 2015
Private Github Fork in Bitbucket

#Setup remotes

# setup local repo
mkdir myrepository
cd myrepository
git init

# add  bitbucket remote as "origin"
git remote add origin ssh://
mateusrevoredo /
Last active Oct 3, 2015
OSX External Monitor RGB Support
  1. Download the patch-edid.rb script from the forums thread above and put it in your home directory.
  2. Restart your Mac.
  3. Before OS X starts up, hold down Command-R and keep it held down until you see an Apple icon and a progress bar. Release. This boots you into Recovery.
  4. From the Utilities menu, select Terminal.
  5. At the prompt type exactly the following and then press Return: csrutil disable
  6. Terminal should display a message that SIP was disabled.
  7. From the  menu, select Restart.
  8. Connect only the external monitor(s) in question (I closed my MacBook lid, for example). The script will make override files for any connected monitor.
  9. Type “ruby patch-edid.rb” in Terminal.
  10. A new folder will be created in your home directory.
mateusrevoredo /
Last active Aug 29, 2015 — forked from joemaller/
Vagrant NFS Mount Without Password
# Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password
# Updated to work with Vagrant 1.7.x
# Allow passwordless startup of Vagrant when using NFS.
# Based on
# Stage updated sudoers in a temporary file for syntax checking
TMP=$(mktemp -t vagrant_sudoers)
cat /etc/sudoers > $TMP
mateusrevoredo / Monokai Custom.icls
Last active Aug 29, 2015
Copy of the original PHPStorm Monokai color scheme with some minor adjustments
View Monokai Custom.icls
<scheme name="Monokai Custom" version="124" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="14" />
<option name="EDITOR_FONT_NAME" value="Source Code Pro" />
<option name="ANNOTATIONS_COLOR" value="ffffff" />
<option name="CARET_COLOR" value="f8f8f0" />
<option name="CARET_ROW_COLOR" value="3e3d32" />
<option name="CONSOLE_BACKGROUND_KEY" value="272822" />
<option name="FILESTATUS_MODIFIED" value="6897bb" />
mateusrevoredo / mateus.zsh-theme
Last active Aug 29, 2015
Fork of the oh-my-zsh "blinks" theme to add some of my personal preferences
View mateus.zsh-theme
#Modified version of: zsh theme
function _prompt_char() {
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
echo "%{%F{blue}%}±%{%f%k%b%}"
echo ' '
You can’t perform that action at this time.