View gist:e7de2608545a9482d342
1 2 3 4 5 6 7 8 9 10
#!/bin/bash
#
# Script to prepare a cubietruck SD image for x2go
# Based on work by Arturo Samanez (https://github.com/iLearner/x2go)
# and instructions at http://linux-sunxi.org/Bootable_SD_card
 
if [ $EUID -ne 0 ]
then
echo ""
echo "ERROR: Please run this script as root."
View index.html
1 2 3 4 5 6 7 8 9 10
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!--
Adapted from http://philogb.github.io/jit/static/v20/Jit/Examples/Spacetree/example1.html
-->
 
<head>
View gist:752d34b049d5000f1121
1 2 3 4 5 6 7 8 9 10
#
# IMPORTANT:
# This query is formatted to work with Moodle's Configurable Reports plugin
# https://moodle.org/plugins/view.php?plugin=block_configurable_reports
#
 
select
u.username "User",
c.shortname "Course",
from_unixtime(viewed.first) "First View",
View gist:ab4d4486430eb777cb42
1 2 3 4 5 6 7 8 9 10
<html>
<head>
<style>
.page_add {
border: thin solid gray;
border-radius: 10px;
width: 1050px;
padding-left: 20px;
padding-right: 20px;
height: 70%;
View gist:e51ebb0093c354807fff
1 2 3 4 5 6 7 8 9
/**
*
* This is the result of writing to an XBlock with a superclass of the Dict field, each of which have a bunch of
* logging/debug wrappers built into them. The result is somewhere between a confusing mess and an informative trip
* down the rabbit hole that is XBlock field internals. Enter if you dare. :)
*
* The code that produced this log is here:
 
https://github.com/usernamenumber/xb_scorm/blob/logging/xb_scorm/xb_scorm.py
View ktouch_reporter.py
1 2 3 4 5 6 7 8 9 10
import json, os, re, sys, time
from lxml import etree
"""
This tool finds and prints xAPI JSON representations of each ktouch activity it finds.
It is WAY OVER-ENGINEERED for what it needs to be, but it was also intended as a way
to play around with ideas for how this could be abstracted into a more general framework.
Here are some concepts you will need to understand:
Something went wrong with that request. Please try again.