Skip to content

Instantly share code, notes, and snippets.

Darrell Silver darrellsilver

Block or report user

Report or block darrellsilver

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@darrellsilver
darrellsilver / gist:e5dfe8b46da7eb99e20a6f1b3b3f26b5
Created Apr 29, 2016
Current mentors w/o active agreements
View gist:e5dfe8b46da7eb99e20a6f1b3b3f26b5
SELECT c.id, c.email, c.first_name, c.last_name
FROM contacts c
WHERE c.contact_type = 'Current mentor'
AND NOT c.id IN (
SELECT DISTINCT mentor_id
FROM agreements a
WHERE last_session is null
)
;
View gist:5301496495073bd64a59

@channel: Hi all – Major upgrade to video and screensharing just went live! Here's what you need to know:

  • To screenshare you'll have to reenable your Thinkful extension. In Chrome, visit chrome://extensions and click "Enabled" on the Thinkful extension. In Firefox, visit about:addons, click on the Extensions tab, then click "Enable" on the Thinkful extension.
  • Clear your cache (or issue a hard refresh on the page). We have had some reports of screensharing failing silently. If this happens, try closing your browser tab and joining again from another tab.
  • The original video and screensharing tech is still available! If you have trouble with the new system. Click on "?" to find this fallback system.

What's new

  • Chat! 'Nuff said.
  • Reliability: A whole new backend using opentok should be much more reliable than the original implementation.

We're here to help & listen in the #project-owl channel. If you've had trouble with it in the past, time to try again.

View gist:9961183
import json
import datetime
class DeepEncoder(json.JSONEncoder):
def default(self, obj):
if type(obj) in (datetime.datetime, datetime.date):
return obj.isoformat()
try:
You can’t perform that action at this time.