Skip to content

Instantly share code, notes, and snippets.

@BrockA
BrockA / waitForKeyElements.js
Created May 7, 2012 04:21
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@noromanba
noromanba / kokubunizer.user.js
Created December 7, 2012 21:58 — forked from udzura/kokubun.user.js
kokubunize aka NDKify for UserScript
// ==UserScript==
// @name kokubunizer
// @namespace https://flavors.me/noromanba
// @description kokubunize aka NDKify for UserScript
// @include https://www.facebook.com/*
// @downloadURL https://raw.github.com/gist/4236851/kokubunizer.user.js
// @installURL https://raw.github.com/gist/4236851/kokubunizer.user.js
// @version 2012.12.8.3
// @license WTFPL http://sam.zoy.org/wtfpl/ (Do What The Fuck You Want To Public License)
// @contributor udzura https://gist.github.com/4212643
@GMMan
GMMan / groupees-bundles.md
Last active May 24, 2019 17:16
List of Groupees Bundles and Contents (June 23, 2017)

List of Groupees Bundles and Contents


Twin Sister + Max

Start: 2010-12-17 5:00:00 PM
End: 2010-12-19 5:00:00 PM
Link: https://groupees.com/1
1745.38 total sales

@blacktwin
blacktwin / delete_watched_TV.py
Created April 10, 2017 14:02
From a list of TV shows, check if users in a list has watched shows episodes. If all users in list have watched an episode of listed show, then delete episode
"""
From a list of TV shows, check if users in a list has watched shows episodes.
If all users in list have watched an episode of listed show, then delete episode.
"""
import requests
import sys
import os
@fbartho
fbartho / 0. Synology RAID Expansion-Resync Performance.md
Last active April 29, 2024 19:02
Walkthrough of what I did to increase performance on my Synology NAS box during an expansion, and afterwards.

Performance on Synology RAIDs

(especially while expanding)

Warning: The exact commands may not match for your particular linux OS / Synology(NAS) device. I had to customize the commands after exploring my particular system's setup.

If you're new to linux, or this is a new piece of hardware / a new synology device, jump down to the section called "Inspecting a setup"

Contents

@tkrotoff
tkrotoff / FrontendFrameworksPopularity.md
Last active May 30, 2024 02:25
Front-end frameworks popularity (React, Vue, Angular and Svelte)
@thefranke
thefranke / RSS.md
Last active April 16, 2024 09:03
A list of RSS endpoints, readers and resources

The RSS Endpoint List

Please refer to this blogpost to get an overview.

Replace *-INSTANCE with one of the public instances listed in the scrapers section. Replace CAPITALIZED words with their corresponding identifiers on the website.

Social Media

Twitter

@nwesterhausen
nwesterhausen / apprise_notify.sh
Created October 9, 2019 15:57
Apprise Notifier Script for Radarr/Sonarr/Lidarr
#!/bin/bash
###
# This script utilizes apprise (https://github.com/caronc/apprise) to send notifications
# You need to have apprise available for the user sonarr operates under.
# I installed it via `sudo pip install --system apprise` although the python
# community really dislikes it when you do that. Recommended installation would be
# something along the lines of:
#
# sudo su sonarr -s /bin/bash
# pip install --user apprise
@heartnn
heartnn / another_way.md
Last active March 6, 2024 13:24
How to properly do a filesystem check (fsck or e2fck) on Synology DSM 6.0 e.g. DS414

syno_poweroff_task -d

umount /volume1 (replace this with your volume name)

fsck.ext4 -pvf /dev/md0 (replace this with your dev)

reboot the system after the scan is completed


via:

@ThomasDalla
ThomasDalla / radarr-trailers.py
Created January 12, 2020 17:27
Auto download trailers after Radarr download
#!/volume1/@appstore/python3/bin/python3
import logging
import os
import sys
from os.path import join
import subprocess
import locale
import requests # not standard