Skip to content

Instantly share code, notes, and snippets.

@afiestas
afiestas / twitterDeleteContent.js
Created September 14, 2023 06:18
Delete all twitter content from an account
async function waitForElement(selector) {
return new Promise(resolve => {
const observer = new MutationObserver(mutations => {
mutations.forEach(mutation => {
Array.from(mutation.addedNodes).forEach(addedNode => {
const n = addedNode.querySelector(selector);
if (n) {
resolve(n);
observer.disconnect();
}
@afiestas
afiestas / ddns.service
Last active July 3, 2022 20:04
systemd timer for ddns/dyndns/dynamic dns or any other http request
# /etc/systemd/system/ddns.service
[Unit]
Description=Updates ddns via curl
[Service]
Type=oneshot
ExecStart=/usr/bin/curl "https://your request goes here"
#You might have or want to change user/group
#User=nobody
#Group=nogroup
00001 PF.Magic's Petz 3 Player
00002 Headspace Beatnik Player Stub V1.0.0.1
00003 ZingWeb Plug-in for Netscape
00004 Windows Media Player Plug-in
00005 Parable ThingViewer 1.0
00006 Cosmo Player 2.1
00007 Adobe Acrobat
00008 Microsoft ActiveX Portability Container (NPWrap)
00009 VDOLive small plugin
00010 RealPlayer G2 LiveConnect (32-bit)
#!/usr/bin/env bash
jobs=$1
#Amount of jobs to use, 1 per core is desired
if [ $# -eq 0 ]
then
jobs=1
fi
#Adding Kubuntun ppa's for Qt4.8 and KDE 4.8
forkeame nub
require 'mysql'
while true
db = Mysql.new 'freedom', 'root', 'root', 'reseller1'
db.close
end