“Shutdown of Peertube.co.uk” most noted reason: lack of funding lack of staff increasingly harsher rules and regulations “Since it’s inception in August 2019, Peertube UK has grown to host over 2000 users and over 19000 videos. Sadly, the time has […]
search all keys of an associative array (containing key => value, instead of [0],[1],[2]) for a substring, return value associated with that key/property. /* returns the $value of the element, * if $search_for_this_string is found in one of the keys […]
the developer can name this file ./EXAMPLES/ARRAY/find.php please note the strpos or stripos !== false without it, if a substring is found within a string at position 0 for if 0 equals false <?php $mystring = ‘abc’; $findme = ‘a’; […]
usage: $devices_array_sorted = ArrayOfArraysSort($devices_array, “AverageWatts”,SORT_ASC); the function: /* sort array that contains a lot of arrays by key */ function ArrayOfArraysSort($array,$key,$mode) { // sort by age $sort = array(); foreach($array as $k=>$v) { $sort[$key][$k] = $v[$key]; } # sort by […]
WARNING! MAKE BACKUP of ALL FILES ON THE HARDDISK! that being said, this search replace script works with the tool sed which required to escape all special characters. This tool will help with that: https://dwaves.de/tools/escape/ per default it will search […]
/* search $array of strings for $search_for_this * (case-in-sensitive and will also find “this” “in-a-longer-ThIs-string”) * remove element if found */ function ArraySearchDelete($array, $search_for_this) { $result = array(); foreach($array as $element) { if(!stristr($element, $search_for_this)) { array_push($result,$element); } } return $result; […]
“Attackers could attack Firefox, Firefox ESR, and Thunderbird in certain situations and execute malicious code in the worst case scenario. If this works, they are likely to completely compromise systems. The two web browsers may experience problems with parsing (CVE-2022-40 960 […]
it is a factory-default unsustainable catastrophy that should be forbidden by law: to claim the toner is empty, when toner levels are not even checked but simply the amount of pages printed is counted after x amount of pages, the […]
TTF vs WOFF (Web Open Font Format) “TTF (TrueType Font) is a standard developed by Apple in the 1990s” “WOFF is basically a compressed TTF with metadata and browser support” (src) developed by Mozilla in concert with Type Supply, LettError, […]
# this will create a new compressed version of ‘folder-to-pack’ # but will not include any pdf fiels tar fcvz /path/to/package.tar.gz –exclude=’*.pdf’ /path/to/folder-to-pack # automatically include the current date in filename of backup file: tar fcvz /backups/$(date ‘+%Y-%m-%d’).filename.tar.gz –exclude=’*.pdf’ /path/to/backup
How to create an encrypted USB stick Creating an encrypted USB stick under GNU/Linux is fairly ease. First lets install required packages and erase everything from the stick gives good overview of where is what: (in a tree view style) […]
software minimalism is key for stability, maintainability, security and performance so regularly check, what services are running and if they can be disabled/uninstalled 🙂 systemd: systemctl.man.txt # list all units (list can be /searched like less) systemctl # list all […]
ok an alias is simply an appreviation (ll) of a longer command (ls -lah –color) defined in one of those files: user@Debian8:~$ bash -l; # simulates a login 1. hello from /etc/bash.bashrc 2. hello from /etc/profile 7. hello from ~/.bash_profile […]
v2 mkdir /root/backups; vim /scripts/backup_db.sh #!/bin/bash # Prompt user for root password read -sp “Enter MySQL root password: ” root_password echo # Get list of databases databases=$(mysql -uroot -p”$root_password” -e “SHOW DATABASES;” | grep -Ev “(Database|information_schema|performance_schema|mysql)”) for db in $databases; […]
for debugging ssh stuff, this one liner is very handy (on client AND server) GNU Linux – monitor all logs in real time 😀 – follow all – show changes to log files under /var/log SFTP is very cool and […]
check this out: When will Intel & AMD release their first ARM based SoC? “Intel is working on a new SoC (system on a chip) that will compete with the ARM-based designs that have dominated the mobile market for several […]
Pro: schneller Techniker vor Ort wenn man Business Kunde ist Con: katastrophaler kompetenz & service egal ob am Telefon oder vor Ort beim ersten Anruf bei der Nicht-Business Hotline, tatsächlich schnell jemand erreicht mit dem Hinweis: Er sei der falsche, […]
here is hugo https://gohugo.io/ recommended by a user, so have to look at it installing it for GNU Linux Debian users is as easy as: (no need for snap or brew) lsb_release -d; # tested on Description: Debian GNU/Linux 11 […]
login to mysql: su – root; list all available databases: # login & send command to mysql & logout mysql -u root -e ‘show databases’ -s –skip-column-names # or login mysql -u root -p; # enter command mysql> show databases; […]
it’s a two part process: 1. install the drivers (thanks all involved great work 🙂 su – root apt update apt install printer-driver-ptouch 2. install the printer via cups web browser interface http://localhost:631/ or: https://localhost:631/ -> Administration -> Add Printer […]
finally… all that wait is over… here come the first images of the $10 Billion telescope of almost 17 years of build time… (first design 1999, redesigned in 2005) planned / expected mission time 10 / 20 years more pictures […]
currently wrestling with a LTE modem, that used to work under Ubuntu, but refuses to work under Debian 11. while true; do echo “=== show modem status:”; mmcli -m 1|grep -e model -e primary -e state -e signal; echo -e […]
What is interesting, that 33% of all website creators, decide to not use any CMS at all (static HTML/manually editing it). there is even a trend of creating cms inside wordperss, “cms inside the cms” so to speak, with plugins […]
trying to redirect to: https://dwaves.de/2022/06/14/hardware-review-usb-to-nvme-adapter-asus-usb-3-2-gen-2-type-c-m-2-nvme-ssd-to-usb-adapter-also-known-as-rog-strix-arion-vs-inateck-m-2-nvme-2-usb-adapter/ because wp failed this time…
WARNING! AUTOMATE BACKUP BEFORE AUTOMATE UPDATE-UPGRADE! While keeping WordPress including its plugins and themes up to date on a daily basis is a important thing to avoid beeing hacked and abused to spread malware, it must be said, that automating […]
how long (many hours) will this notebook-laptop battery last? some sensors/softwares report/calculate things like this… 5days on one charge is a very very optimistic estimate for most intel or amd based notebooks (even for RISC/ARM based notebooks-laptops that would be […]
So Tuxedo has no direct cooperation with System76 but maybe with this company: as the “TUXEDO InfinityBook S 14 Gen6” = “System76 Lemur Pro” = “CLEVO L141MU” = HYPERBOOK L14 ULTRA” Clevo sub company in Germany, main company in Poland […]
Updates are sometimes welcome, sometimes hated. This is how the slogan: “never touch a running/working system” originated. But in the times of the wild west internet, all directly or indirectly internet connected devices need to stay as up to date […]
just one of those programs, that makes users smile 🙂 written in C 🙂 compile it from src or go lsb_release -d; # tested on Description: Debian GNU/Linux 11 (bullseye) su – root apt update apt install sl
which pretty much reads like: it probably has to do with: https://wiki.mozilla.org/ServerJS/Introduction (used in firefox and/or thunderbird?) (checkout this search for more javascript rants X-D) one day either JavaScript or Autocomplete will cause the 3rd world war: now imagine Biden […]