Backing up your computer is very important indeed. How to do it with Linux using a simple script.

The importance of backing up your computer can not be understated. This is an integral part of using a computer, judging by the outages of various cloud backup services like Microsoft Azure and other cloud services it is not a good idea to only use a cloud service like Google Drive or Skydrive to store … Read more

A very nice one-liner to return the Bitcoin price in USD.

This is a nice one-liner, it will return the current Bitcoin price in USD. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5] └─$ curl -s usd.rate.sx/btc?T | grep avg: | awk ‘{ print $2}’┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5] └─$ curl -s usd.rate.sx/btc?T | grep avg: | awk ‘{ print $2}’ This is the script in action. ┌──(john㉿DESKTOP-PF01IEE)-[/mnt/c/Users/Intel i5] └─$ curl -s usd.rate.sx/btc?T | grep … Read more

Very interesting Bash shell script for creating a Webm clip from a movie.

This is a very useful Bash shell script, this will create a Webm clip from a movie. This shows how to get parameters in a Bash script easily. #!/bin/bash   while [[ "$#" -gt 0 ]]; do case $1 in -f|–filename) filename="$2"; shift ;; -t|–timestamp) timestamp="$2"; shift ;; -o|–outfile) outfile="$2"; shift ;; *) echo "Unknown … Read more

Possible Matrix Resurrections leaks.

Matrix Resurrections movie leaked plot The first act plays out almost exactly like the first act of the original movie; with Neo slowly waking up from his boring life and discovering who he is, but with two main differences; Trinity doesn’t know who he is, and the entire time, he’s having flashbacks and hallucinations, sometimes … Read more

A very useful Tampermonkey script that will fix the font on Wikipedia

This very useful script will give Wikipedia a better font and make it use the Monobook skin. I like this theme better than the standard one. You can fit more information on the screen. wikipedia.js1 2 3 4 5 6 7 8 9 10 11 // ==UserScript== // @name Wikipedia Monobook // @run-at document-start // … Read more

How to spawn a nuke explosion with a script in Arma 3 with RHS.

This is how to spawn a nuke explosion with a script in Arma 3. This only does damage in a small radius, but it still is a lot of fun. [getMarkerPos "respawn_west", 500] call rhs_fnc_ss21_nuke;[getMarkerPos "respawn_west", 500] call rhs_fnc_ss21_nuke; This section of code will spawn a HE SCUD missile on a certain location defined by … Read more

Another way to get information about your network interfaces on Linux.

There are many ways to get networking information on your Linux computer. This is how to return the active network interface(s) on your Linux system. 4.4 Mon Jun 22 jason@Yog-Sothoth 0: $ ip addr | awk '/state UP/ {print $2}' | sed 's/.$//' enp0s25 Combining this command with another using backticks, it is possible to … Read more

A very nice script for Arma 3. This is a quick revive script to bypass all of the hassle.

This script is a quick revive script that allows players to revive down players that are injured and unconscious in one simple action. This works very well. myfnc_uncon_special = { params ["_unit", "_isUnconscious"];   if ( (typeOf player == "rhsusf_socom_marsoc_sarc") or (typeOf player == "rhsusf_army_ocp_medic") ) then { private _action = _unit addAction ["Revive", {call … Read more

My idea for a new terminator movie. Terminator New Hope.

Terminator 6 New Hope 2.0.2.1 Opens with what looks like an Army Rangers raid on a terrorist camp, but it is a wargame/simulation. The Army Rangers are led by Captain John Connor, the best officer in the corps, and the wargame is his evaluation of the Army’s AMTAC (tactical combat AI) program. John scores 107% … Read more

The best way to have music coming from a radio in Arma 3, this really works.

This code will play music from a Radio in Arma 3. fnc_radio = compileFInal preprocessfilelinenumbers "a3\missions_f_exp\Campaign\Missions\EXP_m01.Tanoa\functions\fn_EXP_m01_radioMusic.sqf";   [radio1] call fnc_radio;fnc_radio = compileFInal preprocessfilelinenumbers "a3\missions_f_exp\Campaign\Missions\EXP_m01.Tanoa\functions\fn_EXP_m01_radioMusic.sqf"; [radio1] call fnc_radio; Just place a radio item and name it radio1, then put the code above in your initPlayerServer.sqf file. This allows a radio to play music. Once a track … Read more

Some very useful bash scripting tips for testing the output of a program.

This simple shell script will test your Internet connection and then tell you if it is up or not. wgetvar=$(wget -q –tries=3 –timeout=20 –spider http://google.com)   if [ $? -eq ‘0’ ] then echo "Internet is up." else #some logging echo "Internet is down.." fiwgetvar=$(wget -q –tries=3 –timeout=20 –spider http://google.com) if [ $? -eq ‘0’ … Read more