Skip to content

Instantly share code, notes, and snippets.

View GirlBossRush's full-sized avatar
🌎
Building open source geo-spatial software

Teffen Ellis GirlBossRush

🌎
Building open source geo-spatial software
View GitHub Profile
@GirlBossRush
GirlBossRush / gist:1846793
Created February 16, 2012 18:09
Heroku log
➜ Abriiz-Rails git:(acceptance) heroku logs
2012-02-16T18:07:28+00:00 app[web.1]: Rendered user_mailer/welcome.text.erb (0.3ms)
2012-02-16T18:07:29+00:00 app[web.1]:
2012-02-16T18:07:29+00:00 app[web.1]: Sent mail to [email protected] (880ms)
2012-02-16T18:07:30+00:00 app[web.1]: Redirected to http://abriiz-staging.herokuapp.com/
2012-02-16T18:07:30+00:00 app[web.1]: Completed 302 Found in 2205ms
2012-02-16T18:07:30+00:00 app[web.1]: cache: [POST /users] invalidate, pass
2012-02-16T18:07:30+00:00 heroku[router]: POST abriiz-staging.herokuapp.com/users dyno=web.1 queue=0 wait=0ms service=2244ms status=302 bytes=112
2012-02-16T18:07:30+00:00 app[web.1]:
2012-02-16T18:07:30+00:00 app[web.1]:
<section class="triggers">
<aside class="active">
<h2>Active Triggers</h2>
<ul>
<% current_patient.triggers.each do |t| %>
<%= "<li>#{t.name}</li>".html_safe if t.enabled %>
<% end %>
</ul>
</aside>
➜ Abriiz-Rails git:(22033381_show_care_giver_access) cuke features/additional_caregiver
Using the default profile...
Loaded
DEPRECATION WARNING: Yajl's JSON gem compatibility API is going to be removed in 2.0
@javascript
Feature: Accepting email invitations for additional caregiver access
Background: # features/additional_caregiver/accept_invitation.feature:3
Given there exists a user "diane" # features/step_definitions/account_steps.rb:39
Given no emails have been sent # features/step_definitions/email_steps.rb:43
<td><%= button_to "Remove", patient_invitation_path(current_patient, i), :method => :delete, :confirm => "Are you sure you would like to remove #{i.recipient}?", :class => "delete" %></td>
@GirlBossRush
GirlBossRush / gist:2307101
Created April 5, 2012 01:08
calendar validation erros
Validation Output: 31 Errors
Line 38, Column 37: Bad value secondary for attribute role on element nav.
<nav class="menu" role="secondary">
Line 129, Column 30: Bad value tabs for attribute role on element nav.
<nav class="menu" role="tabs">
Line 159, Column 22: Attribute role not allowed on element thead at this point.
@GirlBossRush
GirlBossRush / dropbox
Created April 12, 2012 22:49
Dropbox service file.
#!/bin/sh
# dropbox service
# Replace with linux users you want to run Dropbox clients for
DROPBOX_USERS="eric"
DAEMON=.dropbox-dist/dropbox
start() {
echo "Starting dropbox..."
for dbuser in $DROPBOX_USERS; do
[1] pry(main)> cohen-poem
--
When this American woman,
whose thighs are bound in casual red cloth,
comes thundering past my sitting place
like a forest-burning Mongol tribe,
the city is ravished
and brittle buildings of a hundred years
splash into the street;
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
# A word of warning. I'm aware that this is a bit of mess. Development is comprimise; tread lightly.
delgator = (state) ->
# Deal with any changes
$.each state.addedKeys, (index, key) ->
console.log("Added keys", index, key)
(function() {
var delgator, getQuestion, getScenario, loadMask;
delgator = function(state) {
return $.each(state.addedKeys, function(index, key) {
console.log("Added keys", index, key);
console.log("Executing " + key.key + "(" + key.value + ")");
return eval("" + key.key + "(" + key.value + ")");
});
};
<!DOCTYPE html>
<html>
<head>
<title>Google Skits by Mango Languages | Let's play!</title>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]--><link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/bootstrap_and_overrides.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/common.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/languages.css?body=1" media="all" rel="stylesheet" type="text/css" />
<link href="/assets/masks.css?body=1" media="all" rel="stylesheet" type="text/css" />