Skip to content

Instantly share code, notes, and snippets.

View analistamarcio's full-sized avatar
:octocat:

Marcio Ferreira analistamarcio

:octocat:
View GitHub Profile
I reviewed some common Ruby methods and grouped them by behavior.
Hopefully this helps someone else too.
[Please copy paste and fix typos, add/delete, improve from this Gist.](https://gist.github.com/dirkdirk/9209d7ea67ac57543975162713910224)
-
# Array
@analistamarcio
analistamarcio / fix-homebrew-npm.md
Created February 12, 2016 23:13 — forked from DanHerbert/fix-homebrew-npm.md
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

If you just want to fix the issue quickly, scroll down to the "solution" section below.

Explanation of the issue

If you're a Homebrew user and you installed node via Homebrew, there is a major philosophical issue with the way Homebrew and NPM work together. If you install node with Homebrew and then try to do npm update npm -g, you may see an error like this:

$ npm update npm -g
@analistamarcio
analistamarcio / Git notes
Created October 23, 2015 16:09 — forked from richardcornish/git.md
Enough Git for your résumé in 100ish lines
Start
=====
1. Install Git
http://git-scm.com/download/mac
(But consider using Homebrew)
2. Make a GitHub account
https://github.com/
3. Open Terminal