I hereby claim:
- I am tammymakesthings on github.
- I am tammymakesthings (https://keybase.io/tammymakesthings) on keybase.
- I have a public key ASDbW4BUnAi5Ad9_1sxFgzhzhtAI41bXKxIlumCLtLK_lAo
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| ############################################################################## | |
| # Setup my Common Lisp environment | |
| ############################################################################## | |
| export R="\033[0;31m" | |
| export G="\033[0;32m" | |
| export Y="\033[0;33m" | |
| export B="\033[0;34m" | |
| export C="\033[0;36m" |
| # SPDX-FileCopyrightText: 2023 Tammy Makes Things | |
| # SPDX-License-Identifier: MIT | |
| import os | |
| import board | |
| import busio | |
| from digitalio import DigitalInOut | |
| import adafruit_requests as requests | |
| import adafruit_esp32spi.adafruit_esp32spi_socket as socket | |
| from adafruit_esp32spi import adafruit_esp32spi |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;;;;;;;;; HELLO.ASM: "Hello World" for DOS/Turbo Assembler ;;;;;;;;;; | |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;; A comparatively simple "Hello, World" program in DOS assembly language. | |
| ;; It prompts the user for a yes/no response to "is it after noon?" and then | |
| ;; displays a message based on the result. If the user answers with something | |
| ;; other than 'Y' or 'N' (case-insensitively) it displays an error message and | |
| ;; prompts again. | |
| ;; | |
| ;; Written with Borland Turbo Assembler 4.0 mnemonics. Assemble with: |
| # This update will fail because the commits we need aren't the latest on the | |
| # branch. We can ignore that though because we fix it with the second command. | |
| # (Only works for git servers that allow sha fetches.) | |
| git submodule update --init -N --depth 1 || true | |
| fatal: reference is not a tree: 5d01882c41dbc4115bc94f0b61c093d5a6b812b6 | |
| fatal: reference is not a tree: baab505fd4dcc54d8e9d45e6463c68bdc6d100eb | |
| fatal: reference is not a tree: beec03065712cd62f79e839d5cf8f7c9847fc3b1 | |
| fatal: reference is not a tree: 859a7d403e4e79ec1c8915c81ba581dbaab8a4ac | |
| fatal: reference is not a tree: a8abc3aa8dece6c4d0152b001dfca7d2c279f899 | |
| fatal: reference is not a tree: b04042addd47c2645e139032b02a3b9ddeeb3425 |
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "defaultProfile": "{58ad8b0c-3ef8-5f4d-bc6f-13e4c00f2530}", | |
| "globals": { | |
| "alwaysShowTabs": true, | |
| "copyOnSelect": true, |
| arduino-cli config set sketchbook_path %HOME%\projects\arduino | |
| arduino-cli core update-index | |
| arduino-cli core install arduino:avr | |
| arduino-cli core install adafruit:avr | |
| arduino-cli core install arduino:samd | |
| arduino-cli core install adafruit:nrf52 | |
| arduino-cli core install adafruit:samd | |
| arduino-cli core install adafruit:wiced | |
| arduino-cli core install esp8266:esp8266 |
| proxy_type: auto | |
| sketchbook_path: C:\Users\tammy.cravit\Documents\Arduino | |
| arduino_data: C:\Users\tammy.cravit\AppData\Local\Arduino15 | |
| board_manager: | |
| additional_urls: | |
| - https://adafruit.github.io/arduino-board-index/package_adafruit_index.json | |
| - https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json | |
| - https://arduboy.github.io/board-support/package_arduboy_index.json | |
| - http://www.leonardomiliani.com/repository/package_leonardomiliani.com_index.json | |
| - https://arduino.esp8266.com/stable/package_esp8266com_index.json |
I hereby claim:
To claim this, I am signing this object:
| # I'm looking for a tidy named scope or class method I can define for a User | |
| # that will give me all the Events for which the user hasn't yet registered. | |
| class Event < ActiveRecord::Base | |
| has_many :registrations | |
| has_many :users, through: :registrations, as: :registrants | |
| end | |
| class Registration < ActiveRecord::Base | |
| belongs_to :event |
| class Property < ActiveRecord::Base | |
| has_many :exclusions | |
| def excluded_on?(a_date) | |
| self.exclusions.each do |offering| | |
| return false if offering.start_date >= a_date && offering.end_date <= a_date | |
| end | |
| true | |
| end | |
| end |