I hereby claim:
- I am bse666 on github.
- I am bse (https://keybase.io/bse) on keybase.
- I have a public key ASDn_cbejBcnsS5JmvA0xDiQRz28Oc-HICVmU8Kv_emRtwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# 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 |
#!/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 |
#!/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 |
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/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 |
#!/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 | |
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 |
# 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. |
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) |