mostly from the url here:
-pattern_type glob
This great option makes it easier to select the images in many cases.
Normal speed video with one image per frame at 30 FPS
| #URLshortener | |
| # this class POSTs to http://ur1.ca and then gets the | |
| # returned shortened UR1 from the repsonse | |
| # | |
| #this requires requests and only works with python2 | |
| # https://pypi.python.org/pypi/requests/0.13.0 | |
| import requests | |
| class URLshortener(object): | |
| def __init__(self): |
| #!/usr/bin/env python | |
| # Author: Jon Robbins | |
| # License: GPL3+ | |
| # based on the idea from https://trisquel.info/en/wiki/how-convert-comic-book-archives-cbrcbr-cbz | |
| # | |
| # This script recursively loops through directories below a starting point and converts all cbr file to cbz files | |
| # | |
| # requires: | |
| # - unrar | |
| # - zip/unzip |
| //File tConv.go | |
| //================================================= | |
| //syntax: | |
| // ./tConv -F 96 | |
| // Output: 96.00°F is equal to 35.56°C | |
| //./tConv -C 35.5 | |
| // Output: 35.50°C is equal to 95.90°F | |
| //================================================= |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are | |
| # met: | |
| # | |
| # * Redistributions of source code must retain the above copyright | |
| # notice, this list of conditions and the following disclaimer. | |
| # * Redistributions in binary form must reproduce the above | |
| # copyright notice, this list of conditions and the following disclaimer | |
| # in the documentation and/or other materials provided with the | |
| # distribution. |
| ###################################### | |
| # Let Fib(n) be the string formed by concatenating the first n sequential | |
| # Fibonacci numbers (i.e. Fib(0) = 1, Fib(1) = 11, Fib(2) = 112, …). | |
| ## | |
| # Find the first ten-digit prime number that occurs as twenty sequential | |
| # digits in Fib(n). | |
| # | |
| # This prime number is the result (2584418167) | |
| ###################################### | |
| # Jon Robbins |
mostly from the url here:
-pattern_type glob
This great option makes it easier to select the images in many cases.
Normal speed video with one image per frame at 30 FPS
First check your kernel version, so you won't delete the in-use kernel image, running:
uname -r
Now run this command for a list of installed kernels:
dpkg --list 'linux-image*' | grep ^ii
Original Source:
brew install pandoc
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| transcode_mp4_files_x265.py | |
| A script to batch transcode .mp4 files using FFmpeg with configurable CRF values. | |
| source: https://gist.github.com/jfrobbins/0f8ef94b1a7ff780f74a320a2fd9530c | |
| ############################################################################ |
| import os | |
| import yaml | |
| import argparse | |
| from datetime import datetime | |
| def convert_post(input_path, output_path): | |
| with open(input_path, 'r') as file: | |
| lines = file.readlines() | |
| # Initialize front matter with default values |