Skip to content

Instantly share code, notes, and snippets.

View dwayne's full-sized avatar

Dwayne Crooks dwayne

View GitHub Profile
@dwayne
dwayne / gedit-setup.md
Created June 24, 2012 18:26
My Gedit setup
@dwayne
dwayne / 00-introduction.md
Last active September 13, 2022 19:36
Intermediate Ruby on Rails Notes
@dwayne
dwayne / django-on-heroku.md
Created August 12, 2012 13:20
Setting up Django and Deploying to Heroku
@dwayne
dwayne / 0-meta.md
Last active August 12, 2021 10:47
Ruby Under a Microscope: Notes (sr bookclub)

Ruby Under a Microscope

Introduction

To understand how Ruby works, read its C source code. After learning each part of Ruby's internal implementation we perform an experiment and use Ruby to test itself.

Most of the book discusses how MRI works.

MRI (Matz's Ruby Interpreter) was invented in 1993 by Yukihiro Matsumoto a.k.a Matz.

@dwayne
dwayne / .gemrc
Last active July 28, 2021 20:04
Keep track of my setup for Ruby and Rails tools
install: --no-document # See http://guides.rubygems.org/command-reference/#gem-install
update: --no-document # See http://guides.rubygems.org/command-reference/#gem-update
:backtrace: true
@dwayne
dwayne / horizontal-list-span-width.scss
Last active May 19, 2021 03:01
How to make a horizontal list span the width of its container element
// Thanks to CSS Tricks for the inspiration: http://css-tricks.com/equidistant-objects-with-css/
@mixin horizontal-list-span-width {
margin: 0;
padding: 0;
list-style-type: none;
text-align: justify;
&:after {
@dwayne
dwayne / a-modern-frontend-dev.md
Last active March 21, 2021 11:38
Articles, tutorials and tools for modern front-end development.

Problem: What does a Modern Front-End Development Workflow Look Like?

I want to start writing libraries and large applications using the JavaScript language. However, I don't know how to setup the project and which build tools to use. What I do know is that the JavaScript community has moved way beyond using browser developer tool plugins and strategically-placed console.log() statements to debug, test, and build code.

I need help.

Below, I will keep track of articles, tutorials and tools I come across as I search for a way to bring my front-end development chops up-to-date.

The Ultimate Resource

@dwayne
dwayne / Vagrantfile
Last active January 27, 2021 18:02
Play with Python 3.5.1 in Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = 'ubuntu/trusty64'
config.vm.provision 'shell', path: 'install-python'
end
@dwayne
dwayne / install.md
Last active December 9, 2020 20:48
Python Dev

Installing Python from source on Ubuntu

For whatever reason you may want to upgrade your version of Python that came with your Ubuntu distro. However, completely replacing the system version is not recommended. Here is how to install Python for the local user.

Python 2.7.10

$ mkdir ~/local/python-2.7.10
$ cd ~/Downloads