sWWW - Sylwester Wojnowski
CODE FOR THE WEB
05 Oct 2017 21:49:26
Article on implementing matrix transpose operator in PHP programming language. Contains commented code and use examples.
Read full article »
21 Dec 2016 11:07:56
List of Unicode code points for Genericons vector icon set and a BASH script that finds the codes.
Read »
29 Apr 2017 16:41:28
Sorting UTF-8 encoded strings using strcoll and usort functions or alternatively Collator library in PHP.
29 Jun 2018 19:38:09
Encrypting files and directories of files with public key and ciphers using GnuPG and gpg-zip.
03 Jul 2017 13:58:12
Article on traversing tree data structure depth-first in pre-order recursively with examples in PHP programming language.
17 Aug 2017 16:07:40
Article on the subject of comparing arrays or objects based on array with a function in PHP programming language.
14 Jul 2020 11:08:06
An article on recursively updating deeply nested arrays using array_walk_recursive and custom nested array traversal function in PHP.
24 Jul 2020 18:27:44
In this article, more out of curiosity than for a good reason, I look at one way of how e-mail spam gets sent by hacked PHP CGI setups. The scenario goes like this: a carefully crafted URL changes PHP configuration to enable a remote file inclusion into a script executed by a ...
Read more »
24 Jul 2020 00:31:31
JavaScript arrow functions are cool addition to the language. You no longer think about a good name for your function, are allowed to skip "function" keyword, and sometimes even drop parameter's enclosing parentheses. In this article I look at whether these ...
18 Jul 2020 00:39:07
One useful skill when it comes to dealing with variables is to be able to change their range. One of the most useful and desirable ranges is [0,1]. Occasionally you might need a different range like [-1,1], too. This article describes a couple of methods of scaling and descaling ...
16 Jul 2020 14:51:53
At some point in your adventure with programming you are likely to find yourself in need of determining whether two trees are the same or not. This article describes two methods to do it. First on them relies on a recursive algorithm, the other, shorter, simpler and more ...