Usage:
curl -O https://gist.githubusercontent.com/joar/3618b29180ab0ff67ac7/raw/tacofont.py
python tacofont.py taco
🐓🌮🌮🌮🌮🌮🐓🐓🌮🌮🌮🐓🐓🌮🌮🌮🌮🌮🐓🌮🌮🌮🌮🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🐓🐓🐓🌮🐓🌮🐓🐓🐓🐓🐓🌮🐓🐓🐓🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🌮🌮🌮🌮🐓🌮🐓🐓🐓🐓🐓🌮🐓🐓🐓🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🐓🐓🐓🌮🐓🌮🐓🐓🐓🐓🐓🌮🐓🐓🐓🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🐓🐓🐓🌮🐓🌮🌮🌮🌮🌮🐓🌮🌮🌮🌮🌮🐓
| import sys | |
| from itertools import permutations | |
| print(len(list((lambda n: (lambda cols: (True for vec in permutations(range(n)) if n == len(set(vec[i]+i for i in cols)) == len(set(vec[i]-i for i in cols))))(range(n)))(int(sys.stdin.readline()))))) |
| # Requires fish 2.2b1 or later for the "abbr" command. | |
| abbr -a ga="git add" | |
| abbr -a gc="git commit" | |
| abbr -a gco="git checkout" | |
| abbr -a gst="git status" | |
| abbr -a gl="git pull" | |
| abbr -a gp="git push" | |
| abbr -a gu="git up" | |
| abbr -a s="git status -sb" | |
| abbr -a l="git log" |
Usage:
curl -O https://gist.githubusercontent.com/joar/3618b29180ab0ff67ac7/raw/tacofont.py
python tacofont.py taco
🐓🌮🌮🌮🌮🌮🐓🐓🌮🌮🌮🐓🐓🌮🌮🌮🌮🌮🐓🌮🌮🌮🌮🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🐓🐓🐓🌮🐓🌮🐓🐓🐓🐓🐓🌮🐓🐓🐓🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🌮🌮🌮🌮🐓🌮🐓🐓🐓🐓🐓🌮🐓🐓🐓🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🐓🐓🐓🌮🐓🌮🐓🐓🐓🐓🐓🌮🐓🐓🐓🌮🐓
🐓🐓🐓🌮🐓🐓🐓🌮🐓🐓🐓🌮🐓🌮🌮🌮🌮🌮🐓🌮🌮🌮🌮🌮🐓
| import yourapp | |
| AUTH_BACKENDS = [ | |
| yourapp.socker_auth | |
| ] | |
| def socker_handle_connect(client): | |
| while True: | |
| msg = client.wait_for_message() | |
| import time | |
| import logging | |
| import os | |
| from collections import namedtuple | |
| import cv2 | |
| import numpy as np | |
| from matplotlib import pyplot as plt |
| import time | |
| import logging | |
| import os | |
| from collections import namedtuple | |
| import cv2 | |
| import numpy as np | |
| from matplotlib import pyplot as plt |
| #!/bin/bash | |
| # Note: use x264enc tune=zerolatency or bigger queues | |
| # NOT WORKING! stalled at prerolling | |
| gst-launch-1.0 filesrc location=VfE.webm ! decodebin name=dmux \ | |
| dmux. ! videoconvert ! tee name=vo \ | |
| dmux. ! audioconvert ! tee name=au \ | |
| webmmux name=webm ! progressreport name=webmprogress ! filesink location=out.webm \ | |
| avimux name=avi ! progressreport name=aviprogress ! filesink location=out.avi \ | |
| vo. ! queue ! vp8enc ! webm. \ |