A bikepump is something you want to spend on if you can. It’ll really make a difference. Even on the trainer, should should be putting air in your tires every week or 2. When you start riding outside, you want it a minimum of once a week. Honestly, I’d say make it part of your pre-ride setup.
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
# It will cycle N dots for progress. | |
# Failures are printed immediately in detail. | |
class FailureFormatter | |
RSpec::Core::Formatters.register self, :example_passed, :example_failed, :dump_summary, :start_dump, :example_pending | |
@@dot_count = 0 | |
N = 10 | |
attr_reader :output |
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
# I don't like a lot of noise when my specs run. | |
# This will print the characters from 'progress', but clears the line every 10 so you don't get an epic line of dots. | |
# | |
# Any failures are printed as you go, so I can start looking while the the tests finish. | |
# | |
# You can simplify this with your .rspec-local file. | |
# rspec --require path/to/failure_formatter.rb -- format FailureFormatter spec | |
class FailureFormatter |
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
;;; These commands need to be executed when you are in the context of a nix-project. | |
;;; Requirements: | |
;; - direnv (shell and emacs) | |
;; - projectile (emacs) | |
(defun av-project-buffer-name-function (proc-name) | |
"Generate a buffer name based on `PROC-NAME'. | |
The name looks like '**<nix project> `PROC-NAME'**', **lello overmind**" | |
`(lambda (_mode-name) |
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
;;; codepipeline-watch-mode.el --- Watch the progress of AWS Codepipeline Builds -*- lexical-binding: t; -*- | |
;;; Commentary: | |
;; Shells out to `aws` command line to get data for display. | |
;; My theme is dark. No idea how these colors look in a light theme. | |
;; M-x codepipeline-watch-get-status | |
;; `g` will refresh - it'll update on its own now and then. | |
;;; Code: |
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
;;; 0 - install `direnv' on your machine and active it for lello | |
;;; `cd lello && direnv allow' | |
;;; 1 - Install `rspec-mode' and configure | |
;; allows the test finder to not choke on `lib' stuff | |
(setq rspec-primary-source-dirs '("app")) |
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
;;; the functions of interest are | |
;;; org-trello-insert-todo | |
;;; takes the card - like 'JgW7pEMn' | |
;;; org-trello-insert-todo-from-url | |
;;; takes a full trello url and pulls the card out | |
;; For key & token, go to https://trello.com/app-key The key should be | |
;; front and center. For the token, follow the 'Token' link in the | |
;; first paragraph and then 'Allow' | |
(defvar org-trello-key "....") |
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
# config/initializers/ad_refactoring_utils.rb | |
module Kernel | |
def print_error_for_debug(e) | |
puts "E" * 72 | |
puts "-->#{caller.first}" | |
p e | |
e.backtrace.delete_if do |l| | |
l.match('gems').present? || | |
l.match('ruby').present? |
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
;; For key & token, go to https://trello.com/app-key The key should be | |
;; front and center. For the token, follow the 'Token' link in the | |
;; first paragraph and then 'Allow' | |
;; Just does the title and main contents. pulling in checklists is on my list. | |
;; inserting assumes you have the bullet point, but not the todo | |
;; ** <c> |
NewerOlder