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
| using System; | |
| using System.Text; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using NATS.Client; | |
| namespace worker | |
| { | |
| class Program | |
| { |
| @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
| /* | |
| * From https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206 | |
| */ | |
| #tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox { | |
| min-height: 0 !important; | |
| } |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Add React in One Minute</title> | |
| </head> | |
| <body> | |
| <h2>Add React in One Minute</h2> | |
| <p>This page demonstrates using React with no build tooling.</p> |
| // ==UserScript== | |
| // @name View Image | |
| // @namespace https://github.com/bijij/ViewImage | |
| // @version 4.1.1 | |
| // @description This userscript re-implements the "View Image" and "Search by image" buttons into google images. | |
| // @author Joshua B | |
| // @run-at document-end | |
| // @include http*://*.google.tld/search*tbm=isch* | |
| // @include http*://*.google.tld/imgres* | |
| // @updateURL https://gist.githubusercontent.com/bijij/58cc8cfc859331e4cf80210528a7b255/raw/viewimage.user.js |
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
| <?xml version="1.0"?> | |
| <ThermalConfiguration> | |
| <Platform> | |
| <Name>T430</Name> | |
| <ProductName>*</ProductName> | |
| <Preference>QUIET</Preference> | |
| <ThermalSensors> | |
| <ThermalSensor> | |
| <Type>pkg-temp-0</Type> | |
| <Path>/sys/class/thermal/thermal_zone0/temp</Path> |
Thanks and credit to mattn and ferreus on GitHub.
Also check out Developing on WSL and/or wslpath (Windows 10 Build 17046 or later) if you're using the Windows Subsystem for Linux.
| // Proxy PAC File | |
| // - Used to redirect certain addresses to the server through the SOCKS ssh port (1280 for this file), i.e. | |
| // tunnel traffic through server. | |
| // - Useful for easily accessing webpages from services running on a server (Jupyter notebooks, TensorBoard, Spark UI, etc.) | |
| // that is otherwise locked down by a firewall. | |
| // - To install on OS X/MacOS, go to "Settings->Network->Advanced->Proxies->Automatic Proxy Configuration" | |
| // and paste the local file url (`file:///absolute/path/to/proxy.pac`). | |
| // - Alternatively, use `./reinstall_proxy.sh`. | |
| // - SSH to the server with `ssh -D 1280 ....`. | |
| function FindProxyForURL(url, host) { |