Skip to content

Instantly share code, notes, and snippets.

View joshforbes's full-sized avatar

Josh Forbes joshforbes

View GitHub Profile
var counter = {
count: 0,
init: function() {
this.$count = $('#count');
this.setCount(parseInt(this.$count.text(), 10));
this.bindEvents();
},
var s,
NewsWidget = {
settings: {
numArticles: 5,
articleList: $("#article-list"),
moreButton: $("#more-button")
},
init: function() {
var serviceModule = (function() {
var s;
function serviceShow() {
s.serviceContainer.show(1);
s.serviceBelt.css('left', '-100%');
}
function serviceHide() {
s.serviceBelt.css('left', '0%');
<?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

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?
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)
@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
@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"