This script is intended to take video a YouTube video and audio from another YouTube video and combine them into a new video.
apt install ffmpeg youtube-dl
| #!/usr/bin/env python | |
| import os | |
| from datetime import datetime | |
| import click | |
| from rich.pretty import pprint | |
| DEFAULT_DIR = "/Volumes/a7c/Tallman/A/DCIM" | |
| DEFAULT_FILENAME = "timelapse" |
| #!/usr/bin/env python | |
| import sys | |
| from lxml import etree | |
| from pykml import parser | |
| from rich.pretty import pprint | |
| # small point coords | |
| small_point_lat = "-69.80" |
| #!/bin/bash | |
| figlet bat | |
| # https://github.com/sharkdp/bat | |
| echo | |
| echo bat ~/work/reverie/README.md | |
| echo | |
| echo bat ~/work/reverie/setup.py |
| :: this starts a miner using flexpool.io | |
| :: you will want to update the values for -u and -w | |
| :: the --api-bind-http makes it so you can access the webui | |
| :: from another computer... remove that line if you don't | |
| :: want that | |
| "C:\Users\path\to\trex-miner\t-rex.exe" ^ | |
| -a ethash ^ | |
| -o stratum+ssl://eth-us-west.flexpool.io:5555 ^ |
| #!/usr/bin/env bash | |
| env="stage" | |
| region="us-west-2" | |
| old_group="webhooks_" | |
| new_group="webhooks" | |
| topic="fulfillment-events" |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| ) | |
| func handle(w http.ResponseWriter, r *http.Request) { | |
| if r.URL.Path != "/" { |
| #!/usr/bin/env ruby | |
| require 'pp' | |
| require 'awesome_print' | |
| # example_line = 'www-c8.proxy.aol.com - - [31/Aug/1995:23:59:52 -0400] "GET /icons/unknown.xbm HTTP/1.0" 200 515' | |
| # line = example_line | |
| results = {} |
| #!/usr/bin/env ruby | |
| require 'pp' | |
| require 'open-uri' | |
| require 'json' | |
| input = "61.210841,-149.888735\nSan Francisco\n33132" | |
| places = input.split(/\n/) | |
| results = {} |
| #!/usr/bin/env ruby | |
| require 'sinatra' | |
| require 'pp' | |
| # env.oy/<random_str> | |
| $data = {} | |
| def generate_random_string(length = 5) |