This file contains hidden or 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
| // | |
| // RefreshAttendance_SchoolDaysOnly.js | |
| // Rick Nagy | |
| // 2014-03-17 | |
| // | |
| // run via js console | |
| refreshCount = -1; | |
This file contains hidden or 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 afterLoad(callback, param) { | |
| var loading = setInterval(function() { | |
| if ($( "*[class^='load']:not('.ribbonSelectorWidget *'):visible" ).length === 0) { | |
| clearInterval(loading); | |
| callback(param); | |
| } | |
| }, 10, param); | |
| } |
This file contains hidden or 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
| #!/Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
| """Wrapper on top of the Logger for logging QuickSchools API requests""" | |
| import logging | |
| import json | |
| import sys | |
| import random | |
| import os | |
| import traceback | |
| import syslog |
This file contains hidden or 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
| #!/Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
| """Data migration via the QuickSchools API - utility module.""" | |
| import qs | |
| import api_logging | |
| import pickle | |
| import os | |
| import random | |
| import sys |
This file contains hidden or 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 ruby | |
| require 'uri' | |
| require 'net/http' | |
| require 'json' | |
| uri = URI("http://sqlformat.org/api/v1/format") | |
| https = Net::HTTP.new(uri.host, uri.port) | |
| https.use_ssl = false |
This file contains hidden or 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
| // | |
| // SaveAllGradebooks.js | |
| // Rick Nagy | |
| // 2014-03-06 | |
| // | |
| // run via js console | |
| currentTeacher = 0; | |
| currentSection = 0; |
This file contains hidden or 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
| // | |
| // DeleteSubjects.js | |
| // Rick Nagy | |
| // 2014-03-04 | |
| // | |
| // Run via js console | |
| javascript: buttons = document.getElementsByClassName('buttonWidget allButtons'); | |
| i = 0; |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8" ?> | |
| <Module> | |
| <ModulePrefs title="QuickSchools Admissions Form" /> | |
| <Content type="html"> | |
| <![CDATA[ | |
| <div id="enquiry-form"></div> | |
| <div class="qsstandalone-footnote" id="enquiry-footer">Form powered by <a href="http://www.quickschools.com" target="_blank">QuickSchools.com - School Management System</a></div> | |
| <script> |
This file contains hidden or 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
| #!/Library/Frameworks/Python.framework/Versions/2.7/bin/python | |
| import re | |
| import os | |
| import json | |
| folder_path = 'FOLDER PATH' | |
| rxcountpages = re.compile(r"/Type\s*/Page([^s]|$)", re.MULTILINE | re.DOTALL) | |
This file contains hidden or 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
| // | |
| // OpenAndSaveStudentRecords.js | |
| // Console JavaScript | |
| // | |
| // Created by Rick Nagy on 2014-01-27. | |
| // | |
| // This will go down the student list in the Students module and click and save each student | |
| // | |
| // set TRIGGER_KEYUP to true to also trigger the keyUp() method in the name field | |
| // this is useful for triggering the name parser, which is useful |