Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am vfilby on github.
  • I am vfilby (https://keybase.io/vfilby) on keybase.
  • I have a public key ASDRwFXm0R6Ydx00evD0BLfzHDRQmx4JQcSfKIACGURQigo

To claim this, I am signing this object:

# Generic LaTeX Makefile.
#
# $ID$
#
# This makefile is to be specifically used for LaTeX documents only.
# makeindx and BiBTeX extensions are supported.
#
# To use this makefile you must be using GNU make. If you are
# not sure what make is installed ask your system administrator.
# You can also try running GNU make explicitly by running gmake.
@vfilby
vfilby / new_widget_controller.rb
Created July 11, 2012 13:15
I am looking to have a wizard with three steps. The first to collect information necessary to build the model. It is necessary that I do this in steps because the model form is build dynamically based on the step 1 and step 2.
class NewWidgetController < ApplicationController
include Wicked::Wizard
steps :select_data_set, :select_type, :widget_settings
def show
render_wizard
end
def update
@vfilby
vfilby / motor_ext.c
Created February 20, 2011 01:10
Utility methods to access the motor controller on a Handyboard
/**********************************************************
* motor.c
*
* DESCRIPTION
* Provides extended functions for querying the state of
* the motors. See below for an explanation of the byte
* address and bits where the motor status is stored.
*
* CREATED
* August 3rd, 2005