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
mateusrevoredo / fork.md
Created Nov 19, 2015
Private Github Fork in Bitbucket
View fork.md

#Setup remotes

# setup local repo
mkdir myrepository
cd myrepository
git init

# add  bitbucket remote as "origin"
git remote add origin ssh://git@bitbucket.org/username/myrepository.git
@mateusrevoredo
mateusrevoredo / instructions.md
Last active Oct 3, 2015
OSX External Monitor RGB Support
View instructions.md
  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
mateusrevoredo / install_vagrant_sudoers.sh
Last active Aug 29, 2015 — forked from joemaller/install_vagrant_sudoers.sh
Vagrant NFS Mount Without Password
View install_vagrant_sudoers.sh
#!/bin/bash
# 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 https://gist.github.com/joemaller/6764700
# Stage updated sudoers in a temporary file for syntax checking
TMP=$(mktemp -t vagrant_sudoers)
cat /etc/sudoers > $TMP
@mateusrevoredo
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" />
<colors>
<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
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: https://github.com/blinks zsh theme
function _prompt_char() {
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then
echo "%{%F{blue}%}±%{%f%k%b%}"
else
echo ' '
fi
}
You can’t perform that action at this time.