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
| Select DISTINCT r.timestamp AS timestamp_UTC, DATEADD(hour,-5,r.timestamp) AS timestamp_EST, p.unique_name AS username, u.name , | |
| r.remote_ip as IP, r.user_agent, r.URL | |
| From requests r | |
| LEFT JOIN pseudonym_dim p ON r.user_id = p.user_id | |
| LEFT JOIN user_dim u ON r.user_id = u.id | |
| Where url like '%courses/52212/quizzes/255725/edit%'; |
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
| Sub format_pageviews_csv() | |
| With ActiveWorkbook.ActiveSheet.Range("A1:B1, J1, L1:M1, P1:Q1, S1").EntireColumn | |
| .Delete | |
| End With | |
| ActiveWorkbook.ActiveSheet.Range("B1:K1").EntireColumn.AutoFit | |
| ActiveWorkbook.ActiveSheet.Range("A1").EntireColumn.ColumnWidth = 140 | |
| With ActiveWorkbook.ActiveSheet.Range("A1:k1") |
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
| componentDidUpdate(prevProps, prevState) { | |
| Object.entries(this.props).forEach(([key, val]) => | |
| prevProps[key] !== val && console.log(`Prop '${key}' changed`) | |
| ); | |
| Object.entries(this.state).forEach(([key, val]) => | |
| prevState[key] !== val && console.log(`State '${key}' changed`) | |
| ); | |
| } |
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
| blackboard ref|broken|contextual|underlined|review video |
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
| let csrf = Cookies.get('_csrf_token') | |
| let courseID = '' | |
| let assignmentID = '' | |
| fetch('https://fiu.instructure.com/courses/${courseID}/undelete/assignment_${assignmentID}', { | |
| method: 'POST', | |
| headers: { | |
| 'X-CSRF-Token': csrf | |
| }, | |
| }) |
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 replaceCreatorProDates() { | |
| let regex = />Module available from.+</igm; | |
| // let regex = />Module available from.+<\/p>|<p>.+Module available from.+<\/p>/igm; | |
| let calendarDates = document.querySelectorAll('.generic_table.cke_show_border tbody tr > td:first-child'); | |
| let newDates = [ | |
| '>Module available from Monday, Jan 7 at 5:00 AM - Tuesday, Jan 15 at 11:55 PM<', | |
| '>Module available from Monday, Jan 14 at 5:00 AM - Tuesday, Jan 22 at 11:55 PM<', | |
| '>Module available from Monday, Jan 21 at 5:00 AM - Tuesday, Jan 29 at 11:55 PM<', | |
| '>Module available from Monday, Jan 28 at 5:00 AM - Tuesday, Feb Feb 5 at 11:55 PM<', |
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
| $$('.ChoiceStructure li:nth-child(1) label').forEach( item => item.click()) | |
| $$('.ChoiceStructure tr td:nth-child(4) span label').forEach( item => item.click()) |
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
| Sub ListToText() | |
| ' | |
| ' ListToText Macro | |
| ' | |
| ' | |
| ActiveDocument.ConvertNumbersToText | |
| End Sub |
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
| // ==UserScript== | |
| // @name Canvas TinyMCE Update Contextual Links | |
| // @namespace https://github.com/tidusx18 | |
| // @version 0.0.1 | |
| // @match https://fiu.instructure.com/*/pages/*/edit | |
| // @grant none | |
| // @noframes true | |
| // ==/UserScript== | |
| (function() { |
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 partitionArray(arr, n) { | |
| const res = []; | |
| for (let i = 0; i < Math.floor(arr.length / n); i++) { | |
| res.push(arr.slice(i * n, (i + 1) * n)); | |
| } |
NewerOlder