Skip to content

Instantly share code, notes, and snippets.

Internal Server Error: /api/auth/saml/assertion-consumer-service/
UnicodeEncodeError at /api/auth/saml/assertion-consumer-service/
'ascii' codec can't encode characters in position 3247-3248: ordinal not in range(128)
Request Method: POST
Request URL: https://builder.guidebook.com/api/auth/saml/assertion-consumer-service/?format=json
Django Version: 1.9.7
Python Executable: /usr/bin/python
Python Version: 2.7.6
@cooncesean
cooncesean / contribution.md
Created March 29, 2016 22:10
Sample contribution docs.

Contributing

If you would like to contribute to this project, follow the guidelines below.

Branches

We name branches after the Jira tickets they address. For example, this Jira ticket https://jira.guidebook.com/browse/BUIL-2361 would result in the branch name BUIL-2361.

Commits

Strive to write small, tight commits that follow this outline:

Summarize changes in 50 characters or less
@cooncesean
cooncesean / g3-index.html
Created May 19, 2015 23:35
This is for New Relic debugging purposes.
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><script type="text/javascript">(window.NREUM||(NREUM={})).loader_config={xpid:"VQMCUlRbGwsBXVBSBgk="};window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o?o:e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({QJf3ax:[function(t,e){function n(t){function e(e,n,a){t&&t(e,n,a),a||(a={});for(var c=s(e),f=c.length,u=i(a,o,r),d=0;f>d;d++)c[d].apply(u,n);return u}function a(t,e){f[t]=s(t).concat(e)}function s(t){return f[t]||[]}function c(){return n(e)}var f={};return{on:a,emit:e,create:c,listeners:s,_events:f}}function r(){return{}}var o="nr@context",i=t("gos");e.exports=n()},{gos:"7eSDFh"}],ee:[function(t,e){e.exports=t("QJf3ax")},{}],3:[function(t){function e(t){try{i.console&&console.log(t)}catch(e){

What We Are Building

Provide a quick overview of the technical implementation of the project so folks have enough context about our stack to answer client questions, file bug reports, etc.

  1. Tech Stack (Back-End): The back-end is essentially morphing into a fat data store with an API layer around it that provides an interface for users to get and set data.
    • The back-end team develops in a programming language called Python,
    • Leverages a web framework called Django (which provides a lot built-in niceties around user management, authentication, etc).
    • And are using an open source library called DjangoRestFramework, which acts as our API library.
  2. Tech Stack (Front-End): By contrast, the front-end is evolving from a number of individual templates into a single page app written in pure Javascript. The end result should be a faster, more fluid interface that makes it easy for CSAs and customers to manage their guides.
  • The front-end team develops in a programming language called
@cooncesean
cooncesean / gb-backbone-challenge.md
Created November 5, 2014 22:26
Guidebook backbone challenge.

Backbone Code Challenge

Can you build a small project that allows the current user to create/update/delete a number of Guides? Each Guide can contain a single Schedule object and schedules can have multiple Events.

Implement view layer logic that accepts inputs from the DOM, fetches data from the API and updates the ul#guide-list unordered list.

DOM Assumptions

Gears Authentication

Functionality Overview

Using a 'temporary' user model (just use contrib.auth.models.User until we nail down our User models), I should be able to:

  1. Sign up for gears
  2. Login to gears
  3. Logout from gears
@cooncesean
cooncesean / select-movement.html
Last active August 29, 2015 14:06
Beginner JS Code challenge
<html>
<style>
select{min-width: 200px;}
input{min-width: 200px;}
</style>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<input type="text" id="input-add-text" placeholder="Text To Be Added" />
<button id="btn-add-text">Add Text To Left Select</button>
@cooncesean
cooncesean / anaconda.json
Created July 30, 2014 01:14
anaconda settings
{
"pep8_ignore":
[
"E501", "E302", "W191"
]
}
@cooncesean
cooncesean / blog_coding_challenge.md
Created July 8, 2014 23:11
Coding challenge for candidates.

Blog Coding Challenge

Make a Blog with distinct Categories and Authors. If time permits, add the ability to add Comments. Take about 30 minutes - get as far as you can and we'll discuss.

Requirements

  1. Framework should be Django or Flask.
  2. Views:
    • List view (all posts)
    • Filtered list view by category
    • Detail view (single post)
  • Process comment submissions
fileserver_backend:
- roots
- git
gitfs_remotes:
- https://github.com/cooncesean/mysql-formula.git