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
// ImageMagick - Convert SVG to PNG w/ transparency | |
// | |
// - open terminal | |
// | |
// - confirm you have imagemagick installed | |
// --- type: convert -v | |
// | |
// - cd to folder | |
// | |
// - single file |
for svg in $(ls ./svg); do | |
filename=$(echo $svg | cut -d'.' -f1) | |
convert -background none -density 1000 -resize 1000x svg/$(echo $filename).svg png/$(echo $filename).png | |
echo [DONE] $filename converted! | |
done |
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
#!/bin/env python | |
import ctypes | |
import struct | |
import sys | |
import os | |
import array | |
EFI_CAPSULE_GUID = "BD86663B760D3040B70EB5519E2FC5A0".bytes.fromhex() # 3B6686BD-0D76-4030-B70E-B5519E2FC5A0 | |
EFI2_CAPSULE_GUID = "8BA63C4A2377FB48803D578CC1FEC44D".bytes.fromhex() # 4A3CA68B-7723-48FB-803D-578CC1FEC44D | |
UEFI_CAPSULE_GUID = "B9829153B5AB9143B69AE3A943F72FCC".bytes.fromhex() # 539182B9-ABB5-4391-B69A-E3A943F72FCC |
$ modprobe bridge | |
$ echo "net.bridge.bridge-nf-call-iptables = 1" >> /etc/sysctl.conf | |
$ sysctl -p /etc/sysctl.conf | |
sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory | |
# SOLUTION | |
$ modprobe br_netfilter | |
$ sysctl -p /etc/sysctl.conf |