+--------+
|Homepage|
+--------+
+
|
v
+-------+ +------+
|Sign up| |Log in| * Pick first account
+-------+ +------+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'confyio' | |
CONFY_URL_REGEX = /https?:\/\/(?<org>.*):(?<password>.*)@api.confy.io\/orgs\/(?<org>.*)\/projects\/(?<project>.*)\/envs\/(?<env>.*)\/config/ | |
confy_url = %x[heroku config | grep CONFY_URL].chomp.split(' ', 2).last | |
if confy_url.empty? | |
puts "Your CONFY_URL hasn't been set yet. Run `heroku addons:add confy` and try again." | |
exit 1 | |
end |
Known as the "Sticky Shotgun" approach. The tactical steps are:
- Give everyone a pad of stickies and marker.
- Take 5 minutes to write down whatever comes to mind from the release.
- Stick each sticky in correct "zone" on whiteboard. (Keep Doing. Less Of. More Of. Stop Doing. Start Doing.)
- Give a very quick explanation while adding it.
- Group the stickies in each zone into into affinity groups.
- Discuss each affinity group and try to identify what needs to be done to solve the issues; or what was done that makes them worth keeping.
- Vote on 2-3 most important issues so the team can prioritize/know what needs to be addressed first.
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
- Builder: User-Group organizer, community manager.
- Supporter: Paid sponsor for User-Groups communities. Could be a recruiter, marketing person, or hiring manager.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ApplicationController < ActionController::Base | |
def params | |
Parameters.new(super.deep_transform_keys(&:underscore)) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule UserQueries do | |
def in_organization(query \\ User, organization) do | |
from u in query, | |
where: u.organization_id == ^organization.id | |
end | |
def in_patricks_family(query \\ User) do | |
from u in query, | |
where: u.last_name == ^"Van Stee" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
require 'redis' | |
require 'json' | |
require 'sanitize' | |
redis = Redis.new | |
get '/' do | |
@index = redis.llen 'messages' | |
erb :index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="./jquery/jquery.js"></script> | |
<script type="text/javascript"> | |
function verifyLogin() { | |
$.post('./verify_login.php', | |
{username: $("#username").val(), password: $("#password").val() }, | |
function(output) { | |
if (output == "") { | |
window.location="index.php"; | |
} | |
alert(output); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if top_score = top_hits.map(&:score).max | |
- top_hits.detect { |h| h.score == top_score }.result | |
+ sid = top_hits.detect { |h| h.score == top_score }.stored(:demandbase_sid) | |
+ Company.find_by_demandbase_sid(sid) | |
elsif not options.keys.include?(:country) | |
# There's no location information or no matches based on location | |
# revert to a search with no scope | |
- solr_hits(q, options, nil).first.try(:result) | |
+ sid = solr_hits(q, options, nil).first.stored(:demandbase_sid) | |
+ Company.find_by_demandbase_sid(sid) |
OlderNewer