Skip to content

Instantly share code, notes, and snippets.

View aikalima's full-sized avatar

Markus Guehrs aikalima

View GitHub Profile

CrowdSmart Use Cases

Use cases on membership and roles

uCase001 Membership Creation

User logs in and becomes a member of the CrowdSmart system. Depending on the unversity URL their initial org is that university. Their initial role is advisor. They are also asked to provide an email,screenName and password. Example: Login at uom.crowdsmartinc.com submit email: jminer@umich.edu, JM, letmein

uCase002 Member add University

User is member of university A (e.g. has already registered) and decides they want to be a member of University B. CS recognizes the email and let's the user know that University B has been added to their member organizations [MG: System won't let user know but simply does it behind the scenes]. They keep the same screen name and password. If the user attempts to register they will receive back the message [MG: changed message]:"This email is taken or you are already a member of CrowdSmart, if so, please login.". Example: Fred@crowdsmart.net first joins through UCB.CrowdSmartinc.

CWT Web Services

Users' Guide

Version 2.0 of 20 March 2015

 

This document details each of the web services available as part of the CWT product line. The Appendix provides detailed descriptions of the supporting databases.

All services are available only on behalf of logged-in members. The member ID is verified by looking up the site-specific authentication token in the loginCredentials table. As of this release, the login credential is presumed to be named CWTSESSID. Every call is expected to provide that identifier either as a session cookie or as part of the POST'ed parameter array. For simplicity, this is not repeated as part of each service's syn­opsis.

@aikalima
aikalima / gist:89af863e958fd9882eb1
Last active August 29, 2015 14:17
dev process an tools

#Crowdsmart dev process & tools

This is a first shot at formalizing the development process.

We don't have an office and are geographically dispersed, thus we have to rely on tools for organizing and tracking tasks, team collaboration and communication.

We cannot rely on email when communicating about product features, milestones, goals, status, assignments.

The goal is to funnel all work through a project management tool. There're a number of tools out there. I heard good things about Blossom and it seems to be simple enough, so let's give it a shot.

@aikalima
aikalima / gist:8465382
Last active November 29, 2018 16:55
Week 2 Quiz

#Debugging & Testing

Find the errors in the following

1.)

My script is loading fine, but separate style sheets aren't working

@aikalima
aikalima / gist:8442997
Last active January 3, 2016 09:29
Intro to the Internet / Web

The Internet and Networking

Lot's of what we did over the last couple of days was low level stuff: binary search, write your own sorting algorithm, the inner workings on blocks - pretty advanced topics for only a week into the class, be proud of yourselves :-). I think Sarah hit the nail on the head when she said: First you learn it the hard way, then you learn how to set it up/use it/configure it in rails or other frameworks.

So far we have written what's called stand alone applications. You run them on a computer, they do stuff, then terminate. Like Rental App manager, or MS Word. Now enter the internet, more specifically the world wide web.

Let's start with the history of the Internet - from the early beginnings to 1990. There's been written a lot about the early days of the Internet and there are a number of good documentaries. I found this 8 min clip very instructive and fun:

@aikalima
aikalima / gist:8408940
Last active January 3, 2016 04:29
Notes on OO Design session

Object Oriented Design & Programming - exercise

###Quick review:

  • What's an object, what's a class?

Classes are a little bit like templates. Usually, you create an instance of a class - an object. Object methods get the job done, for example blend a smoothie.

Sometimes classes have methods too, that means classes can do things without the need to create an object. But for sake of simplicity, let's say we always want to create an instance of a class, an object.

@aikalima
aikalima / gist:8308466
Last active January 2, 2016 13:09
WDI 6 class notes on git and github

##Getting Started

Resources

http://git-scm.com/book/en

Goals

  • Understand the purpose of version control systems
  • Learn how to manage files with git and github
@aikalima
aikalima / gist:8295237
Last active January 2, 2016 11:18
WDI learning goals 01/07/2014

##Goals 01/07/2014

###git and github

  • Understand the purpose of version control systems
  • Learn how to manage files/projects with git and github
  • Understand git branching
  • Understand how to collaborate with others

###ruby part II

A short intro to git and github

Goals

  • Understanding git and github
  • Understanding the basics of managing files
  • Learn how to collaborate with others

Motivation

@aikalima
aikalima / gist:6245953
Last active December 21, 2015 03:58
Angular Homework

Angular homework

First assignment:

Add 'delete' Entry function to Raffler app

Second assignment: