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
"""Download all reddit posts on a users page. | |
This is a basic script I mashed together. Nothing else I found seemed to | |
work well, so I added support for all the media types I came across. | |
The code isn't particularly clean or optimised, but it gets the job done. | |
What you need to do: | |
- Create `rdl-user.bat` file and put it on the system path: | |
@echo off | |
py "%~dp0%~n0.py" %* |
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
FROM composer:2.5 AS build | |
WORKDIR /application | |
ENV APP_ENV=prod | |
COPY . . | |
RUN composer install --no-dev --no-scripts --ignore-platform-reqs --optimize-autoloader |
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
// ==UserScript== | |
// @name Remove Yt Shorts Recommendation on restart | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description The other script not fast enough to observe the fast query on restart so do this instead | |
// @author FadhilAF | |
// @match https://www.youtube.com/shorts/* | |
// @icon https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Youtube_shorts_icon.svg/193px-Youtube_shorts_icon.svg.png | |
// @grant none | |
// @run-at document-idle |
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
load("@//Infra/Pods:apple_xcframework_import.bzl", "apple_static_xcframework_import") | |
apple_static_xcframework_import( | |
name = "GoogleMobileAds", | |
path = "Google-Mobile-Ads-SDK/GoogleMobileAds.xcframework", | |
development_prefix = "ios-arm64_x86_64-simulator/GoogleMobileAds.framework", | |
release_prefix = "ios-arm64_armv7/GoogleMobileAds.framework" | |
) |
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
import io.jsonwebtoken.Claims; | |
import io.jsonwebtoken.JwsHeader; | |
import io.jsonwebtoken.Jwts; | |
import io.jsonwebtoken.SignatureAlgorithm; | |
import org.bouncycastle.asn1.pkcs.PrivateKeyInfo; | |
import org.bouncycastle.openssl.PEMParser; | |
import org.bouncycastle.openssl.jcajce.JcaPEMKeyConverter; | |
import java.io.File; | |
import java.io.FileReader; |
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
import asyncio | |
from datetime import datetime | |
from functools import partial | |
from concurrent.futures import ProcessPoolExecutor | |
from youtube_dl import YoutubeDL as YDL | |
PPE = ProcessPoolExecutor() | |