This file contains 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 Show Image Alt Text | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description https://www.reddit.com/r/chrome_extensions/comments/qhpcw4/looking_for_an_extension_that_will_always_show/ | |
// @author You | |
// @match http*://* | |
// @grant none | |
// ==/UserScript== |
This file contains 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 Filter Youtube Homepage by Age | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove Youtube videos from homepage that are over x years old | |
// @author @Glench | |
// @match https://www.youtube.com/ | |
// @icon https://www.google.com/s2/favicons?domain=youtube.com | |
// @grant none | |
// ==/UserScript== |
This file contains 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
function is_loading() { | |
return document.querySelector('#UpdateProgress3').getAttribute('aria-hidden') == 'false'; | |
} | |
function wait_till_load_done() { | |
setTimeout(function() { | |
if (!is_loading()) { | |
scrape_table() | |
} else { | |
wait_till_load_done(); |
This file contains 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
<script context="backend"> | |
// /routes/index.svelte | |
import db from '/db'; | |
export async function get(req, abort, redirect) { | |
const user = await db.User.findOne({where: {id: req.query.user_id}}); | |
return {user} | |
} | |
</script> |
This file contains 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
{ | |
// sets everything but stage to black on full-screened https://scratch.mit.edu/projects/editor/ | |
const stage = document.querySelector('[class^="stage_stage-bottom-wrapper"]') | |
const rect = stage.getBoundingClientRect(); | |
const pageHeight = document.documentElement.scrollHeight; | |
var leftCover = document.createElement('div'); |
This file contains 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
# This Python file uses the following encoding: utf-8 | |
import subprocess | |
import time | |
breathing_time = 30 # seconds | |
interval_between_breathing = 25 * 60 # seconds | |
applescript = """ | |
display dialog "Breathe and make a home of your body" ¬ |
This file contains 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 play | |
@play.when_any_key_pressed | |
def do(key): | |
text = play.new_text(':(', y=play.screen.bottom) | |
text.start_physics(x_speed=play.random_number(-20,20), y_speed=100, bounciness=.3) | |
play.start_program() |
This file contains 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
Living people 887246 | |
Year of birth missing (living people) 70369 | |
American films 48785 | |
Association football midfielders 45613 | |
Place of birth missing (living people) 43381 | |
English-language films 40342 | |
Association football defenders 35650 | |
Taxonomy articles created by Polbot 32839 | |
Association football forwards 32393 | |
English Football League players 23766 |
This file contains 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
{ | |
"origin":["Did you know that #start# #next# because of #reason#? Apparently #fact#"], | |
"start":["the #springfall# equinox", "the #wintersummer# #solsticeolympics#", "the #earliestlatest# #sunrisesunset#", "daylight #saving# time", "Leap #dayyear#", "Easter", "the #moontype# Moon", "Toyota Truck Month", "Shark Week"], | |
"next":["happens #relativetime# every year", "drifts out of sync with the #synctypes#", "might #happen# this year"], | |
"springfall":["spring", "fall"], | |
"wintersummer": ["winter", "summer"], | |
"solsticeolympics": ["solstice", "olympics"], | |
"earliestlatest": ["earliest", "latest"], | |
"sunrisesunset": ["sunrise", "sunset"], | |
"saving": ["saving", "savings"], |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder