Skip to content

Instantly share code, notes, and snippets.

@romw314
romw314 / autoapprove-dependabot.yml
Last active July 23, 2023 11:10 — forked from jim80net/autoapprove-dependabot.yml
Auto approve and merge dependabot pull requests. Credit to Phillip Verheyden.
name: Dependabot auto-approve
on: pull_request_target
permissions:
pull-requests: write
# From the docs at https://github.com/dependabot/fetch-metadata#enabling-auto-merge
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
@romw314
romw314 / ducks.js
Created December 11, 2023 18:39
Replace appengine/pond/duck/default-ducks.js in blocklyGAMES to make ducks editable.
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Demo ducks for Pond battle.
* @author [email protected] (Neil Fraser)
*/
@romw314
romw314 / supabase.js
Created January 4, 2024 11:02
Unminified version of the Supabase JS client
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["supabase"] = factory();
else
root["supabase"] = factory();
})(self, () => {
@romw314
romw314 / Notes.md
Created January 6, 2024 11:07
How to make markdown notes and warnings

Markdown notes

Warning

This may not work outside GitHub.

Note

It's not tested outside GitHub.

@romw314
romw314 / rtex.description.md
Last active January 15, 2024 18:48
RTEx - the userscript to limit sites

RTEx is a userscript to limit switching and visiting sites.

Warning

The password protection is not secure, it stores the raw password. The password can be leaked and the settings can be changed via the console.

@romw314
romw314 / smimgshow-2024-05-30.user.js
Last active June 18, 2024 16:00
Show all images on a site. Be sure to scroll down and use the latest version!
// ==UserScript==
// @name SmImgShow
// @namespace http://tampermonkey.net/
// @version 2024-05-30
// @description Show all images on a site.
// @author romw314
// @match https://*/*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAQAAAAm93DmAAAA9ElEQVR4Ae2WSRmEMAyFkYCESqiESkBCJPT0zpWChEpAAhIqAQWzz2S2EtL5MjeSY973k422Xc3gkZAx3T0jwXe/GggFx4oXUDss1GEv0NCCSzgqPGlx41smEf6lo/Et87EtuwW00ttFnSUCS2e4VZXDzLogAwvjelHXM7JIssjFus3WOC6ctvMj5Z7KOcILAjkBL883qoFRnDWy+D2pplwPT7dw12B34FQPzv8BLnZA85Jth2K/NvaLbf3rsaT9cDA+vswPWKMrgJ0sLylG6rPUOZlc9CAlUv8UUSP1j6V2pGQ7ckcO1shkgGMkA22QA9LZwwlNpFq6jAikkgAAAABJRU5ErkJggg==
// @grant none
// @sandbox DOM