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] └─$…

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…

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…

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…

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…

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)…

Read More