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
FROM openjdk:latest | |
RUN curl -sL https://rpm.nodesource.com/setup_12.x | bash - \ | |
&& yum install -y curl unzip \ | |
&& mkdir /sonar \ | |
&& curl -sSL -o /scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492.zip \ | |
&& unzip -qd /sonar/ /scanner.zip \ | |
&& mv /sonar/*/* /sonar/ \ | |
&& rm /scanner.zip \ | |
&& yum erase -y unzip \ |
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
# Make sure the Yubikey CLI (ykman) is installed | |
# Replace 'FOO' below with a unique string within the name of one of your keys. | |
# You can get a list using `ykman oath list` | |
/usr/local/bin/ykman oath accounts code -s "FOO" |
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
/* run this in the console on the ClassDojo page */ | |
function download(url) { | |
fetch(url).then(function (t) { | |
return t.blob().then((b) => { | |
var a = document.createElement("a"); | |
a.href = URL.createObjectURL(b); | |
var n = url.lastIndexOf("/"); | |
var filename = url.substring(n + 1); | |
a.setAttribute("download", filename); |
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
""" | |
Download all ClassDojo photos and videos in your timeline. | |
by kecebongsoft | |
How it works: | |
1. Fetch list of items in the timeline, if there are multiple pages, it will fetch for all pages. | |
2. Collect list of URLs for the attachment for each item | |
3. Download the files into local temporary directory, and also save the timeline activity as a json file. |
OlderNewer