
Some sample on IRB Continue reading “Ruby Math On Array and JIT ?”
A Computer Person Journey

Some sample on IRB Continue reading “Ruby Math On Array and JIT ?”

Trying to follow instruction from http://php.net/manual/en/install.unix.openbsd.php (thanks to the creator).
Steps taken to install php7 on httpd (OpenBSD 6.3) as follow.
Location for packages readme as follow
/usr/local/share/doc/pkg-readmes
This is for openbsd 6.3
Interesting web programming stacks using OpenBSD.
https://learnbchs.org
Sample from website below in case it cease to exist in the future.



Ubuntu 18.04 LTS have an application that can be use by developer to compare files or folders called MELD.
FreeBSD also have it on its package collection. Just do pkg install meld.


Good night …
Ruby have a way to execute command line program using back tick. Enclosed our statement to be executed by command line using back tick.
Lets try using back tick on irb !

we can put the output to a variable to process it like sample below.

ls is a command to list content of your file system, if you wonder …
bye and good night …
Hashes variant 1
cars = { “car1” => “avanza”, “car2” => “innova”, “car3” => “mirage” }
Hashes variant 2
cars = { :car1 => “avanza”, :car2 => “innova”, :car3 => “mirage” }
Hashes variant 3
cars = { car1: “avanza”, car2: “innova”, car3: “mirage” }
These are as far as i know.