I hereby claim:
- I am amackera on github.
- I am amackera (https://keybase.io/amackera) on keybase.
- I have a public key whose fingerprint is 5AD1 C7D1 FBAB D13E 5D4B 6981 AB06 6E97 400D 3A83
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def addNumbers(x, y): | |
# Returning a value | |
return x + y | |
def printString(string): | |
# Not returning anything, but just printing to console | |
print string | |
def returningEarly(myList): | |
# This function only operates on lists longer than 2 elements |
Here's some documentation explaining our user-accessible Feedback API. All of the API routes should be prefixed with the root URL of Top Hat's web server, app.tophat.com
.
This is not the complete API, but these methods should be all that you need to use the API in the way you require!
Feel free to shoot me an email directly if you have any questions: [email protected]
All requests to Top Hat's API should have the API-KEY
HTTP header set to your API key. You can determine your API key by logging into Top Hat and running window.ajax_headers['API-KEY']
inside a JavaScript console.
<div id='choice'> | |
<div class='container'> | |
<h1 class='h-type-1'>Engage students with active learning</h1> | |
<div class='greenpill'> | |
<h2 class='h-type-2'>Student</h2> | |
<p>Participate in your teacher's lectures</p> | |
<a id='btn_student_signup' href=''>Student Signup</a> | |
</div> | |
<div class='bluepill'> | |
<h2 class='h-type-2'>Professor</h2> |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: Anson MacKeracher (amackera) | |
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Fancy runtime path manipulation | |
call pathogen#infect() | |
"call pathogen#helptags() | |
" Enable filetype plugin | |
filetype plugin indent on | |
" Enable syntax highlighting | |
syntax on |
authorization = (Role('teacher') & Owner()) |\ | |
(Role('student') & Enrolled() & ItemAvailable() &\ | |
Methods(['get', 'post'])) | Admin() |
Syncing... | |
Creating tables ... | |
Creating table auth_permission | |
Creating table auth_group_permissions | |
Creating table auth_group | |
Creating table auth_user_user_permissions | |
Creating table auth_user_groups | |
Creating table auth_user | |
Creating table django_content_type | |
Creating table django_session |
SELECT `auth_user`.`id`, `auth_user`.`username`, `auth_user`.`first_name`, `auth_user`.`last_name`, `auth_user`.`email`, `auth_user`.`password`, `auth_user`.`is_staff`, `auth_user`.`is_active`, `auth_user`.`is_superuser`, `auth_user`.`last_login`, `auth_user`.`date_joined`, `accounts_thmuser`.`user_ptr_id`, `accounts_thmuser`.`key_str`, `accounts_thmuser`.`role`, `accounts_thmuser`.`created_date`, `accounts_thmuser`.`last_active`, `accounts_thmuser`.`logged_in`, `accounts_thmuser`.`student_id`, `accounts_thmuser`.`course_passwords`, `accounts_thmuser`.`current_ip_address`, `accounts_thmuser`.`is_anonymous_account`, `accounts_thmuser`.`phone_number`, `accounts_thmuser`.`verified`, `accounts_thmuser`.`clicker_id`, `accounts_thmuser`.`clicker_checksum`, `accounts_thmuser`.`department_id`, `accounts_thmuser`.`org_id`, `accounts_thmuser`.`subscription_id`, `accounts_thmuser`.`current_course_id`, `accounts_thmuser`.`weekly_notification_email`, `accounts_thmuser`.`alias` FROM `accounts_thmuser` INNER JOIN `course_co |
#rabbitmq: rabbitmq-server | |
#pushy: pushy | |
mongodb: mongodb | |
pingpong: pingpong | |
cottontail: cottontail | |
celery: python manage.py celeryd -E | |
celery_socket_reqs: python manage.py celeryd -E -Q socket_reqs | |
celery_highest_priority: python manage.py celeryd -E -Q highest_priority | |
celery_priority: python manage.py celeryd -E -Q priority |
if (this.model.get('survey_url').indexOf('?') == -1) { | |
// start the survey URL query string | |
$(this.el).html('The tournament is complete. To see your rank, please complete <a target="_new" href="'+this.model.get('survey_url')+'?entry_0='+window.user.get('alias')+'&entry_10='+window.user.get('id')+'">this survey.</a>') | |
} else { | |
$(this.el).html('The tournament is complete. To see your rank, please complete <a target="_new" href="'+this.model.get('survey_url')+'&entry_0='+window.user.get('alias')+'&entry_10='+window.user.get('id')+'">this survey.</a>') | |
} |