View Untitled0-checkpoint.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View uniq_level_combos.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file
Uniq_Level_Combinations
All
Early Education
Early Education | Lower Primary
Early Education | Lower Primary | Upper Primary
Early Education | Lower Primary | Upper Primary | Lower Secondary
Early Education | Lower Primary | Upper Primary | Lower Secondary | Upper Secondary | Undergraduate | Graduate | Professional
Early Education | Lower Secondary | Upper Secondary | Undergraduate | Graduate | Professional
Early Education | Upper Primary | Lower Secondary
Graduate
View unique_levels.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file
Level
All
Early Education
Graduate
LP (Lower Primary)
Lower Primary
Lower Secondary
Professional
Range
Undergraduate
View resources_cleanup_log.tsv
SKIP id: 002BobbyDarinMackTheKnife jpgs:0 pdfs:0 openwith:MP3
DELETE id: 002df5029d490ff332ae5f939abd2fae jpgs:14 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939acb4898 jpgs:13 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939adf1ef5 jpgs:10 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939aed1d92 jpgs:7 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939afa8df8 jpgs:20 pdfs:1 openwith:Bell-Reader
DELETE id: 00d8a12ca2cb9d39e58d80218a26672c jpgs:10 pdfs:1 openwith:Bell-Reader
DELETE id: 01437ce9681edbba3f8aecdd49630779 jpgs:5 pdfs:1 openwith:Bell-Reader
DELETE id: 01437ce9681edbba3f8aecdd49734630 jpgs:6 pdfs:1 openwith:Bell-Reader
SKIP id: 01BornToRun jpgs:0 pdfs:0 openwith:MP3
View resources_cleanup_log.csv
SKIP id: 002BobbyDarinMackTheKnife jpgs:0 pdfs:0 openwith:MP3
DELETE id: 002df5029d490ff332ae5f939abd2fae jpgs:14 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939acb4898 jpgs:13 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939adf1ef5 jpgs:10 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939aed1d92 jpgs:7 pdfs:1 openwith:Bell-Reader
DELETE id: 002df5029d490ff332ae5f939afa8df8 jpgs:20 pdfs:1 openwith:Bell-Reader
DELETE id: 00d8a12ca2cb9d39e58d80218a26672c jpgs:10 pdfs:1 openwith:Bell-Reader
DELETE id: 01437ce9681edbba3f8aecdd49630779 jpgs:5 pdfs:1 openwith:Bell-Reader
DELETE id: 01437ce9681edbba3f8aecdd49734630 jpgs:6 pdfs:1 openwith:Bell-Reader
SKIP id: 01BornToRun jpgs:0 pdfs:0 openwith:MP3
View overdose-on-aliasing.rb
actionmailer-4.1.4/lib/action_mailer/base.rb: alias :controller_path :mailer_name
actionmailer-4.1.4/lib/action_mailer/base.rb: alias :default_options= :default
actionmailer-4.1.4/lib/action_mailer/collector.rb: alias :all :any
actionmailer-4.1.6/lib/action_mailer/base.rb: alias :controller_path :mailer_name
actionmailer-4.1.6/lib/action_mailer/base.rb: alias :default_options= :default
actionmailer-4.1.6/lib/action_mailer/collector.rb: alias :all :any
actionpack-4.1.4/lib/abstract_controller/translation.rb: alias :t :translate
actionpack-4.1.4/lib/abstract_controller/translation.rb:
View standup-2016-07-13.md

What did we achieve yesterday?

* worked on scripts to convert couchdb logs to json, then python to process the json 
* studied our model structure to better understand how objects relate to
  eachother see: https://github.com/sente/BeLL-Apps-runner/tree/master/schema

What is our aim for today?

* figure out why the schemas are the way they are
* figure out how well the actual data in couchdb matches the schemas
View fix_couchdb_rowsperpage.js
// ==UserScript==
// @name Force CouchDB to show 100 results per page
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Stuart Powers
// @match http://*/_utils/*
// @grant none
// ==/UserScript==
View README.md

Instruction to buildmachine:

This will create a customized OS image for the Raspberry Pi based on Raspian Jessie Lite.

There are 3 "machines" you will be working with

  • Host = Your computer
  • Build Machine = Virtual Box machine
  • Build = Simulated Raspberry Pi

Requirements

View jsonlike.py
def is_jsonlike(obj):
# Recursively checks if obj is composed
# only of JSON-compatible primitives
t = type(obj)
if t in (str, unicode, int, float, bool, type(None)):
return True
elif t is dict:
for key, value in obj.items():
if type(key) not in (str, unicode):
return False