Skip to content

Instantly share code, notes, and snippets.

View robertdigital's full-sized avatar
🌴
just another day in paradise

Røbert Digital robertdigital

🌴
just another day in paradise
View GitHub Profile
@robertdigital
robertdigital / yt-dlp-all
Created May 27, 2022 08:40 — forked from zamnuts/yt-dlp-all
yt-dlp playlist concurrent downloader
#!/usr/bin/env zsh
playlistUrl="$1";
numParallelDownloads="${2:-5}";
numParallelFragments="${3:-5}";
[[ -z "$playlistUrl" ]] && echo 'i need a url to a yt playlist please.' >&2 && exit 1;
[[ "$numParallelDownloads" =~ '^[^0-9]+$' ]] && echo "expected parameter 2 to be the number of parallel downloads, got '$numParallelDownloads'." >&2 && exit 1;
[[ "$numParallelFragments" =~ '^[^0-9]+$' ]] && echo "expected parameter 3 to be the number of parallel fragments, got '$numParallelFragments'." >&2 && exit 1;
@robertdigital
robertdigital / RSS.md
Created May 26, 2022 22:42 — forked from thefranke/RSS.md
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

@robertdigital
robertdigital / GoogleDorking.md
Created May 26, 2022 19:22 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
#!/bin/sh
#
# WeMo Control Script
#
# [email protected]
#
# Usage: ./wemo_control IP_ADDRESS ON/OFF/GETSTATE/GETSIGNALSTRENGTH/GETFRIENDLYNAME
#
#
IP=$1
@robertdigital
robertdigital / SketchSystems.spec
Created March 7, 2022 17:25 — forked from robertpenner/SketchSystems.spec
SpirioCast Cast Flow
SpirioCast Cast Flow
home_screen*
PREPARE_TO_CAST -> preparing_to_cast_screen
cast_screens
BACK -> home_screen
VIEW_CAST_DETAILS -> cast_details_screen
VIEW_HELP -> help_page
cast_details_screen
# Would actually return to whichever the previous screen was (via memory state).
BACK -> preparing_to_cast_screen
@robertdigital
robertdigital / clock.html
Created November 4, 2020 13:30 — forked from sam0737/clock.html
OBS Studio: A HTML page for showing current date and time in the video
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
@robertdigital
robertdigital / HOWTO.md
Created March 15, 2020 14:23 — forked from cvan/HOWTO.md
How to serve a custom HTTPS domain on GitHub Pages with CloudFlare: *FREE*, secure and performant by default

Instructions

CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control and E-Tag headers, etc.), minification, etc.

  1. Make sure you have registered a domain name.
  2. Sign up for CloudFlare and create an account for your domain.
  3. In your domain registrar's admin panel, point the nameservers to CloudFlare's (refer to this awesome list of links for instructions for various registrars).
  4. From the CloudFlare settings for that domain, enable HTTPS/SSL and set up a Page Rule to force HTTPS redirects. (If you want to get fancy, you can also enable automatic minification for text-based assets [HTML/CSS/JS/SVG/etc.], which is a pretty cool feature if you don't want already have a build step for minification.)
  5. If you
@robertdigital
robertdigital / GoogleHackMasterList.txt
Created March 2, 2020 13:51 — forked from cmartinbaughman/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www&#8221; domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
@robertdigital
robertdigital / youtube-dl.md
Created January 24, 2020 20:21
Using youtube-dl to download courses from Pluralsight

Download courses from learning sites with youtube-dl

You can download whole courses from an array of tutorial sites with the CLI tool youtube-dl. In the example further down I'm using my Pluralsight account to get videos from a course at their site. Here is a list of all supported sites that you can download from with this tool

The flags you have to supply may vary depending on which site you make a request to.

You can get a free 3 month trial to Pluralsight by signing up for free to Visual Studio Dev Essentials

Installation