planetmuch

the IT my bike and me…

playing VDR files with mpv

Problem:

mpv won’t recognize the file format for .vdr files.

mpv 001.vdr

Failed to recognize file format.

Exiting… (Errors when loading file)

Solution:

mpv --demuxer-lavf-probescore=24 001.vdr

USB-Stick read/write comparison

USB 3.0 Port on Windows 10 Professional 64 bit:

Silicon Power 8GB: large file 1,31GB written in 84 seconds / read in 65 seconds

Transcend 32GB: large file 1,31GB written in 64 seconds / read in 57 seconds

SanDisk Extreme GO 3.1 64GB: large file 1,31GB written in 12 seconds / read in 8 seconds

Manjaro i3 install

  1. It is crucial to boot the install stick in BIOS mode, otherwise the setup wants to install in UEFI mode, needing an additional Partition >100MB
  2. Enter xrandr -s 1920×1080 (or some other numbers) to change resolution

After installation has finished

  1. Make zsh the default shell and copy own .zshrc to ~/
  2. Bring system up to date:
    pacman-key –refresh-keys
    pacman -Syu
    reboot
  3. visudo (allow sudo without entering password)
<username>  ALL=(ALL)  NOPASSWD:  ALL
  1. chmod +s /sbin/halt /sbin/shutdown /sbin/reboot sticky to enable the normal user to run these commands
  2. pacman -S pulseaudio pavucontrol mpv qutebrowser youtube-dl smartmontools stress pyradio
  3. Create folder aur in ~/ so you can build packages from AUR
    git clone https://aur.archlinux.org/<packagename&gt;.git
    makepkg -si
  4. If a PGP signature is missing, import by gpg –keyserver keys.gnupg.net –recv-keys <signature>
  5. Install advcp, pyradio, wttr, ags (requires dumb-a4) via AUR
  6. Configure the desktop environment
  7. Enable CTRL+ALT+BACKSPACE to kill the X-Server
  8. Make display resolution persistent
  9. Make entries for mounting various partitions in /etc/fstab
  10. Set Wallpaper
  11. powertop
  12. Reduce grub timeout to 3 seconds by editing /etc/default/grub
    Run sudo update-grub to apply changes
  13. Some packages regarding printing (cups etc.) can be removed with pacman -R

Must have Software for Windows 2019

What I install on a fresh Windows:

  • Microsoft Security Essentials / Windows Defender
  • Firefox – with ublock origin, Video DownloadHelper, YouTube Video and Audio Downloader, Ratings Preview for Youtube, Facebook Container
  • Thunderbird
  • WinRar
  • OpenShell
  • GoogleEarth
  • Foxit Reader
  • LibreOffice
  • CrystalDiskInfo
  • vlc
  • kmplayer (till 3.6, higher versions are total garbage)
  • audacity
  • MobaXterm
  • fing
  • Python 3.7 with ipython
  • Sublime Text 3
  • GIMP
  • SCUMMVM
  • mozBackup
  • WinDirStat
  • TrueCrypt
  • WinSCP
  • Steam
  • md5sum
  • AS SSD Benchmark
  • DropBox
  • LeechGet 2009
  • hosts file from http://winhelp2002.mvps.org/hosts.htm

 

optional:
Spotify
Malwarebytes Anti Malware
Shotcut
Microsoft Office 2007
chromium – Addons: ublock origin, iReader
IrfanView / XnView
Insomnia
VirtualBox

 

is a PC with Single Core CPU sufficient in 2018?

Specification:

HTPC Case

RAM: 512MB DDR1 PC400

CPU: Socket 939 AMD Athlon 64 xxxx+

HD: Seagate 1TB

GFX:

DVB:

 

to be continued

getting started with Fedora 24

post-install

dnf upgrade
dnf install htop zsh vim chromium tmux python3
python3 -m pip install --upgrade pip
python3 -m pip install selenium bs4 demjson ipdb
wget http://chromedriver.storage.googleapis.com/2.24/chromedriver_linux64.zip
unzip chrome*
mv chrome* /somewhere/in/PATH
PYTHONPATH="path to TestAutomation folder"
export PYTHONPATH
systemctl start sshd
systemctl enable sshd

tmux
CTRL + b ” = new horizontal pane
CTRL + b + % = new vertical pane
CTRL + b + left/right/up/down = set focus to different pane
CTRL + b C = new window
CTRL + b 0 = switch to window 1
CTRL + b n/p = switch to next/previous window

config-files

~/.bashrc

PYTHONPATH=""
export PYTHONPATH

~/.tmux.conf

set-option -g mouse on

Installation of GlassFish under Debian Wheezy

It is always a good idea to check the manual.

1. Install Oracle Java 8

2. Download GlassFish Setup as zip

3. Copy the zip file to your Server. This can be done with WinSCP for example.
It is also possbile to directly download the file with wget <URL>.

4. For the extraction of the archive you will need the program unzip.
You can install it with the command apt-get install zip.

5. Extract the archive with unzip glassfish*.zip.

6. The default domain can be started from folder glassfish4/bin with ./asadmin start-domain.

7. Change the admin password ./asadmin change-admin-password (defaults are admin with no password).

8. Enable secure admin login ./asadmin –host localhost –port 4848 enable-secure-admin.

9. And restart the domain ./asadmin restart-domain.

10. Your GlassFish server can now be accessed through https://servername:4848 in your browser.

Thanks to Brandon Kearns for his Java EE and Glassfish video, which was an inspiration for this post.

Backup with dd over ssh

You can do something like this to Backup a complete harddisk.

dd if=/dev/sdb | gzip | ssh user@backup.remotehost.com dd of=/backup/drive.img.gz

Android Apps

What’s on my Android phone:

Aix Weather: http://market.android.com/details?id=net.veierland.aix
barcoo: http://market.android.com/details?id=de.barcoo.android
DroidStats: http://market.android.com/details?id=nitro.phonestats
eSchrott: http://market.android.com/details?id=net.umweltmanager.eSchrott
Evernote: http://market.android.com/details?id=com.evernote
Eye In Sky: http://market.android.com/details?id=com.citc.weather
hike: http://market.android.com/details?id=com.bsb.hike
JuiceSSH: http://market.android.com/details?id=com.sonelli.juicessh
mobile.de: http://market.android.com/details?id=de.mobile.android.app
NFC ReTag FREE (2.5): http://market.android.com/details?id=com.widgapp.NFC_ReTAG_FREE
Podcast HD: http://market.android.com/details?id=com.rootive.friend.podcasts
Pst! Klingelton Reaktivierer: http://market.android.com/details?id=com.publicobject.shush
Shazam: http://market.android.com/details?id=com.shazam.android
Start-App: http://market.android.com/details?id=de.bmwi.startapp
Strava Cycling: http://market.android.com/details?id=com.strava
SwiftKey: http://market.android.com/details?id=com.touchtype.swiftkey
Timesheeter: http://market.android.com/details?id=com.zero8timetracking.timesheeter
ZDFheute: http://market.android.com/details?id=de.heute.mobile
Advanced Task Killer Free: http://market.android.com/details?id=com.rechild.advancedtaskkiller
Amazon Kindle: http://market.android.com/details?id=com.amazon.kindle
ASTRO: http://market.android.com/details?id=com.metago.astro
Chrome: http://market.android.com/details?id=com.android.chrome
Dolphin Browser: http://market.android.com/details?id=mobi.mgeek.TunnyBrowser
Fernsehprogramm: http://market.android.com/details?id=com.androidsk.tvprogram
Firefox: http://market.android.com/details?id=org.mozilla.firefox
Flipboard: http://market.android.com/details?id=flipboard.app
Gespiegelt: http://market.android.com/details?id=de.homac.Mirrored
IMDb: http://market.android.com/details?id=com.imdb.mobile
MX Player: http://market.android.com/details?id=com.mxtech.videoplayer.ad
Pkt Auctions für eBay: http://market.android.com/details?id=com.bonfiremedia.android_ebay
Taschen lampe: http://market.android.com/details?id=com.devuni.flashlight
theCHIVE: http://market.android.com/details?id=com.thechive
TuneIn Radio: http://market.android.com/details?id=tunein.player
VLC Direct Pro Free: http://market.android.com/details?id=com.vlcforandroid.vlcdirectprofree
WhatsApp: http://market.android.com/details?id=com.whatsapp

Chromium Extensions

Chromium Extensions

installed chromium extensions