This simple script will spawn a jet to patrol an AO and attack any enemy vehicle or helicopter it sees. // Spawn a CAS jet to patrol the AO. _plane = createVehicle [“O_Plane_CAS_02_F”, getMarkerPos(“plane”), [], 0, “FLY”]; _pilotguy = [[26761.4,24593.4,0.000909805], EAST, [“O_Pilot_F”],[],[],[],[],[],232] call BIS_fnc_spawnGroup; ((units _pilotguy) select 0) moveInDriver _plane; _wpcas = _pilotguy addWaypoint [getMarkerPos(“mkr1”), …

Glances is a very detailed script that will print out comprehensive information about your Linux workstation or server. To install the Glances script clone the git repository this way. jason@jason-desktop:~$ git clone https://github.com/nicolargo/glances.git Cloning into ‘glances’… remote: Counting objects: 13758, done. remote: Total 13758 (delta 0), reused 0 (delta 0), pack-reused 13758 Receiving objects: 100% …

The weapon sway in Arma 3 is out of control right now. With the 1.54 Nexus update, the weapon sway is like a drunken Irishman. But you can remove this. player setCustomAimCoef 0.1; player addMPEventhandler ["MPRespawn", {player setCustomAimCoef 0.1}];   player setUnitRecoilCoefficient 0.1; player addEventHandler ["Respawn", {player setUnitRecoilCoefficient 0.1}];   player enablestamina false player addEventHandler …

The unp script for Linux is a script that will detect what the archive is and call the appropriate program to handle it. This is a very useful script for the command line user. In the example below I am unpacking a zip file. jason@eyjafjallajkull:~/Downloads$ unp northwind.sql_.zip Archive: northwind.sql_.zip inflating: northwind.sqljason@eyjafjallajkull:~/Downloads$ unp northwind.sql_.zip Archive: northwind.sql_.zip …

This simple little script will print an updating clock in the terminal. #!/bin/sh watch -t -n 1 ‘date +%H:%M:%S | figlet’ This version will print a cow that tells you the time. #!/bin/sh watch -t -n 1 ‘date +%H:%M:%S | cowsay’ And finally, this prints the time using blocky characters. #!/bin/sh watch -t -n 1 …

#!/usr/bin/perl   use warnings;   use Net::Ping;   # code source: http://www.perlmonks.org/?node_id=943892 # More: http://stackoverflow.com/questions/3960595/how-can-i-ping-a-host-with-a-perl-one-liner-with-netping   #$| = 1; print "Please type a host to check..n"; $host = <>;   if (length($host) < 3) { print "You did not type a host!n"; exit(0); }   my @proto = ("tcp", "udp", "icmp", "stream", "syn");   foreach …

This perl script will print some information about your networking set-up on your Linux machine. #!/usr/bin/perl use warnings; $iface = “eth0”; @data = `ifconfig`; $net = $data[1]; $username = `logname`; $kernel = `uname -r`; printf(“\n*————————————-*\n”); printf(“Hello %s \nThe IP of %s is:%s\n”,$username, $iface, $net); printf(“The kernel version is: %s\n”, $kernel); printf(“\n*————————————-*\n”);

This is a command that will list the contents of your crontab file if you have one. You need to use the sudo command as unprivileged users are not allowed to list the contents of this folder. The best way to view the contents of your crontab file is to use the crontab -l command. …