Skip to content

Instantly share code, notes, and snippets.

Robert Carroll robert-carroll

  • Las Vegas, NV
View GitHub Profile
View nav-icon.js
var addMenuButton = function(title, url, img) {
var id_title = 'global_nav_custom_' + title.replace(/\s/, '_').toLowerCase();
var button = $('<li class="custom-menu ic-app-header__menu-list-item" id="'+id_title+'_menu">' +
'<a id="'+id_title+'" href="'+url+'" class="ic-app-header__menu-list-link">' +
'<div class="menu-item-icon-container" aria-hidden="true"><span class="menu-item__badge" style="display: none">'+title+'</span><span class="svg-holder"></span></div>' +
'<div class="menu-item__text">' + title + '</div>' +
'</a>' +
robert-carroll / courselinks-termsort.js
Last active Sep 28, 2018
course links with term select sort
View courselinks-termsort.js
robert-carroll / parse-events.rb
Last active Oct 3, 2018
live events ims format to flat
View parse-events.rb
# this file parses the JSON data
# making best attempts to map JSON data to documented fields
class ParseEvents
# mimic this,
def local_id(any_id)
any_id.to_i % 10_000_000_000_000
robert-carroll / assignment-groups.sql
Created Aug 2, 2018
canvas-data/mssql - assignment groups of master courses
View assignment-groups.sql
ISNULL(formative,0) formative,
ISNULL(summative,0) summative,
ISNULL(other,0) other
robert-carroll / icon-bank.svg
Last active Jul 10, 2018
View icon-bank.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View starter-tray-js
// @name Global Nav - Custom Tray
// @namespace
// @author Robert Carroll <>
// Pin by [Gregor Cresnar]( from [The Noun Project]
$(document).ready(function() {
///* set tray title, icon, links and footer here *///
You can’t perform that action at this time.