Matlab code from 1983 was found on the Internet.
The Matlab source code from 1985 has been found on the Internet. This is amazing.
The Matlab source code from 1985 has been found on the Internet. This is amazing.
How to install and update packages on your Mac OSX Homebrew installation.
A TV show scene, replacing Jigsaw with Hal 9000.
How to set the terminal title with Linux very easily, this is a very useful Linux tip.
How you can have an eternal bash history in Linux and save every command you have executed.
More useful sed tips.
Some very useful tips for using the Xterm terminal emulator on Linux.
How to get information about the boot partitions in your Linux machine.
This one-liner will print the current LAN IP address of a machine running Macintosh OSX. jason@. PWD: ~. -bash. 3.2.57. 10 $> ifconfig | grep "inet " | awk ‘FNR==2{print $2}’ 192.168.1.2jason@. PWD: ~. -bash. 3.2.57. 10 $> ifconfig | grep "inet " | awk ‘FNR==2{print $2}’ 192.168.1.2 This is 10.14.2 (18C54), but this command … Read more
This is my very old .fvwm2rc I used to use. This should be very useful for anyone who is interested in using this very old desktop environment. ~/.fvwm2rc1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 … Read more
This is a very useful .cshrc file for any Linux or UNIX machine. This gives a very nice prompt and a few very useful aliases. /etc/csh.login1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 … Read more
I am using OpenBSD, and I do not like the default Window Manager used by the operating system. I installed the Fluxbox Window Manager and I had to tell X11 to load it instead of the default. I did it like this. Install the Xorg packages during installation, then you will be ready to install … Read more
The OpenBSD operating system has many ways to get system info. One way is to use the sysstat utility. This returns comprehensive information about a running UNIX system. Run sysstat with no parameters and you will get output like this. 2 users Load 0.51 0.36 0.16 neo.home 10:32:19 memory totals (in KB) PAGING SWAPPING … Read more
I am installing OpenBSD in VMware to test out this very nice UNIX operating system, and this should be very easy to do. I chose to install manually, the auto installation option does not work. Then I had to setup the network interfaces for the operating system. I chose to use DHCP for the Ethernet … Read more
I have just upgraded a Macbook to OSX Mojave. This was very painless, and did not take very long at all. Upgrading a Macintosh machine is much easier than upgrading Windows 10, with all of the hassles and file deletion issues involved in that process. After the installation process, I had a new login screen, … Read more
I just installed the Linux version of the SGI desktop on my Fedora 25 Linux machine. This was not too hard either. Download a copy of the installation script from here: http://www.maxxinteractive.com/site/?page_id=51. Run the script as root to download and install the MaXX desktop tarball. [root@localhost Downloads]# sh MaXX-Indy-1.0.0-Installer.sh >>> Downloading MaXX Interactive Desktop … Read more
How to define a string and print it out with the printf() function. #include <stdio.h> /* Defining a global string. */ #define hi "Hello Sire." int main(void) { /* Printing out the string. */ printf("%s\n", hi); return 0; }#include <stdio.h> /* Defining a global string. */ #define hi "Hello Sire." int … Read more
The netstat command may be used to show the routing tables for your network connection easily. Use the netstat -r command to achieve this. iMac05:~ admin$ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.18.31.1 UGSc 31 0 en0 127 localhost UCS 0 0 lo0 localhost localhost UH 0 … Read more
Using the shellshock bash bug on an iMac. iMac04:~ admin$ env VAR1=’me() {echo "hello"}\ ‘ /bin/echo "hello" helloiMac04:~ admin$ env VAR1=’me() {echo "hello"}\ ‘ /bin/echo "hello" hello Getting free hard disk space easily. iMac04:~ admin$ df -Hla Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk0s2 89G 64G 25G 73% 15757422 6089307 72% … Read more
The plan9 operating system from Bell labs is a UNIX like OS that is a fun way to learn about operating systems. The installation when using the text based installer is quite counter-intuitive but this is a good learning experience. There are amd64 packages available to install your system, I had problems when installing this … Read more