A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
! The following 2 lines are what I use to display news.ycombinator.com | |
! Limit comments to 70 characters wide, making them easier to read | |
news.ycombinator.com##.comment:style(max-width: 70ch !important; overflow: hidden !important;) | |
! Invert the colours of the site, making a dark mode that I like | |
! `invert(95%)` does most of the work, | |
! but you can tweak the hue-rotate value to fine tune the colours | |
news.ycombinator.com##html:style(filter:invert(95%) hue-rotate(200deg); background: white) |
#!/usr/bin/env bash | |
set -Eeuo pipefail | |
trap cleanup SIGINT SIGTERM ERR EXIT | |
script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
usage() { | |
cat <<EOF | |
Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
A list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
#!/usr/bin/env python | |
from bs4 import BeautifulSoup | |
from twilio.rest import TwilioRestClient | |
import json | |
import os | |
import re | |
import requests | |
url = 'https://postmates.com/los-angeles' |
%% This part goes in preamble | |
\newcommand{\dummyfig}[1]{ | |
\centering | |
\fbox{ | |
\begin{minipage}[c][0.33\textheight][c]{0.5\textwidth} | |
\centering{#1} | |
\end{minipage} | |
} | |
} |
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
brew update
brew install openconnect