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
| export function createCustomElement(name, templateId) { | |
| const template = document.getElementById(templateId); | |
| class CustomElement extends HTMLElement { | |
| constructor() { | |
| super(); | |
| const shadowRoot = this.attachShadow({ mode: "open" }); | |
| shadowRoot.appendChild(template.content.cloneNode(true)); | |
| } | |
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| import pdfquery | |
| from PyPDF2 import PdfReader, PdfWriter | |
| from pathlib import Path | |
| import re | |
| from subprocess import Popen, run | |
| SNIPS_FOLDER = Path('/Users/aljas/Documents/KTH/sfdisc/snip/') | |
| #so heres a problem unique to the fy part: the problem texts can be split between pages | |
| def pp(inputpdf, year, n_problems=22, upper_adjustment=5, numbering_suffix=('.',')','a)'), stitch_pagebreaks=True): |
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 WebRTC recorder | |
| // @namespace Violentmonkey Scripts | |
| // @version 0.1 | |
| // @description Record WebRTC media/data streams | |
| // @author Tubeee | |
| // @match https://*.discord.com/** | |
| // @match https://discord.com/** | |
| // @grant none | |
| // ==/UserScript== |