This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#assuming schema is | |
# table turbines | |
# id integer | |
# turbine_type_id integer | |
# table turbine_types | |
# id integer | |
# name string | |
class Turbine < ActiveRecord::Base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* is this cool enough that it warrants a blog post? | |
* | |
* trigger breakpoint in GDB, from code. | |
*/ | |
#include <stdio.h> | |
int main(int argc, char *argv[]) { |