I hereby claim:
- I am hkamran80 on github.
- I am hkamran (https://keybase.io/hkamran) on keybase.
- I have a public key ASBvNGvZbr8bVRDUF4btFiUwH_zDkiLfZ1hSLDo8f-vcPAo
To claim this, I am signing this object:
<template> | |
<v-btn icon @click="toggleDarkMode"> | |
<v-icon>mdi-theme-light-dark</v-icon> | |
</v-btn> | |
</template> | |
<script> | |
export default { | |
name: "Example", | |
methods: { |
// ==UserScript== | |
// @name AO3 - Series Download Links | |
// @namespace https://hkamran.com | |
// @version 1.0.0 | |
// @description Series Download Links for AO3, based on | |
// @author H. Kamran | |
// @downloadUrl https://gist.github.com/hkamran80/8e1c9055807679f5094da040072a8212/raw/ao3.user.js | |
// @updateUrl https://gist.github.com/hkamran80/8e1c9055807679f5094da040072a8212/raw/ao3.user.js | |
// @match https://archiveofourown.org/series/* | |
// @grant none |
package com.hkamran; | |
import java.util.Arrays; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.geometry.Insets; | |
import javafx.geometry.Pos; | |
import javafx.scene.Scene; |
import { decode } from "blurhash"; | |
const cache: Record<string, string> = {}; | |
export const blurHashToDataURL = ( | |
hash: string | undefined, | |
): string | undefined => { | |
if (!hash) return undefined; | |
const cachedBlurDataURL = cache[hash]; |
// Get all names on a Canvas roster from [Course] > People | |
// With filtering | |
console.log([...document.querySelectorAll("tbody tr.rosterUser")].filter(row => row.querySelector("td[data-test-id=section-column-cell]").textContent.includes("[your filter]")).map(row => row.querySelector("td:nth-child(2)").textContent.trim()).join("\n")); | |
// Without filtering | |
console.log([...document.querySelectorAll("tbody tr.rosterUser")].map(row => row.querySelector("td:nth-child(2)").textContent.trim()).join("\n")); |
I hereby claim:
To claim this, I am signing this object: