Skip to content

Instantly share code, notes, and snippets.

View fishnsotong's full-sized avatar

Wayne Yeo fishnsotong

View GitHub Profile
@cowdinosaur
cowdinosaur / Tinkerbot Program 2
Created September 19, 2014 16:06
Tinkerbot Program 2
#include <NewPing.h>
#include <Servo.h>
#define ROTATION_SPEED 150
#define DEFAULT_SPEED 150
// Motor pins
const int MOTOR_RIGHT_IN1 = 2;
const int MOTOR_RIGHT_IN2 = 3;
const int MOTOR_LEFT_IN3 = 4;
@cowdinosaur
cowdinosaur / Tinkerbot Program 1
Created September 19, 2014 16:06
Tinkerbot Program 1
#include <NewPing.h>
#include <Servo.h>
#define ROTATION_SPEED 150
#define DEFAULT_SPEED 150
// Motor pins
const int MOTOR_RIGHT_IN1 = 2;
const int MOTOR_RIGHT_IN2 = 3;
const int MOTOR_LEFT_IN3 = 4;
@monicao
monicao / notes.md
Last active December 8, 2021 01:51
Setting up your own Ruby Dev Environment on a Mac

Setting up the Ruby dev environment on a Mac

Tested on Yosemite. Should work on El Cap. Message me if it doesn't.

Why would I want to do that?

  • You are tired of using vagrant
  • You want to run guard
  • You want use Sublime plugins (like RSpec or Guard plugins)
  • You want your code to run faster in development