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
Node root; | |
int level_max = 5; | |
int branch_max_x = 200; | |
int branch_min_x = 0; | |
int branch_max_y = 200; | |
int branch_min_y = 0; | |
int children_max = 4; | |
void setup() { | |
size(1000, 800); |
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
Booting | |
Package Management | |
The Bash Shell | |
Pattern Matching | |
CLI Text Editing | |
Virtualization | |
Users, Groups, and File Permissions | |
Logging | |
System Monitoring | |
Processes |
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
srch = Tire.search Listing.index_name do |s| | |
s.filter :term, 'categories.name' => 'Food & Drink' # I replaced Food & Drink with a category I know exists | |
end | |
srch.results | |
# => Doesn't have any results, but the query works | |
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
module MyOtherModule | |
class MyOtherClass | |
include Celluloid | |
include Celluloid::Logger | |
attr_accessor :name | |
def initialize(params={}) | |
@name = params[:name] | |
info "-----------" |