Skip to content

Instantly share code, notes, and snippets.

View vanstee's full-sized avatar
💭
🛠

Patrick Van Stee vanstee

💭
🛠
View GitHub Profile

Roadmap

UGtastic is a service that connects user-group organizers with sponsorship opportunities. We seek to faciliate reliable and respectful communications and access for companies looking to connect with user-group communities.

We need to at a minimum provide a way for potential supporters to register and select sponsorship opportunities that can distribute those funds across user-group Builders

Terms

  • Builder: User-Group organizer, community manager.
  • Supporter: Paid sponsor for User-Groups communities. Could be a recruiter, marketing person, or hiring manager.
git branch | tr -d " *" | xargs git show -s --format="%ci %cr %d" | sed /^\s*$/d | sort -r
@vanstee
vanstee / gist:6433029
Last active December 22, 2015 06:48 — forked from bruce/gist:6433003
oks = Enum.filter items, &match?({ :ok, _ }, &1)
@vanstee
vanstee / users_controller.rb
Created August 23, 2012 21:50
Y U NO RECEIVED UPDATE_ATTRIBUTES!?
class Admin::UsersController < Admin::AdminController
def index
@users = User.all
respond_to do |format|
format.html
end
end
def show
def has_all_required_fields?
if jurisdiction.required_fields.present?
jurisdiction.required_fields.all? do |required_field|
reflect_on_association(required_field.class_name).send("#{required_field.field_name}?")
end
end
end
@vanstee
vanstee / env.sample.js
Created December 29, 2011 21:32 — forked from jmreidy/env.sample.js
Pivotal to Sprintly importer
module.exports = {
pivotal: {
TOKEN: 'TOKEN'
PID: 'PID',
},
sprintly: {
USER: "USER_EMAIL",
ID: 'PRODUCT_ID',
KEY: 'API_KEY'
},
....
requirements = scoped_requirements_for_index_or_export.page(page).per(params[:per_page]).all
requirements.map(&:id) #apparently makes this work....
logger.debug "DEBUG: Requirement: #{@requirement.id}"
logger.debug "DEBUG: Last Requirement: #{requirements.last.id}"
if requirements.last.id == @requirement.id and requirements.num_pages != page
....