Skip to content

Instantly share code, notes, and snippets.

View mlanca's full-sized avatar

mike lancaster mlanca

  • Disabled
  • Clemmons,NC US
View GitHub Profile
@amirrajan
amirrajan / 01_main.rb
Last active May 7, 2022 14:57
DragonRuby Game Toolkit: Loading an OBJ file and rendering triangles.
def tick args
args.grid.origin_center!
args.state.triangles ||= read_obj 'models/mario.obj'
movement_multiplier = 1000
args.outputs.labels << { x: 0,
y: 30.from_top,
text: "W,A,S,D to move. Mouse to look. Triangles is a Indie/Pro Feature and will be ignored in Standard.",
alignment_enum: 1 }
@Atlas7
Atlas7 / rails_console_basics_new_save_puts.md
Last active October 10, 2020 20:23
Rails Console - Basics - new, save, and puts

# Models

After issuing:

rails g model Supplier
rails g model Account