format (string):
default: xml
supports: json, xml
lang (string):
default: null
| import os , sys, string, time, random | |
| from datetime import datetime | |
| from os import linesep | |
| from decimal import * | |
| # Telepot library from pip | |
| import telepot | |
| #Random Sys.Argv replacements for testing purposes. | |
| #This comes in handy more than I thought it would. | |
| names = ['ubuntu-16.04.1-desktop-amd64.iso', 'Storks (2016) [1080p] [YTS.AG]', 'Mom.S04E08.HDTV.x264-LOL[eztv].mkv', '20160915_madsonic-6.1.8700-setup-x86.zip', 'Peace Is The Mission'] |
| """ | |
| Turn your code into beautiful images using carbon-now-cli. | |
| You will need npm installed on your machine to install carbon-now-cli.. | |
| Windows: npm install -g carbon-now-cli | |
| Linux: sudo npm install -g carbon-now-cli --unsafe-perm=true --allow-root | |
| MacOS: I assume almost the same as linux ¯\_(ツ)_/¯ | |
| """ | |
| import os | |
| from time import sleep |
This guide is focused on building a completely autonomous request-based media server using individual docker containers.
Most of the images we will be using are maintiained by linuxserver.io. They maintain many up-to-date versions of the most popular tools used for media servers.
Our full stack includes:
| import time | |
| def emoji_cycle(): | |
| deq = deque(list("🌗🌘🌑🌒🌓🌔🌕🌖")) | |
| for x in range(32): | |
| time.sleep(0.3) | |
| print("".join(deq)) | |
| deq.rotate(1) | |
| if __name__ == '__main__': |
| show_id,type,title,director,cast,country,date_added,release_year,rating,duration,listed_in,description | |
| s1,TV Show,3%,,"João Miguel, Bianca Comparato, Michel Gomes, Rodolfo Valente, Vaneza Oliveira, Rafael Lozano, Viviane Porto, Mel Fronckowiak, Sergio Mamberti, Zezé Motta, Celso Frateschi",Brazil,"August 14, 2020",2020,TV-MA,4 Seasons,"International TV Shows, TV Dramas, TV Sci-Fi & Fantasy","In a future where the elite inhabit an island paradise far from the crowded slums, you get one chance to join the 3% saved from squalor." | |
| s2,Movie,7:19,Jorge Michel Grau,"Demián Bichir, Héctor Bonilla, Oscar Serrano, Azalia Ortiz, Octavio Michel, Carmen Beato",Mexico,"December 23, 2016",2016,TV-MA,93 min,"Dramas, International Movies","After a devastating earthquake hits Mexico City, trapped survivors from all walks of life wait to be rescued while trying desperately to stay alive." | |
| s3,Movie,23:59,Gilbert Chan,"Tedd Chan, Stella Chung, Henley Hii, Lawrence Koh, Tommy Kuan, Josh Lai, Mark Lee, Susan Leong, Benjamin Lim",Si |
| target | insult | |
|---|---|---|
| thomas-frieden | fool | |
| thomas-frieden | DOPE | |
| politicians | all talk and no action | |
| ben-cardin | It's politicians like Cardin that have destroyed Baltimore. | |
| neil-young | total hypocrite | |
| rockin-in-the-free-world | didn't love it | |
| willie-geist | uncomfortable looking | |
| jeb-bush | will NEVER Make America Great Again | |
| molly-sims | a disaster |
| #!/bin/bash | |
| echo "Running Bitwarden Backup Script" | |
| echo "===============================" | |
| export FOLDER_DATE=$(date +"%Y-%m-%d") | |
| export DATE=$(date +"%Y-%m-%d-%H-%M-%S") | |
| echo "The time is $DATE" | |
| echo "===============================" | |
| echo "Zipping Bitwarden Folder" | |
| echo "===============================" |
| import asyncio | |
| import aiofiles as aiofiles | |
| import aiohttp | |
| async def download_file(reg): | |
| file_name = f'downloads/{reg}.csv' | |
| async with aiohttp.ClientSession() as session: | |
| url = f'https://reg.mdp.org.mv/lists/?dhaairaa={reg}&download=1' |
| #!/bin/bash | |
| #edit these to your config | |
| BWDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" | |
| DATETIME="$(date +'%Y-%m-%d_%H-%M-%S')" | |
| FOLDERPATH="$(date +'%Y-%m-%d')" | |
| GZFILE=bitwarden-${DATETIME}.tar.gz | |
| #change working dir to /tmp | |
| cd /tmp/ |