Skip to content

Instantly share code, notes, and snippets.

View sente's full-sized avatar

Stuart Powers sente

View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 31 columns, instead of 30 in line 1.
file,Acholi.txt,Arabic.txt,Azerbaijani.txt,Chinese Simplified.txt,English.txt,French.txt,German.txt,Greek.txt,Hebrew.txt,Hindi.txt,Italian.txt,Malagasy.txt,Malay.txt,Nepali.txt,Pashto.txt,Persian.txt,Portuguese.txt,Russian.txt,Somali.txt,"Spanish, Chile.txt","Spanish, Mexico.txt",Spanish.txt,Swahili.txt,Telugu.txt,Thai.txt,Turkish.txt,Urdu (India).txt,Urdu (Pakistan).txt,Urdu.txt,Vietnamese.txt
Joined_Success,crwdns15907:0crwdne15907:0,تمت الإضافة بنجاح,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Se unió con éxito.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,Successfully joined.,کامیابی کے ساتھ شمولیت اختیار کی ھے,کامیابی
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Level
All
Early Education
Graduate
LP (Lower Primary)
Lower Primary
Lower Secondary
Professional
Range
Undergraduate
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
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
@sente
sente / overdose-on-aliasing.rb
Created August 11, 2016 21:49
Aliasing Madness -- they've gone full circle, literally
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:
@sente
sente / standup-2016-07-13.md
Last active August 18, 2016 14:33
OLE status report

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
@sente
sente / fix_couchdb_rowsperpage.js
Created July 13, 2016 12:45
Automatically set CouchDB's "rows per page" to 100
// ==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==

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