Skip to content

Instantly share code, notes, and snippets.

View ivancea's full-sized avatar
💭
Looking for something interesting to do...

Iván Cea Fontenla ivancea

💭
Looking for something interesting to do...
View GitHub Profile
@ivancea
ivancea / StudocuDocumentDownloader.js
Last active March 5, 2024 18:35
Studocu document downloader (Not working anymore, now it shows blurred images instead)
/*
1. Scroll down the full document. Let images load, if any
2. Execute this script: Open the console with F12, paste this script there, and press Enter
3. Print the document to PDF, with a scale of 115% (Maybe tweak it, depending on the document)
*/
(function doIt() {
const pageContainer = document.getElementById("page-container");
const pages = pageContainer.querySelectorAll(".pf > .page-content > .pc");
#include <iostream>
#include <vector>
#include <queue>
#include "Image.h"
using namespace std;
enum Direction {
UP,