sudo add-apt-repository ppa:otto-kesselgulasch/gimp
sudo apt-get update
sudo apt-get install gimp gimp-gmic
wget -O gimp-2.8.zip http://drive.noobslab.com/data/themes/gimp/gimp-2.8.zip
# Vncserver service file for Debian or Ubuntu with systemd | |
# | |
# Install vncserver | |
# apt-get install tightvncserver | |
# | |
# 1. Copy this file to /etc/systemd/system/vncserver@.service | |
# 2. Edit User= | |
# e.g "User=jo" | |
# 3. Edit the vncserver parameters appropriately in the ExecStart= line! | |
# e.g. the -localhost option only allows connections from localhost (or via ssh tunnels) |
sysctl net.ipv4.ip_forward=1
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 12345 -j DNAT --to-destination 192.168.1.2:56789
iptables -t nat -A POSTROUTING -j MASQUERADE
ffmpeg -i input.avi -c:v libx264 -preset slow -crf 18 -c:a copy -pix_fmt yuv420p output.mkv
ffmpeg -i input.mov -c:v libx264 -preset slow -crf 18 -c:a aac -b:a 192k -pix_fmt yuv420p output.mkv
#!/usr/bin/perl | |
use strict; | |
use Getopt::Long qw(:config pass_through no_ignore_case bundling); | |
my $do_color; | |
GetOptions("colors"=>\$do_color); | |
my @buf; |