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
<cartridge_basiclti_link xmlns="http://www.imsglobal.org/xsd/imslticc_v1p0" | |
xmlns:blti="http://www.imsglobal.org/xsd/imsbasiclti_v1p0" | |
xmlns:lticm="http://www.imsglobal.org/xsd/imslticm_v1p0" | |
xmlns:lticp="http://www.imsglobal.org/xsd/imslticp_v1p0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.imsglobal.org/xsd/imslticc_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticc_v1p0.xsd http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0.xsd http://www.imsglobal.org/xsd/imslticm_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd http://www.imsglobal.org/xsd/imslticp_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd"> | |
<blti:title>External non-BLTI URL</blti:title> | |
<blti:description>This tool adds a Course Navigation item to a URL specified in the URL tag, after configuration it can be found under the navigation settings</blti:description> | |
<blti:launch_url>https://lti-examples.heroku.com/tool_r |
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
-- Finding Users that have not logged in to the System and are not enrolled in any course | |
SELECT u.user_id, u.last_login_date | |
FROM BBLEARN.users u WHERE NOT EXISTS (SELECT pk1 FROM BBLEARN.course_users WHERE users_pk1=u.pk1 ) | |
and u.last_login_date is null | |
-- and u.system_role = 'N' -- if we want to limit by the system role | |
order by user_id asc; |
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
function pdf_join { | |
join_py="/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py" | |
read -p "Name of output file > " output_file && "$join_py" -o $output_file $@ && open $output_file | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
(a) A text equivalent for every non-text element shall be provided (e.g., via "alt", "longdesc", or in element content). | |
(b) Equivalent alternatives for any multimedia presentation shall be synchronized with the presentation. | |
(c) Web pages shall be designed so that all information conveyed with color is also available without color, for example from context or markup. | |
(d) Documents shall be organized so they are readable without requiring an associated style sheet. | |
(e) Redundant text links shall be provided for each active region of a server-side image map. | |
(f) Client-side image maps shall be provided instead of server-side image maps except where the regions cannot be defined with an available geometric shape. | |
(g) Row and column headers shall be identified for data tables. | |
(h) Markup shall be used to associate data cells and header cells for data tables that have two or more logical levels of row or column headers. | |
(i) Frames shall be titled with text that facilitates frame identification and navigation | |
(j) |
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
from optparse import make_option | |
from django.core import serializers | |
from django.db.models import get_app, get_models | |
__author__ = 'mikhailturilin' | |
from django.core.management.base import BaseCommand |
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
""" | |
Exports Issues from a specified repository to a CSV file | |
Uses basic authentication (Github username + password) to retrieve Issues | |
from a repository that username has access to. Supports Github API v3. | |
""" | |
import csv | |
import requests | |
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
(function() { | |
var s=document.createElement('script'); | |
s.setAttribute('src','https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'); | |
if(typeof jQuery!='undefined') { | |
var msg='This page already using jQuery v' + jQuery.fn.jquery; | |
} else { | |
document.getElementsByTagName('head')[0].appendChild(s); | |
var msg='This page is now jQuerified' | |
} | |
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 | |
"""Command line script to convert a file, usually an image, into a data URI | |
for use on the web.""" | |
import base64 | |
import mimetypes | |
import os | |
import sys | |
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
{%for u in users%} | |
{{u}} - {{u.last_login}}<br /> | |
{% endfor %} |
NewerOlder