Hetzner is already doing it with very energy efficient Ampere ARM servers delivering world-class-cost-and-energy-saving-virtual-servers. (Gigabyte has them as well UNTESTED!) #SuperCharge #IT processes with #OpenSource + #GNU #Linux (call it #GNU #Linux and give the dude that wrote gcc some […]
ever heard of PSR? (PHP Standard Recommendations are like RFCs) no? Nevermind. some devs make jokes about PHP – but this – only PHP + XDEBUG can do! setup a test-server with test requests and data and start debug session […]
always say something positive first: then the critique: follow the excellent guide: https://getcomposer.org/download/ mkdir /var/www/html/composer cd /var/www/html/composer php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘sha384’, ‘composer-setup.php’) === ‘THISWILLHAVECHANGEDBYNOW’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } […]
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 […]
/* 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; […]
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 […]
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 […]
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 […]
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 […]
here is a demo video: the possibility to step (!) debug requests, as they appear on the server is a neat feature, xdebug + eclipse are a great team, when the setup is complete. installed GNU Linux Debian 11 […]
php8 delivers up to +25% better speed than php7, which is remarkable. follow this excellent guide, and how to upgrade apache2 based webservers from php7 to php8.1, simply replace php8.0 with php8.1 in this excellent guide guide: in short: su […]
the user has to know, that Mozilla is very much (still) dependant on Google’s money. User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0 Hello Dear Mozilla / Dear Firefox management & DevTeam, using this rss app to stay up […]
the task at hand ought to be a simple one… the user has a data table of some sort (a Excel sheet). and wants only unique data sets (no duplicates) in a certain column theoretically Libre Calc can do that, […]
“floating point arithmetic is considered an esoteric subject by many people” (src: What Every Computer Scientist Should Know About Floating Point Arithmetic – David Goldberg 1991.pdf) some even do “transcendental calculations” (src) make no mistake: computer make mistakes too! not […]
setup LAMP GNU-Linux Apache2 MariaDB PHP7.3 su – root; # become root apt update; # update system to latest apt upgrade; # database first apt install mariadb-server mariadb-client # set root pwd for database (can be root on dev test […]
home of git’s git repo: https://git-scm.com/ # to clone git’s git repo git clone https://git.kernel.org/pub/scm/git/git.git # as can be seen there, it is STILL under active development written in primarily in C, with GUI and programming scripts written in Shell […]
All users are strongly encouraged to upgrade to the latest versions of PHP 7.3.11 and PHP 7.2.24. Vulnerability in PHP7 exposes sites to remote hacking risk The problem only applies to NGINX servers with PHP-FPM enabled. image A dangerous vulnerability […]
list of RSS feeds that might be interesting 😀 RSS-Feeds are files.xml, which are auto-generated by CMS like WordPress. It can be subscribed to with an RSS-Client Software. Thunderbird (the Mail program) for example (tested on version 60.6.4 and above) […]
2020-12: another reason why JavaScript SUCKS badly and websites NEED TO WORK without JS: it might “destroy” NAT security: NAT Slipstreaming allows an attacker to remotely access any TCP/UDP service bound to a victim machine, bypassing the victim’s NAT/firewall (arbitrary […]
By the amount of commentary SPAM i get on WordPress using Google’s ReCaptcha… it wonder if i shut just disable comments all together (kind of what Anti Spam Bee did… it was impossible for me to comment on my own […]
Update: 2024 unfortunately also some ARM CPUs are affected by Spectre v1 and v2. Update: 2020.03 “The newly developed Rowhammer- attack TRRespass can crack the RAM-a security mechanism by many DDR4-DRAM-modules as well as LPDDR4 Chips. Until now, these were […]
add value. creating a better world by free software + develop some degree of consciousness = adds value for all life on the planet. this is what software development is all about. whatever makes reaching this goal easier/better is welcome. […]
i did just some basic testing… and managed to compile the php7.3 binary – but the make install failed. it would help to have multiple cores… hostnamectl; # tested with Static hostname: CentosSlave Icon name: computer-vm Chassis: vm Operating […]
i tried to compile under debian…. but it’s way more compli cated. also: you probably do not need all the packages stated here… but i did not have the time to sort those out sorry for that. feel free to […]
install firefox app and test it for free here: https://appr.tc/ When Browsers start to talk to each other – Open Source HTML5 based Web Video Audio Conferencing WebCam ScreenSharing – Collaboration over internet WebRTC (“Web Real-Time Communication“) enables applications such […]
a classic example of the exaggerated use of javascript. which is an slow and unreliable language and i really wonder how people manage to build larger applications with it. result was… “no there is no faster internet from us for […]
this guide is abit outdated… If you need XDebug + Eclipse look here (allows step-debugging of your php code very very nice 🙂 . (slightly more complicated setup) lighttpd is “just as good” as apache2 – except – it does […]
“The Unix Philosophy in One Lesson” “All the philosophy really boils down to one iron law, the hallowed ‘KISS principle’ of master engineers everywhere:” “Keep It Simple, Stupid” or “Keep It Super Simple” (less offensive) The Unix philosophy emphasizes building […]