Skip to content

Instantly share code, notes, and snippets.

<?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"/>
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);
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

Picks from Cool Tools with Kevin Kelly - Still Untitled

  • Knipex nippers, other tools in general (wire cutters, wrenches, etc.)
  • Metallic sharpie
  • Kroil penetrating oil
  • Magnetic cutting mat
  • Ball-end hex/allen wrenches - Bondhus
  • 25ft tape measure
  • Racheting screwdriver
  • Dewalt - backward compatible batteries

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
(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
class Maze
def initialize(s)
@m = s.dup
@d = r(@m.index('A'),@m.index("\n")+1)
end
def r(a,w)
n = [[1,a]]
until n.empty? do
d,i = n.shift
# An experiment with using the normal parser instead of the scanner.
class AlphaCSV
%%{
machine alphacsv;
textdata = 0x20..0x21 | 0x23..0x2b | 0x2d..0x7e;
cr = 0x0d;
lf = 0x0a;
comma = 0x2c;
dquote = 0x22;
_thor() {
COMP_WORDBREAKS=${COMP_WORDBREAKS//:}
local cur prev opts
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=`thor help | tail -n +2 | awk '{print $2}'`
opts="${opts} `thor list | tail -n +3 | awk '{print $2}'`"
require 'logger'
require 'net/http'
require 'open-uri'
#Roshan Khan
#CS 590B
#HW4 - HMM
class Fasta
attr_accessor :dna, :html