Encode a webm file with a simple script that will shrink over time.
How to encode a webm file that will shrink as it plays. This is a neat trick.
How to encode a webm file that will shrink as it plays. This is a neat trick.
How to write a script for Linux in bash that can hide code from cat.
How to add a job to the crontab on Linux and automate a task.
How to add a script to an object in the Arma Reforger editor.
A nice script to generate a few Linux user accounts from a script.
Glances system information script.
How to get the NVIDIA fan running automatically when you log into Gnome on Linux.
How to create a notification window or bubble with Powershell on Windows. This is a very useful scripting tip.
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
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
Easily set up an online VPN using OpenVPN on a VPS with this simple script Amazon Web Services offer cloud-based servers that allow a user to easily set up a remote Linux server and host a VPN using OpenVPN to use an unfiltered Internet connection that can pass through a proxy if you use port … Read more
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
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
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
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
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
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
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
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
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