Skip to content

Instantly share code, notes, and snippets.

View lsaville's full-sized avatar

Lee Saville lsaville

  • Denver, CO
View GitHub Profile
  • Episode #001: Episode #001: Binary Literals
  • Episode #002: Episode #002: Large Integer Literals
  • Episode #003: Episode #003: Character Literals
  • Episode #004: Episode #004: Barewords
  • Episode #005: Episode #005: Array Literals
  • Episode #006: Episode #006: Forwardable
  • Episode #007: Episode #007: Constructors
  • Episode #008: Episode #008: #fetch as an Assertion
  • Episode #009: Episode #009: Symbol Literals
  • Episode #010: Episode #010: Finding $HOME

Denver Salsa Weekend (updated 2022-02-15)

There are lots of things posted on facebook about dance events in Denver... I don't really use FB and so maybe I don't know the appropriate names of the various nights so this will go according to location and night.

I happen to prefer on2, but I'll try to give a rough idea of percentanges of a particular night's preference. You can definitely find a bit of both at all places I imagine, so don't let that be deal-breaker. That being said, take with salt.

All the nights don't go past 1am, and depending on the spot/particular day things can clear out a bit earlier.

Vinue

@lsaville
lsaville / README.md
Last active September 8, 2019 04:47

Quick laptop breakdown

Here's a comparison of the System76 Darter Pro 15" and the fanciest new Dell XPS 7390 13"

The Darter Pro

darter pro breakdown

$1507 with the add-ons of 16gb RAM, i7 processor, 3-year warranty, and 3-day rush assembly

Destroy All Software Screencasts

Testing

This season covers testing tools and how to write good tests. We switch between those topics frequently: first build a testing tool (like a test runner), then use it to talk about how to write good tests, then repeat!

  • 1 Test Runner From Scratch: An RSpec-style test runner - 10 min
  • 2 Assertions Large and Small: Asserting is surprisingly subtle. - 12 min
  • 3 Implementing Assertion Syntax: RSpec-style expect and raise_error. - 12 min
  • 4 A Motivating Example Test: A test to guide our runner design. - 11 min

Snake River to Lake One

Map

Interactive Map (the green line shows this route)

Follow this link, then to display additional data such as campsites and photos, click “Layers” in the upper left corner of the map. To display the route on satellite imagery or a different background, click “Background” in the upper left of the map. Zoom in and out using the plus and minus buttons in the upper left.

Details

#!/bin/bash
echo "Hello, who are you?"
read $REPLY
echo "Can I ask you some questions?"
read $REPLY

2023-01-10

Changing to iso 1806 style dates cuz who needs anything else amiright?

DISTINCT ON

DISTINCT ON with ORDER BY acts acts like window functions with ranking/row_number. https://www.youtube.com/watch?v=XuGxGP8quMQ

psql get result file workaround

-- Set the variable "query" to the contents of the sql file
\set query `cat my_rad_query.sql`
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
set runtimepath^=~/.vim/bundle/ctrlp.vim
call vundle#begin()
" " let Vundle manage Vundle, required
" "
Plugin 'VundleVim/Vundle.vim'