- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
A simple "1-click" javascript approach to downloading a scanned book from archive.org to read at your leisure on the device of your choosing w/out having to manually screenshot every pages of the book by hand. In short it's a glorified "Save Image As..." approach but consolidated down to "1 click". BTW there may be a much better option than this out there - I just built this as an autistic project to see if it would work.
By using this script you agree to delete all book files/images after your 1 hour or 14 days is up! I don't support using this script for any other use cases. After all, none of us have ever kept a library book past it's return date, right?
This is loosely based around MIT's idea of the missing CS Semester: https://missing.csail.mit.edu/ as well as the Stanford Problem Solving for the CS Technical Interview https://web.stanford.edu/class/cs9/ and here you'll find links to things that I've found useful in my job search over the last month or so.
// Load the IFrame Player API code asynchronously. | |
var tag = document.createElement("script"); | |
tag.src = "https://www.youtube.com/iframe_api"; | |
var firstScriptTag = document.getElementsByTagName("script")[0]; | |
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); | |
// Instantiate the Player. | |
function onYouTubeIframeAPIReady() { | |
var player = new YT.Player("player", { |
Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.
// ==UserScript== | |
// @name Mediablock | |
// @description Closes social media from 7 AM to 6 PM inclusive on weekdays, 6 AM to 10 AM Saturdays, and completely free on Sundays! | |
// @include https://*.reddit.com | |
// @include https://*.reddit.com/* | |
// @include https://*.facebook.com | |
// @include https://*.facebook.com/* | |
// @include https://*.twitter.com | |
// @include https://*.twitter.com/* | |
// @include https://scratch.mit.edu |
UPDATED 22.11.2022
It's been two years since the last update, so here's the updated working script as per the comments below.
Thanks to BryanHaley for this.
setInterval(function () {
video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
video.querySelector('#primary button[aria-label="Action menu"]').click();
# GET VERSION | |
npm -v (or --version) | |
# GET HELP | |
npm help | |
npm | |
# CREATE PACKAGE.JSON | |
npm init | |
npm init -y (or --yes) |
Service | SSL | status | Response Type | Allowed methods | Allowed headers |
---|