Skip to content

Instantly share code, notes, and snippets.

View joshforbes's full-sized avatar

Josh Forbes joshforbes

View GitHub Profile
#!/usr/bin/ruby
# Create display override file to force Mac OS X to use RGB mode for Display
# see http://embdev.net/topic/284710
require 'base64'
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay`
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten

Article I - Contacting League Officers

Your league officers are available if you have any questions or are in need of assistance. If your question pertains to a feature provided by our fantasy football hosting provider, please utilize their support resources before contacting a league officer.

If you cannot contact a commissioner, and your issue is time-sensitive (for instance, if you are requesting a roster modification because you don't have access to the Internet), please use the league message board to make your request. In this way, we can verify the time of your request and make your roster change retroactively if necessary.

League Commissioner

Josh Forbes
(828) 301-3667
forbes@hey.com

System Metrics

  • OS
  • OS Version
  • OS Architecture
  • Computer Name
  • Device Type (server or workstation, probably based on OS)
  • RAM
  • CPU
  • HD Sizes
  • Model
@joshforbes
joshforbes / action_cable_client.go
Created January 29, 2020 19:45
Playing with action cable client in go
// Connects to a specified action cable channel in order to receive broadcasts
package main
import (
"bufio"
"encoding/json"
"flag"
"log"
"net/url"
"os"
@joshforbes
joshforbes / setup
Created November 22, 2017 14:46
App setup
#!/bin/sh
# Set up Rails app. Run this script immediately after cloning the codebase.
# Exit if any subcommand fails
set -e
# Copy over configs
if ! [ -f .env ]; then
cp .env.example .env
class Bottles
def song
verses(99, 0)
end
def verses(first, last)
first.downto(last).map { |n| verse(n) }.join("\n")
end
def verse(n)

Recruiter Questions

General Questions

  • I’m a brand new recruiter. What are some things I need to know? What does my typical day consist of?
  • How many people do you talk to in a day?
  • Is there a task, besides phone calls, that consumes a large portion of your day?
  • What is your ideal method of contact? Does it change over time or by the candidate?

Candidate entry

  • What are some ways you might get a new lead? Is one of these more common than the others?
<?php
public function open()
{
if ($this->publishable_type === 'credit') {
// verify credit is available and anything else that
// needs to be done before a credit job is opened
} elseif ($this->publishable_type === 'daily) {
// charge credit card or anything that needs to be
// done before a daily job is opened