Skip to content

Instantly share code, notes, and snippets.

@mdbudnick
mdbudnick / howto-manually-add-trust-cert-to-rubygems.md
Last active February 12, 2016 17:07
Workaround RubyGems' SSL errors on Ruby for Windows (RubyInstaller)

SSL upgrades on rubygems.org and RubyInstaller versions

UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. They require a manual installation step on Windows, please see the instructions below.


Hello,

If you reached this page, means you've hit this SSL error when trying to

How Dev Bootcamp Teaches: ActiveRecord

I'm Jesse, one of the co-founders of Dev Bootcamp, and the acting curricular editor-in-chief. We get lots of questions about how Dev Bootcamp approaches teaching, what our curriculum is like, and how it differs from other schools and competitors. I thought I'd share some of that with you, starting with a brief overview of our theory of learning and then sharing our introduction to ActiveRecord.

Update As of August, 2013, I'm no longer at Dev Bootcamp. I'm now working on CodeUnion to help people learn new technical skills without putting their lives on hold. I wrote everything below myself and I can't actually vouch for whether any of it reflects DBC's current approach. It definitely reflects our approach at CodeUnion, though. If you want to know more, please reach out: jesse@codeunion.io :)

This will be light on theory and hea

@mdbudnick
mdbudnick / node-and-npm-in-30-seconds.sh
Created December 23, 2015 20:42 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh