This file has been truncated, but you can view the full file.
This file contains 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
https://roosterteeth.com/watch/stay-zen-2021-36 | |
https://roosterteeth.com/watch/stay-zen-2021-stayzen01202021 | |
https://roosterteeth.com/watch/stay-zen-2021-02032021 | |
https://roosterteeth.com/watch/stay-zen-2021-02102021 | |
https://roosterteeth.com/watch/stay-zen-2021-02242021 | |
https://roosterteeth.com/watch/stay-zen-2021-03042021 | |
https://roosterteeth.com/watch/stay-zen-2021-03102021 | |
https://roosterteeth.com/watch/stay-zen-2021-03172021 | |
https://roosterteeth.com/watch/stay-zen-2021-04072021 | |
https://roosterteeth.com/watch/stay-zen-2021-04222021 |
This file contains 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 sys | |
from bs4 import BeautifulSoup | |
import requests | |
import re | |
from dateutil.parser import parse | |
""" | |
what it does? | |
- parses all movies and their data in a list-page | |
- paginates to last page automatically while keeping track of their cookie and keys |
This file contains 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
! 2021-12-01 https://www.reddit.com | |
www.reddit.com##.premium-banner | |
! 2021-12-05 https://forum.xda-developers.com | |
forum.xda-developers.com##.uix_sidebarNav | |
! 2021-12-07 https://trakt.tv | |
||trakt.tv/assets/ab69ec/bg-d59649d3b306288c91e8cba72140a81fb63e2721d6b7da7c5032e338215e92aa.jpg$image | |
! 2022-02-17 https://letterboxd.com |
This file contains 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 json | |
from flask import Flask | |
from flask import request | |
from responses import get_cat_fact, get_activity | |
app = Flask(__name__) | |
# EXAMPLE REQUEST: GET 127.0.0.1:5000/ | |
@app.route('/getname', methods=['GET']) |
This file contains 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 | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Battery Info | |
# @raycast.mode inline | |
# @raycast.refreshTime 1s | |
# @raycast.packageName Battery Info | |
# |
This file contains 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
#!/usr/bin/env bash | |
MIN=700000 #700KB | |
MAX=15000000 #15MB Probably | |
lol() { | |
for n in {0..100} | |
do | |
#f=`mktemp XXXXX` #if you want true random filenames | |
f="000"$n |
This file contains 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 zipfile, time | |
def DeflateZip(locfile,loczipDef): | |
start = time.time() | |
zipDef = zipfile.ZipFile(loczipDef, "w", zipfile.ZIP_DEFLATED) | |
zipDef.write (locfile) | |
zipDef.close() | |
print(f'Deflate: {time.time() - start}') | |
def Bzip2Zip(locfile,loczipBz): |
This file contains 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
#!/usr/bin/env bash | |
ran=$RANDOM | |
#rng=$(( $RANDOM % 1000 )); | |
#Better method to get the range: | |
rng=$(jot -r 1 10000 10001) #One numner between 10000 and 10001 | |
LIST="" | |
for i in $(seq 1 $rng); | |
do | |
num=$(( $RANDOM % 100 )); |
This file contains 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
._1OVBBWLtHoSPfGCRaPzpTf._3nSp9cdBpqL13CqjdMr2L_ { width: unset } | |
._1BFbVxT49QnrAN3fqGZ1z8._1tvThPWQpORoc2taKebHxs { display: none } |
This file contains 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
#!/usr/bin/env bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Download Raycast Script | |
# @raycast.mode silent | |
# Optional parameters: | |
# @raycast.icon ⬇️ | |
# @raycast.packageName downloads script from clipboard |
NewerOlder