Skip to content

Instantly share code, notes, and snippets.

View N30Z3N's full-sized avatar
🐰

N30Z3N

🐰
  • 1337x
View GitHub Profile
@WtfJoke
WtfJoke / jd.sh
Last active August 19, 2021 09:51
JDownloader 2 headless startup script (starts jdownloader as non root user jd)
#! /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
@werrpy
werrpy / rclone.conf
Last active May 19, 2021 21:27
rclone Unlimited Cloud Storage Script (Google Drive)
[media-local-secret]
type = crypt
remote = secret/media
filename_encryption = standard
password =
password2 =
[media-remote-secret]
type = crypt
remote = gdrive:path/to/media
@atiris
atiris / osmc-java-jdownloader-installer.sh
Last active September 8, 2023 13:01
Wizard to install the current version of JDownloader (jdownloader.org) on raspberry pi (running osmc or another linux). You can install (together or individually) latest java for RPI, download and install headless JDownloader (my.jdownloader.org) and create service to start JDownloader after boot and restart automatically after crash.
#!/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 -
@MBRCTV
MBRCTV / meganz.php
Last active July 18, 2024 17:38
Mega.nz Direct Link Generator
<?php
echo '<html><head><title>Mega downloader</title></head><body><h2>Enter Url</h2><form action="mega.php" method="POST"> <br> URL: <input type="text" name="URL"> <br><input type="submit" value="Submit"></form>';
if ($_POST) {
error_reporting(0);
$url = $_POST['URL'];
preg_match("/!(.+?)!/", $url, $output_array);
@imba-tjd
imba-tjd / .Cloud.md
Last active November 15, 2024 11:14
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本&按需付费&弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

其他人的集合

@jangxx
jangxx / rwthmoodle_video_urls.user.js
Last active September 25, 2023 06:25
A userscript to extract video URLs from video embedded into RWTHonline, which are not uploaded as regular files.
// ==UserScript==
// @name RWTHmoodle Opencast Video Catcher
// @namespace https://literalchaos.de
// @version 0.2
// @description Captures video urls played by the player embedded into RWTHmoodle
// @author Jan Scheiper
// @match https://moodle.rwth-aachen.de/*
// @match https://engage.streaming.rwth-aachen.de/*
// @grant GM_webRequest
// @grant GM_xmlhttpRequest
@gamunu
gamunu / firefox-quantum-telemetry
Last active September 26, 2023 13:56
Disabling Firefox Quantum telemetry
Disabling telemetry takes a little more work but can be accomplished in about five minutes. Type "about:config" in the address bar, and you will be notified that you could void your warranty (Firefox has a warranty?). Click on "I accept the risk." Type in "telemetry" in the search bar to see the results. Only some can be changed, and according to Mozilla, they are:
browser.newtabpage.activity-stream.feeds.telemetry
browser.newtabpage.activity-stream.telemetry
browser.ping-centre.telemetry
toolkit.telemetry.archive.enabled
toolkit.telemetry.bhrPing.enabled
toolkit.telemetry.enabled
toolkit.telemetry.firstShutdownPing.enabled
toolkit.telemetry.hybridContent.enabled
@MCOfficer
MCOfficer / README.md
Last active October 27, 2024 18:24
Bash script to download files from gofile.io