A list of stuff that I'm not using anymore and am getting rid of. Make me an offer!
- Snuglet
- Crucial M4 64GB SSD (2.5")
- Firewire/USB 2 2.5" SATA external enclosure
- Straight Talk SIM, 30 day service plan
require "minitest/autorun" | |
require "oga" | |
require "pry" | |
class TestStandup < Minitest::Test | |
INPUT = Oga.parse_html(DATA.read) | |
def get_section(tag:, text:) | |
document = Oga::XML::Document.new | |
INPUT.xpath("//#{tag}[.='#{text}']/../*").each do |node| |
require 'minitest' | |
module PuzzleHunt | |
class Annealer | |
def acceptance_probability(e, e_, t) | |
(e_ < e) ? 1 : Math.exp((e-e_)/t.to_f) | |
end | |
def simulate(start:, neighbor:, energy:) | |
state = start |
(main)> ls Hurley::Client | |
Forwardable#methods: def_delegator def_delegators def_instance_delegator def_instance_delegators delegate instance_delegate | |
Hurley::Client#methods: | |
after_call before_call call connection= get header host= patch port= put request scheme ssl_options | |
after_callbacks before_callbacks connection delete head host options port post query request_options scheme= url |
A list of stuff that I'm not using anymore and am getting rid of. Make me an offer!
Picks from Cool Tools with Kevin Kelly - Still Untitled
require 'logger' | |
require 'time' | |
require 'dotenv' | |
require 'pry' | |
require 'watir-webdriver' | |
Dotenv.load | |
class Rescheduler |
require 'pry' | |
def consecutives(ary, &block) | |
x = nil | |
y = 0 | |
block ||= ->(i) { i - x == 1 } | |
hash = ary.group_by do |i| | |
y += 1 unless x.nil? || block[i] | |
x = i | |
y |
module switch_hole(position, notches=use_notched_holes, kerf=0) { | |
/* Cherry MX switch hole with the center at `position`. Sizes come | |
from the ErgoDox design. */ | |
hole_size = 13.97; | |
notch_width = 3.5001; | |
notch_offset = 4.2545; | |
notch_depth = 0.8128; | |
translate(position) { | |
union() { | |
square([hole_size-kerf, hole_size-kerf], center=true); |
<?xml version="1.0" encoding="UTF-8"?> | |
<opml version="1.0"> | |
<head> | |
<title>Alpha subscriptions in feedly Cloud</title> | |
</head> | |
<body> | |
<outline text="Football" title="Football"> | |
<outline type="rss" text="Football Outsiders" title="Football Outsiders" xmlUrl="http://feeds.feedburner.com/FootballOutsiders" htmlUrl="http://www.footballoutsiders.com/rss/main"/> | |
<outline type="rss" text="Second Opinion" title="Second Opinion" xmlUrl="http://bramelsecondopinion.com/feed/" htmlUrl="http://bramelsecondopinion.com"/> |
Overall: | |
} 1212 | |
{ 1207 | |
. 1146 | |
: 1013 | |
, 676 | |
' 671 | |
- 609 | |
/ 436 | |
) 364 |