Recording from line-in with Audacity on Linux Mint 12.

I have my mobile telephone connected with a male-male 3.5mm cable to my computer and I wanted to record segments from the radio to the computer with Audacity. This is how I achieved that. And also configuring the alsamixer settings properly to enable the line-in port as the capture source will help with this. This … Read more

Using the sysctl command on Linux to return hardware information. And some other related commands.

The sysctl command on Linux may be used to return information about your installed hardware; as well as virtual memory information. Below is an example looking at virtual memory information. zsh 7 % sysctl -a | grep vm sysctl: permission denied on key ‘kernel.cad_pid’ sysctl: permission denied on key ‘kernel.usermodehelper.bset’ sysctl: permission denied on key … Read more

How to spawn fire on top of a smoke stack in Arma 3 and other useful tips for mission making.

Spawn fire in air in Arma 3 Put this code in your initPlayerLocal.sqf and this will spawn a fire object on top of a smoke stack. _firePos = [4234.45,18088.8,58.9342]; _fire = "test_EmptyObjectForFireBig" createVehicle _firePos; _fire setPos [_firePos select 0, _firePos select 1, 59];_firePos = [4234.45,18088.8,58.9342]; _fire = "test_EmptyObjectForFireBig" createVehicle _firePos; _fire setPos [_firePos select 0, … Read more

Finding the largest file in a directory and other cool Linux commands.

To find the largest file in a directory; use the du command and this will return the information you are after. Using the pipe symbol to send the text through to the head command will allow us to only return the one file we are interested in. jason@jason-desktop:~/Documents$ find . -type f -exec ls -al … Read more

Send a message to logged in Linux users and other nice tricks.

To send a message to logged in Linux users with the wall command, just open it and type a message. Then press ^D to send it. jason$ wall Hi   Broadcast message from jason@jason-desktop (pts/0) (Sat Aug 27 22:24:05 2016):   Hijason$ wall Hi Broadcast message from jason@jason-desktop (pts/0) (Sat Aug 27 22:24:05 2016): Hi … Read more

How to set the timestamp on a file to a time in the past using Linux and bash.

This command will set the timestamp of a file in Linux to be in the past. I am not sure what use this is, but it shows what you can do with the Linux command line. john@adeptus-mechanicus ~/Documents $ touch -t 200510071138 root.jpeg john@adeptus-mechanicus ~/Documents $ ls root.jpeg -rw-r–r– 1 john john 385K 07-10-05 11:38 … Read more

The Linux console in danger of being killed in favor of a userspace option instead?

There are plans afoot to move the Virtual Terminal on Linux to userspace instead of it being a kernel level application. But the main strength of the Virtual Terminal is that it is very reliable and you can always rely on it when your Xorg installation has crashed with an error. This is why we … Read more

Linux in the movies and television. Some famous appearances.

In the television series “Heroes” a KDE desktop was spotted running the Kopete application. A screenshot below. This is a Mandriva distribution displaying part of the Kmix window and a live webcam application. We all know about the famous scene in the Matrix Reloaded where Trinity is cracking the Matrix power station servers to buy … Read more

How to list the indexes in a MySQL database table.

How to list the indexes in a MySQL database table. Easily done using the show command. mysql> show index from customer; +———-+————+——————-+————–+——————–+———–+————-+———-+——–+——+————+———+—————+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | +———-+————+——————-+————–+——————–+———–+————-+———-+——–+——+————+———+—————+ | customer | 0 | … Read more