This file contains hidden or 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
    
  
  
    
  | #!/usr/bin/env python3 | |
| """ | |
| random_note.py prints a random musical note at the passed interval (seconds). | |
| If no interval passed, defaults 4 seconds. | |
| """ | |
| import itertools | |
| import random | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/usr/bin/env ruby | |
| # A simple hash table implementation in Ruby using Ruby's built-in | |
| # prehashing methods, chaining, and variable load factors. | |
| # | |
| # Author:: Hunter Gatewood | |
| # A linked-list node with key, value, and next node attributes. | |
| class Node | |
| attr_accessor(:key, :val, :next_node) | 
NewerOlder