FFMPEG commands that I use often when I just want to put out OBS recorded clips without much editing.
No arguments
ffmpeg -i INPUT.mkv OUTPUT.mp4
import mwclient | |
from mwclient import Site | |
import pathlib | |
import configparser # reading config file | |
import base64 # encryption | |
import re | |
import csv | |
import requests | |
from bs4 import BeautifulSoup | |
import logging |
s = "" | |
t = ["B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "AA", "AB", "AC", "AD", "AE", "AF", "AG", "AH", "AI", "AJ", "AK", "AL", "AM", "AN", "AO", "AP", "AQ", "AR", "AS", "AT", "AU", "AV", "AW", "AX", "AY", "AZ", "BA", "BB", "BC", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BK", "BL", "BM", "BN", "BO", "BP", "BQ", "BR", "BS", "BT"] | |
for i in range(4,74): | |
e = "" | |
for j in range(4,74): | |
if i <= j: | |
e += "\t" | |
else: | |
e += "=" + t[i-4] + str(j) + "\t" | |
s += e+"\n" |
import mwclient | |
from mwclient import Site | |
import pathlib | |
import configparser # reading config file | |
import base64 # encryption | |
import re | |
def main(): | |
# settings.ini file not found | |
if not pathlib.Path("settings.ini").is_file(): |
var shipsToFilter = {}; // All ships containing "filter-ship" | |
var types = ["Aircraft Carrier","Battleship","Light Aircraft Carrier","Repair Ship","Submarine","Monitor","Destroyer","Battlecruiser","Heavy Cruiser","Light Cruiser"]; //List of ship types | |
var nations = ["Vichya Dominion","Eastern Radiance","Bilibili","Iris Libre","Ironblood","North Union","Neptunia","Eagle Union","Sakura Empire","Universal","Royal Navy"]; //List of ship nations | |
var rarities = ["Normal","Rare","Elite","Priority","Super Rare","Legendary"]; //List of ship rarities | |
// mediawiki ships with jQuery, how nice! | |
$(document).ready(function() { | |
shipsToFilter = document.getElementsByClassName("filter-ship"); | |
createDropdowns(); | |
}); |
#!/bin/bash | |
# This script forces a UofT Skule Engineering website domain (*.skule.ca) to sync with a Github repository. | |
# To run it, create a Cron Job with "bash sync.sh >> ~/sync.log 2>&1" and set an interval (like every 3 days). | |
# Don't forget to edit the GIT_USER and GIT_REPO variables or else you be using my website! | |
# The commands are only core utilies [cp, date, echo, export, unzip, wget] meaning it will work pratically anywhere. | |
# Define Github repository | |
export GIT_USER=NanoSmasher | |
export GIT_REPO=smash.skule.ca |
#!/bin/bash | |
# This script aids in management of a UofT Skule Engineering website domain (*.skule.ca) w/Github & Jekyll. | |
# To run it, create a Cron Job with "bash skule.sh >> ~/skule.log 2>&1". | |
# Don't forget to edit the GIT_USER and GIT_REPO variables or else you be using my website! | |
# The script uses Jekyll to build websites hosted by github repository. Jekyll is flexible and easy to use so try it. | |
# The default Ruby version in the linode is 1.8.7 which is not supported by Jekyll. | |
# YAML, Ruby 2.1.1, bundler, and gh-pages are dependancies to get Jekyll working without root or admin priviledges. | |
# When the script is finished, it should create a update.sh file. |
<?xml version="1.0" encoding="UTF-8"?> | |
<language id="lammps" _name="Lammps" version="2.0" _section="Scientific"> | |
<metadata> | |
<property name="mimetypes">text/lammps</property> | |
<property name="globs">*.in;*.lammps</property> | |
</metadata> | |
<styles> | |
<style id="comment" _name="Comment" map-to="def:comment"/> | |
<style id="keyword" _name="Keyword" map-to="def:keyword"/> |
n = input("Size of Chart[2-26]: ") | |
from string import uppercase as c | |
s = "" | |
for i in range(2,n+2): | |
e = "" | |
for j in range(2,n+2): | |
if i == j: | |
e += "X\t" |