##Create File List
echo file file1.mp4 > mylist.txt
echo file file2.mp4 >> mylist.txt
echo file file3.mp4 >> mylist.txt
| I had problems with drifting in PC2 as opposed to Assetto corsa. These settings solved the issue for me hope it helps | |
| In Profiler: | |
| Gain 107% | |
| Spring:0 | |
| Damper:0 | |
| Disable Centering spring!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
| 720 Deg | |
| In game: RAW | |
| Gain: 80 | |
| Volume 25-35 ( depending on the car) |
| # REQUIRE: LOGIN | |
| # KEYWORD: shutdown | |
| # FILE: /usr/local/etc/rc.d/minetest | |
| # Add the following line to /etc/rc.conf[.local] to enable minetest server | |
| # | |
| # minetest_enable (bool): Set to "NO" by default | |
| # Set it to "YES" to enable minetest server | |
| # minetest_conffile (str): Path to config file (required). | |
| # (default: /usr/local/etc/minetest.conf) | |
| # minetest_rundir (str): Path to directory holding a pidfile. |
| #!/bin/bash | |
| outputsinks=$(pacmd list-sinks | grep index | awk '{print $NF}') | |
| defaultsink=$(pacmd list-sinks | grep index | grep \* | awk '{print $NF}'| tr -d "[[:space:]]") | |
| for i in ${outputsinks[@]/$defaultsink/}; | |
| do | |
| newOutputIndex=$i | |
| done |
| #!/usr/bin/env bash | |
| # | |
| # Author: postmodern | |
| # Description: | |
| # Rips a DVD to a H.264 MKV file, with chapters and tags. Ignores any | |
| # bad blocks or sectors on the DVD. | |
| # Dependencies: | |
| # * gddrescue | |
| # * handbrake-cli | |
| # * mkvtoolnix |
| #!/bin/bash | |
| # stdin check | |
| if (( "$#" < 2 )); then | |
| echo "Usage: `basename $0` HOSTNAME MIN_PLAYLIST_LENGTH PLAYLIST [NEXT_ON_ERROR (y/N)]" | |
| exit 65 | |
| fi | |
| # variables | |
| host=$1 |
Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.
| #!/bin/sh | |
| # Jails in Freenas use a tun Device for each Restart. | |
| # This script gets the actual Device and sets it in the tinc config | |
| # Edit NETWORKNAME to match your's. | |
| TUN_DEVICE="/dev/`ifconfig | grep tun | awk '{print $1}' | sed s/://g`" | |
| sed -i .orig "s#Device.*#Device = $TUN_DEVICE#" /usr/local/etc/tinc/NETWORKNAME/tinc.conf |
| #!/bin/sh | |
| # Settings for PDF | |
| # /screen screen-view-only quality, 72 dpi images | |
| # /ebook low quality, 150 dpi images | |
| # /printer high quality, 300 dpi images | |
| # /prepress high quality, color preserving, 300 dpi imgs | |
| # /default almost identical to /screen | |
| gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=$1-shrunk.pdf $1 |
| # get the coordinates with some mplayer script | |
| # ffmpeg -i in.mp4 -filter:v "crop=out_w:out_h:x:y" out.mp4 | |
| ffmpeg -i "$1" -vf crop=695:395:530:260 "$1"-cropped.mkv |