View sixth_export.rb
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
use_bpm 68 | |
kicks = "/Users/thomas.countz/Sync/Lunar/Drum Shots/Kicks" | |
snares = "/Users/thomas.countz/Sync/Lunar/Drum Shots/Snares" | |
live_loop :click do | |
sleep 1 | |
end | |
live_loop :hiss, sync: :click do | |
sample :vinyl_hiss, amp: 0.3, beat_stretch: 5, rpitch: -8 |
View third_export.rb
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
# Listen here: https://soundcloud.com/thomas-countz/third-export | |
use_bpm 68 | |
kicks = "/Users/thomas.countz/Sync/Lunar/Drum Shots/Kicks" | |
snares = "/Users/thomas.countz/Sync/Lunar/Drum Shots/Snares" | |
live_loop :click do | |
sleep 1 | |
end |
View dictionary.rb
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
class Dictionary | |
def self.search_danish(word) | |
new(:da).search(word) | |
end | |
def initialize(language) | |
@language = language | |
end | |
def search(word) |
View insert_all_behavior.rb
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
# frozen_string_literal: true | |
require "bundler/inline" | |
gemfile do | |
source "https://rubygems.org" | |
# gem "activerecord", github: "thomascountz/rails", ref: "5942211feba53c8deec8884bcee109a759c5e60d" | |
gem "activerecord", path: "/worspaces/rails" | |
gem "sqlite3" |
View split_names_prototype.rb
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
#! /usr/bin/env ruby | |
## Usage: | |
# $ chmod +x ./split_names_prototype.rb | |
# $ ./split_names_prototype.rb | |
## Run Specs | |
# Remove breakpoint: (`binding.pry`) | |
# $ rspec ./split_names_prototype.rb |
View active_record_test_bed.rb
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
# active_record_testbed.rb | |
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'activerecord', require: 'active_record' | |
gem 'sqlite3', require: true | |
gem 'pry', require: true | |
end |
View kaffe_log.py
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
#!/usr/bin/env python3 | |
import sys | |
import getopt | |
import serial | |
import time | |
import datetime | |
import csv | |
def main(argv): |
View coloco
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
#!/usr/bin/env ruby | |
## USAGE EXAMPLE | |
## $ bin/coloco '{ "key": "value" }' | |
## | |
## $ find ./datastore -type f | xargs tail -n +1 | |
## ==> ./datastore/key <== | |
## value | |
## | |
## ==> ./datastore/index <== |
View daq_serial_sensor_samples.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View copenhagenair.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder