Skip to content

Instantly share code, notes, and snippets.

View Dania02525's full-sized avatar

Dania Es Dania02525

  • Aureo Accounts LLC, Parcelmagic, Asymptote Communications, Homeminder.ai
  • Key Largo, FL, Taos, NM
View GitHub Profile
@Dania02525
Dania02525 / plausible_cloudformation_stack.yml
Created August 3, 2023 14:12
An AWS cloudformation stack to run plausible analytics
Resources:
Cluster:
Type: AWS::ECS::Cluster
DeletionPolicy: Retain
Properties:
ClusterName: <the name of your already created cluster>
Analytics:
Type: AWS::ECS::Service
DeletionPolicy: Delete
@Dania02525
Dania02525 / template.rb
Last active July 7, 2023 17:15
Rails template generator
gem_group :development, :test do
gem 'rspec-rails'
gem 'byebug'
end
gem_group :development do
gem 'rubocop-rails'
end
require 'net/http'
@Dania02525
Dania02525 / rubocop.yml
Last active July 7, 2023 17:04
permissive rubocop config for rails
AllCops:
Exclude:
- 'db/**/*'
- 'bin/**/*'
- 'Gemfile'
- 'spec/**/*'
- 'lib/**/*'
- 'node_modules/**/*'
- 'config/**/*'
- 'vendor/**/*'
@Dania02525
Dania02525 / index.html
Created June 26, 2023 22:47
key_largo_future_radar
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="Key Largo Weather Radar" />
<meta charset="utf-8">
<title>KL Radar</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="">
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
@Dania02525
Dania02525 / not_execute_n_plus_one_matcher.rb
Created April 13, 2023 20:47
A custom rspec matcher to catch n+1 queries
# use this matched to catch most n+1 queries in request specs by creating at least three records, then
# doing something like expect { subject }.to not_execute_n_plus_one
RSpec::Matchers.define :not_execute_n_plus_one do
match do |block|
@queries = []
ActiveSupport::Notifications.subscribe 'sql.active_record' do |_, _, _, _, values|
next if %w(CACHE SCHEMA).include? values[:name]
next if values[:sql].start_with?("SAVEPOINT")
next if values[:sql].start_with?("RELEASE SAVEPOINT")
@Dania02525
Dania02525 / safety.md
Created April 2, 2023 02:49
Stay safe tune drive

Fire Safety

  • There are fire extinguishers suitable for use on all types of fires located in the dining room, the kitchen next to the sink, and in the office.
  • Each room as a CO detector and a smoke detector.
  • Exits are located at the front door, the door next to the dining room, and a door near the washer and dryer.
  • Taos county is very, very dry, so there are no open flames allowed outside. Be extremely careful with ashes and cooking outside as well.

Other Safety

  • Call 911 in an emergency, the address here is 120 Tune Drive, El Prado.
  • Do not approach wildlife, and keep pets leashed and away from wildlife due to the threat of diseases.
  • If you feel dizzy and short of breath on a hike, stop, hydrate, and get to a lower altitude.
@Dania02525
Dania02525 / cool.md
Created April 2, 2023 02:31
Keep cool tune drive

Keeping cool

Tips to keep the house cool

  • The hottest room in the house is the office, be sure to keep the blinds closed in the afternoon to keep the sun out
  • The blinds behind the dining table will help keep the living room cooler if they are down about half way
  • Opening the window behind the dining table and the window behind the TV will allow for some cross breeze
  • The humidity tends to get very low with the windows open, so keep well hydrated.
@Dania02525
Dania02525 / heat.md
Created April 2, 2023 02:30
Stay warm tune drive

Heat

Thermostats

The heat here is from the floor, and consists of water running through pipes embedded in the concrete floor you are standing on. This means a couple of things:

  • It can take a few hours to feel a difference if you change the thermostat- be patient, the whole concrete slab has to catch up!
  • You are likely to be more comfortable at a lower house temperature than at home- the floor being the warmest part will radiate heat upward making you feel more comfortable at 66-72 degrees.
  • A big part of the heat in the house comes from passive solar radiation through the windows, so keeping the blinds open in the living room and office during a clear day will make the house nice and toasty, and it will stay that way well into the night.

Fireplace

  • On really cold nights, the fireplace can make the living room much more comfortable
@Dania02525
Dania02525 / outdoor.md
Last active April 2, 2023 02:29
Outdoor stuff tune dr

Outdoor Stuff

Fishing

  • Eagle's nest lake is a good sized cold water lake with large trout. Its pretty reasonable to rent a pontoon boat and spend a half day out there trying your luck, but book the boat ahead of time. 1hr drive, Eagle Nest.
  • Fly fishing the Red river can be done on your own, or on a guided tour. Taos fly shop runs guided tours with advanced bookings. To go it alone, I recommend stopping in at Sitzmark sports in Red river for custom tied flies, advice, and a fishing license. 1hr drive, Red river

Hiking

  • El Salto preserve just past Arroyo Seco is a private nature preserve thats worth the $10 to get in. If there have been recent rains, the waterfall is spectacular, otherwise it is a relatively easy hike in a beautiful forest. You have to hike into the trail a bit to get to the fee box to deposit your $10 and tear off the piece to stick in your car windshield. 20 min drive, Arroyo Seco
  • There is a strenuous but relatively short trail "Williams Lake Trail" to the left side of

Restaurants & Grocery Stores

These are a few restaurants among many!

Breakfast

  • The Golden Pinion: New place, opened by the former cook of the (sadly) closed Taos diner northside. Cheap and good New Mexico and traditional breakfast, try the homemade biscuits. 10 min drive, Arroyo Seco.
  • Farmhouse cafe: A bit more upscale, traditional breakfast type place- excellent atomosphere and is a joy to sit outside weather permitting. Dog freindly outside. 10 min drive, El Prado
  • Gutiz: We haven't been here, but well known and supposed to have the best egg benedict in the state. 15 min drive, in Taos.

Lunch