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 datetime | |
import os | |
import platform | |
import sys | |
import threading | |
def how_to_use(): | |
print("Usage: python3 ping.py [ip adress] [log|csv] [interval]\n") | |
print("\tip adress = server adress to ping\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
twistdl | |
pushbullet.py |
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
param([int]$episodes_per_file) | |
$file_count = ( Get-ChildItem .\input | Measure-Object).Count; | |
$batches = $file_count / $episodes_per_file; | |
$files = Get-ChildItem .\input | | |
Foreach-Object {$_.Name} | |
for ($i = 0; $i -lt $batches; $i++) { | |
$file_text = 'ffmpeg -i "concat:' | |
for ($j = 0; $j -lt $episodes_per_file; $j++) { | |
$file = $files[$i * $episodes_per_file + $j] |
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
{ | |
"final_space": true, | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "session", | |
"style": "diamond", |