IVS Grandslam / Trumpcard Professional

Overview, collection of articles, and since December 2018 the manual
http://www.stone-oakvalley-studios.com/0009_21_dashboard_index.php

IVP TrumpCard 2000 (Not PRO), driver disk needed
http://eab.abime.net/showthread.php?t=35685

A2000 question, IVS Grandslam / Trumpcard Pro
http://www.amiga.org/forums/archive/index.php/t-64315.html

A500 + Grandslam won’t autoboot
http://www.amiga.org/forums/archive/index.php/t-22640.html

Trumpcard 500 not working
http://www.amiga.org/forums/archive/index.php/t-70432.html

SCSI accessories (adapters, cables, terminators)
https://www.ramelectronics.net/SCSI.aspx

SSL certificate / VPN

SSL

Let’s Encrypt
https://letsencrypt.org/docs/
https://letsencrypt.org/getting-started/
https://weblog.west-wind.com/posts/2016/Feb/22/Using-Lets-Encrypt-with-IIS-on-Windows
How To Secure Apache with Let’s Encrypt on Ubuntu 20.04
Configuring Let’s Encrypt SSL Cert for Apache on Ubuntu 18.04
Let’s Debug

SSL for free
https://www.sslforfree.com/

RapidSSL
https://www.rapidssl.com/

Certbot
https://certbot.eff.org/

https on subdomain
https://se.godaddy.com/community/Managing-Domains/https-on-subdomain/td-p/30668

SSL Server Test
How to disable outdated versions of SSL/TLS in Apache

VPN

https://support.ivacy.com/kb/how-to-configure-pptp-on-your-linksys-router/

qmail

Installing FreeBSD and qmail
http://www.bsd-guide.net/freebsd/freebsd-base/index.php
http://www.bsd-guide.net/freebsd/freebsd-mailserver/index.php
http://www.bsd-guide.net/freebsd/freebsd-spambox/guide/index.php
http://qmailrocks.thibs.com/daemontools.php
http://qmailrocks.thibs.com/qmail-ucspi.php
https://qmail.jms1.net/history.shtml
https://qmail.jms1.net/tls-auth.shtml

Combined Patch AMD64 qmail–smtpd segfault (status 11)
https://www.google.se/search?q=tcpserver+status+11+on+64-bit+freebsd
http://qmail-patch.jms1.narkive.com/TlSh70Q7/combined-patch-amd64-qmail-smtpd-segfault
https://lists.gt.net/qmail/users/137862
https://lists.gt.net/qmail/users/116314
https://forums.freebsd.org/threads/qmail-tls-smtp-auth-patch-broken.31976/
http://qmailwiki.org/Qmail_smtps

ucspi-ssl
http://www.superscript.com/ucspi-ssl/index.html

qmail-smtpd starttls on freebsd 8.0 amd64
http://article.gmane.org/gmane.mail.qmail.jms1-patch/3514

Re: Combined Patch AMD64 qmail–smtpd segfault
http://permalink.gmane.org/gmane.mail.qmail.jms1-patch/3605

Bug 77380 – qmail-smtpd fails after starttls
https://bugs.gentoo.org/77380

https://www.google.se/search?q=DENY_TLS+64-bit+bsd

Mail stuck in queue (JMS1 qMail-patch mailinglist)
http://qmail-patch.jms1.narkive.com/NvOwqxit/mail-stuck-in-the-new-server

ClamAV fails to scan emails
https://www.virtualmin.com/node/16156

UNIX / GNU find command

Find all directories within a path that contain files matching pattern:

find . -type f -iname *adf -printf "%h\n" | sort | uniq >/tmp/adf_dirs.txt

Above is using simple wildcard matching, it is also possible to use regex:

find . -regextype sed -iregex ".*/.*\.adf$" -printf "%h\n"|sort|uniq >/tmp/adf_dirs.txt

https://stackoverflow.com/questions/6844785/how-to-use-regex-with-find-command

WordPress development site

I use this script to search and replace the domain name in the WordPress database to adjust a fresh copy from the production site.
Replaces every occurence of ‘www.domainname.tld’ and ‘domainname.tld’ with ‘dev.domainname.tld’.
You then access the development site by adding it to your ‘hosts’ file or internal DNS.


#!/bin/sh
echo File: $1 Replace: $2
cp $1 $1.bak
perl -p -i -e "s|www\.$2|dev\.$2|g" $1
perl -p -i -e "s|://$2|://dev\.$2|g" $1

FreeBSD 11 installation notes

Base install

Ports, first time
portsnap fetch
portsnap extract

Ports, updating
portsnap fetch
portsnap update

Checking installed packages against ports
Using portupgrade, (“pkg install portupgrade” first)
portversion -v
Updating, using ports binaries or source
portupgrade -vaP

Cleanup of /var/db/pkg/

Apache HTTPd

Default document root
/usr/local/www/apache24/data
Configuration location
/usr/local/etc/apache24/

MySQL

Configuration file: /usr/local/etc/mysql/my.cnf
Datadir: /var/db/mysql
Initial MySQL root password in $HOME/.mysql_secret

To change password for root
root@localhost [(none)]> show databases;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this
root@localhost [(none)]>
root@localhost [(none)]> alter user ‘root@localhost’ IDENTIFIED BY ‘new_password’;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
root@localhost [(none)]> set password = ‘new_password’;
Query OK, 0 rows affected (0.02 sec)

PHP

Configuration location
/usr/local/etc/
/usr/local/etc/php/

Prepare
pkg install png-1.6.29
pkg install jpeg
pkg install libxml2
pkg install libltdl
pkg install gmake
pkg install freetype2
pkg install curl

Install PHP and modules
pkg install php71
pkg install php71-imap
pkg install php71-mcrypt
pkg install php71-curl
pkg install php71-ctype
pkg install php71-dom
pkg install php71-fileinfo
pkg install php71-filter
pkg install php71-gd
pkg install php71-hash
pkg install php71-iconv
pkg install php71-json
pkg install php71-mysql
pkg install php71-mysqli
pkg install php71-openssl
pkg install php71-pcntl
pkg install php71-session
pkg install php71-simplexml
pkg install php71-tokenizer
pkg install php71-xml
pkg install php71-zlib

Install Apache module
pkg install mod_php71

ffmpeg / youtube-dl

Creating video or audio clips using ffmpeg

ffmpeg clip audio interval with starting and end time

Cut part from video file from start position to end position with FFmpeg

Using ffmpeg to cut up video

Convert video format without re-encoding
ffmpeg -i input.m2ts -c:v copy -c:a aac -strict experimental -b:a 128k output.mp4

Replacing audio in a video

Replacing video audio using ffmpeg

ffmpeg wiki: map

The -map options can be confusing for new (and old) users. The official description can be found on the links below. Use ffprobe to list the streams in the input sources.
https://ffmpeg.org/ffmpeg.html#Stream-selection
https://trac.ffmpeg.org/wiki/Map

Removing unwanted tracks from a video

How to remove one track from video file using ffmpeg?
List the tracks (streams) in the video:
ffprobe -i <videofile>
Remove a specific audio stream:
ffmpeg -i <videofile> -map 0 -map -0:a:2 -c copy <outputvideo>
Create output with only selected tracks:
ffmpeg -i video.mkv -map 0:v -map 0:4 -c copy video.mp4
Extract all frames as images:
ffmpeg -i video.mp4 frame-%04d.png

Create a single image video (for audio clips uploaded to Youtube)

Combine one image + one audio file to make one video using FFmpeg

Get the duration of a media file

Duration in h:mm:ss.s format

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal $file

Duration in seconds and microseconds

ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 $file

youtube-dl

youtube-dl is a python script that allows you to download and view videos from different platforms for archiving and offline viewing
downloading videos to a specific path with youtube-dl
How to download only subtitles of videos using youtube-dl
Change youtube-dl download output location