This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const puppeteer = require('puppeteer'); | |
const request = require('request-promise-native'); | |
const poll = require('promise-poller').default; | |
const siteDetails = { | |
sitekey: '6LeTnxkTAAAAAN9QEuDZRpn90WwKk_R1TRW_g-JC', | |
pageurl: 'https://old.reddit.com/login' | |
} | |
const getUsername = require('./get-username'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script: osmc-java-jdownloader-installer.sh | |
# Author: Jozef Pažin | |
# Description: Wizard to install the current version of java and/or jdownloader on raspberry pi running osmc. | |
# License: MIT | use arbitrarily, attribution is not required | |
# How to run: | |
# - Check if this code is correct first because this script need to be run under root and run gist | |
# from web is not recommended in terms of security only that you know exactly what it does. Check it: | |
# curl -Ls https://gist.github.com/atiris/34dc670264274b3a472f2a718e4de83a/raw | nano - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# NextCloud to Amazon S3 Backup Script | |
# Author: Autoize (autoize.com) | |
# This script creates an incremental backup of your NextCloud instance to Amazon S3. | |
# Amazon S3 is a highly redundant block storage service with versioning and lifecycle management features. | |
# Requirements | |
# - Amazon AWS Account and IAM User with AmazonS3FullAccess privilege |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: JDownloader2 | |
# Required-Start: networking | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: JDownloader2 server daemon | |
# Description: JDownloader2 server daemon | |
### END INIT INFO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* open up chrome dev tools (Menu > More tools > Developer tools) | |
* go to network tab, refresh the page, wait for images to load (on some sites you may have to scroll down to the images for them to start loading) | |
* right click/ctrl click on any entry in the network log, select Copy > Copy All as HAR | |
* open up JS console and enter: var har = [paste] | |
* (pasting could take a while if there's a lot of requests) | |
* paste the following JS code into the console | |
* copy the output, paste into a text file | |
* open up a terminal in same directory as text file, then: wget -i [that file] | |
*/ |