Currently no MOOCs (Massive Open Online Courses) or e-learning systems support a peer instruction method, which has shown some advantages over traditional lecture-based learning techniques. In this project I will implement a tool that helps instructors and their students experiment with this teaching method online. The project will mainly leverage WebRTC technology.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Job(object): | |
@require_perms("create_vm") | |
@staticmethod | |
def create_vm(**data): | |
pass | |
# ... somewhere else ... | |
with permissions(current_user.perms): | |
job = Job.create_vm() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = {} | |
config.rabbit = {}; | |
config.nuve = {}; | |
config.erizoController = {}; | |
config.cloudProvider = {}; | |
config.erizo = {}; | |
config.rabbit.host = 'localhost'; | |
config.rabbit.port = 5672; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_indent": true, | |
"bold_folder_labels": true, | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"detect_indentation": true, | |
"draw_minimap_border": true, | |
"enable_telemetry": false, | |
"folder_exclude_patterns": |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_db(): | |
ctx = _app_ctx_stack.top | |
con = getattr(ctx, "sa_database", None) | |
if con is None: | |
con = SQLAlchemy(ctx.app) | |
ctx.sa_database = con | |
return con |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import requests | |
from datetime import date | |
import re | |
def main(): | |
url1 = "http://corporate.visa.com/pd/consumer_services/consumer_ex_rates.jsp" | |
url2 = "http://corporate.visa.com/pd/consumer_services/consumer_ex_results.jsp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# coding: utf-8 | |
import os | |
import datetime | |
import time | |
import pynotify | |
MAX_UPTIME = 60 * 60 # in seconds: 1 hour | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "workshops/_page.html" %} | |
{% block content %} | |
<h2>Instructors</h2> | |
{% if instructors %} | |
<p><span class="glyphicon glyphicon-envelope"></span> = mail instructor about problem</p> | |
<p><span class="glyphicon glyphicon-remove"></span> = no email address available</p> | |
<table class="table table-striped"> | |
<tr> | |
<th>Instructor</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pylab as plt | |
from scipy.fftpack import fft, ifft, fftfreq | |
from scipy.io import wavfile | |
from scipy.signal import butter, filtfilt, lfilter | |
filename = 'probka2.wav' | |
filename_out = 'probka2_filtered.wav' | |
[fs, frames] = wavfile.read(filename) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo /bin/false | |
[sudo] password for piotr: | |
There must be cure for it! | |
[sudo] password for piotr: | |
And with that remarks folks, the case of the Crown vs yourself was proven. | |
[sudo] password for piotr: | |
Where did you learn to type? | |
sudo: 3 błędne próby wprowadzenia hasła |
OlderNewer