Some very useful Powershell tricks.

Print the current date and time with Powershell. "{0:dddd – hh:mm:ss – d/M/yy}" -f (get-date)"{0:dddd – hh:mm:ss – d/M/yy}" -f (get-date) This is an example of what this will give you. PS C:\Users\jason> "{0:dddd – hh:mm:ss – d/M/yy}" -f (get-date) Tuesday – 08:42:05 – 30/1/18PS C:\Users\jason> "{0:dddd – hh:mm:ss – d/M/yy}" -f (get-date) Tuesday – … Read more

How to encode a section of a movie to a webm file with mpv.

To encode a section of a movie file to a high-quality webm file, use this simple addon for mpv. Firstly run this command to create a directory to put the lua script. mkdir -p ~/.config/mpv/scriptsmkdir -p ~/.config/mpv/scripts Then download the required script to the directory we created. This is located on this Github. https://github.com/ekisu/mpv-webm. wget … Read more

How to setup proper directory indexing in Apache.

To get proper directory indexing set up in a directory in your Apache webserver configuration, firstly, create a .htaccess file and paste the code below into it. Options +Indexes   HeaderName HEADER.html ReadmeName FOOTER.html   IndexIgnore .htaccess .??* *~ *# HEADER* FOOTER* README* RCS CVS *,v *,t *.incOptions +Indexes HeaderName HEADER.html ReadmeName FOOTER.html IndexIgnore .htaccess … Read more

Strange things are waiting out in space. When are we going to start looking?

Strange things are waiting out in space. When are we going to explore them? There are many strange things waiting out in space for us to find them. But we need to start concentrating more on space travel and this will lead us to our future as a space-faring civilization. We can not just stay … Read more

New Arch Labs Linux distribution. This really is a good distro, and light on RAM.

Nice new Linux distro for a lower-specced machine The new Archlabs Linux distribution is a nice light Linux distribution that loads very quickly and has a nice default desktop theme. Right-click on the desktop to open the Arch Labs menu. This has not much in the way of software on the live disc, this can … Read more

Even more very useful Arma 3 script samples.

Some very good Arma 3 scripting samples Put this code into the init of a crate to create an Arsenal crate. this addaction ["Open Virtual Arsenal", { ["Open",true] call BIS_fnc_arsenal; }];this addaction ["Open Virtual Arsenal", { ["Open",true] call BIS_fnc_arsenal; }]; This code in the initPlayerLocal.sqf and onPlayerRespawn.sqf files will remove stamina and weapon sway. player … Read more

Manage your user settings easily on Linux Mint or Ubuntu.

Managing your user account on Ubuntu or Linux Mint is very easy with the GUI utilities provided. Under System->Administration->Users and Groups, you have the option to create new user accounts, or modify existing ones. This is the window above, it is ready for the creation of new user accounts. Click any option, and it will … Read more

get comprehensive information about a hard disk with the Linux command line.

Getting a lot of useful information about a hard disk drive is easy with Linux. The smartmontools package contains utilities to retrieve a lot of very useful info. Firstly, install this package. jason@Yog-Sothoth:~$ sudo apt install smartmontoolsjason@Yog-Sothoth:~$ sudo apt install smartmontools Then run the command with sudo to get info about a drive. jason@Yog-Sothoth:~$ sudo … Read more

How to have a nice text banner associated with your Linux user account.

Your Linux user account details may be seen with the finger command, i.e finger jason. But the user can add more information to this as well. Create a file in your home directory named .plan and put this into it. ***************************************************************************^M NOTICE TO USERS     This computer system is the private property of its … Read more

How to get a graphical window of xterm or rxvt to open over an SSH connection.

To open an xterm window over the network from another computer, use this command. This will open an SSH connection to another machine. Once the password is given, it will open a rxvt window which will appear on your machine and enable you to issue commands. jason@Yog-Sothoth:~$ ssh -YC [email protected] rxvt The authenticity of host … Read more

Very useful Macbook tips for a new user.

How to use home and end keysHow to take screenshotsGet information about installed appsMore keyboard key shortcuts How to use home and end keys To right-click on something, hold the control key and then click an item to get a right-click context menu. This is how you can customize Firefox on your Macintosh machine. The … Read more

Useful tips for a programmer on a Macintosh machine. Install GCC.

How to install the GCC compiler for Macintosh programming on a Macintosh Air. This simple command will install the GCC compiler collection and the make command on a Macintosh. This enables programming console apps on a Macintosh machine. These instructions are for Macintosh OSX Sierra. May not be the same on an older Macintosh machine. … Read more

An alternative to the ls command to print a directory listing.

This is a good alternative to the ls command to print a directory listing. This is very useful for quickly viewing the contents of a directory. ┌─[jason@parrot]─[~/Documents] └──╼ $find ./ -printf "%f\n" ./ password-01.kismet.netxml password-01.cap read.c out.xml netcomm.txt a.out password-01.kismet.csv rockyou.txt password-01.csv mysql.txt notify.js┌─[jason@parrot]─[~/Documents] └──╼ $find ./ -printf "%f\n" ./ password-01.kismet.netxml password-01.cap read.c out.xml netcomm.txt … Read more

New themes for your Linux desktop in 2018.

Nice Linux themes and wallpapers Some more lovely GTK themes and wallpapers for your new Linux desktop in 2018. Gnome Shell themes Human Next: https://www.gnome-look.org/p/1188270/. Maxim: https://www.gnome-look.org/p/1182550/. Copernico: https://www.gnome-look.org/p/1013056/. Wallpapers for Gnome and MATE Railway line through the mountains: https://alpha.wallhaven.cc/wallpaper/22805. Looking down on a swimming pool beside the ocean: https://alpha.wallhaven.cc/wallpaper/575741. Lake in the Rocky Mountains: … Read more