The Linux Rain Linux General/Gaming News, Reviews and Tutorials

Articles found under tag: tutorial

How to garble

By

In 2003 a strange paragraph made the rounds on email. It read: Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, olny taht the frist and lsat ltteres are at the rghit pcleas. The rset can be a toatl mses and you can sitll raed it wouthit a…

Read Article

DMS to DD to KML with AWK and sed

By

In a 2014 Linux Rain article I describe a fast 'points plotter' for Google Earth. First I copy a list of latitude/longitudes (lat/lons) from a spreadsheet to the clipboard, then I launch a shell script with a keyboard shortcut. The script builds a KML file from the copied list and opens the KML for…

Read Article

Grouping things with AWK

By

In this article I explain one way to group data items with AWK arrays. The code is a little mysterious but the results are impressive, especially in my second example! Case 1: Cricket stats The table 'runs' is tab-separated and lists the 86 national team cricket players who scored (or have so far…

Read Article

Building sequences of numbers on the command line

By

There are two easy-to-use tools for generating numerical sequences. 'Brace expansion' is a BASH shell built-in, while the seq command is included in the GNU/Linux 'coreutils' package. Each tool has its peculiarities and advantages, as shown below. Simple sequences One difference between the two…

Read Article

Building a Desktop Wikipedia Checker

By

I often look something up in Wikipedia when reading non-browser documents, like PDFs, ODTs and emails. I wanted to have a little desktop window for those look-ups - somewhere I could check Wikipedia without opening a browser and without leaving the document I'm reading. This article describes how I…

Read Article

How to repeat a script, or not

By

I have a data-entry script which adds records to a plain-text data table. It's a fairly complicated script with a GUI dialog, and until recently it added one record at a time. To add another record, I had to launch the script again. Was there a simple way (I asked myself) to re-run the script, or…

Read Article

On dates and stuffed non-dates

By

Nothing gives my wife the Screaming Meemies like dates in spreadsheets. Unless she formats the target cell in advance as text, the spreadsheet will turn a perfectly innocent, non-date string like 23/2/6 into '23-Feb-2006'. When she types 6420-11-3, according to both LibreOffice Calc and Gnumeric,…

Read Article

The header line: how to add, delete and ignore it

By

In a plain-text table, the first or header line usually contains the names of the fields. In this article I've pulled together a variety of ways to add and delete a header, and also how to do things with the rest of the table while leaving the header intact as the first line in the file. Add a…

Read Article

Joining Tables on the Command-Line

By

This article compares 3 different ways to join tables on a common field. All 3 work OK on small tables, but there's a big difference in speed when the tables to be joined are large, as shown below. Table joining isn't something you need to do if you store data in a simple, flat-file database like a…

Read Article

Splitting a File Elegantly

By

In a previous Linux Rain article I compared different ways to delete blank lines, and showed that the AWK way was the simplest and most thorough. Here I show how to split a text file into multiple text files using a surprisingly simple AWK command. Background In 2013 I published an article in Free…

Read Article

News Elsewhere

Linuxtoday.com

How to encrypt a partition with DM-Crypt LUKS on Linux

 HowToForge: TrueCrypt is no more, and the purpose of this post is to show you straightforward partition encryption with dm-crypt luks.

Open-source IoT kit runs OpenWRT, mimics Arduino Yun

 LinuxGizmos: A "Domino.IO" Kickstarter project offers an Atheros AR9331 module running OpenWRT Linux, plus two tiny baseboards, one of which is Arduino Yun compatible.

Hilarious random startup website generator is pretty damn realistic

 NetworkWorld: A pair of Georgia Tech computer science students have created a Random Startup Website Generator that spits out a different jargon-laden startup website every time you click on the URL.

OpenMandriva Lx 3 Alpha Is Out with UEFI Support and LXQt, KDE Plasma 5 Coming Soon

 softpedia: OpenMandriva Lx 3 Alpha brings many changes

Integrating TinyMCE with Your Laravel CMS

 linuxphile: Laravel is a powerful and easy to learn PHP framework.

World's smallest i.MX6 module has onboard WiFi, eMMC

 LinuxGizmos: Variscite unveiled a 50 x 20mm "DART-MX6" module that runs Linux or Android on the Freescale i.MX6, with up to 64GB eMMC flash and -40 to 85 degrees C support.

How to Install the Gnome Classic Desktop in Ubuntu 15.04

 nextstep4IT: The Gnome classic desktop is easy to use

OSCON Moves, Nokia's on the Phone & More...

 FOSSforce: OSCON is making a big move.

How to Upgrade Ubuntu 14.10 to Ubuntu 15.04

 softpedia: The official support for Ubuntu 14.10 will end sometime around July 2015,

GamingOnLinux.com Latest Articles

Stop Everything, Tea Party Simulator 2015 Released For Linux

Will these joke simulator games ever end? Who honestly is going to buy Tea Party Simulator 2015? Goat Simulator was funny, but this... Am I dreaming,…

The New Trailer For 'Chroma Squad' Is Madness, Check It Out

I'm actually quite excited to give Chroma Squad a go, and this brand new trailer is showing off the gameplay rather well. The game has been in closed…

Dungeons 2 Strategy Game Released On Steam For Linux

Dungeons 2 is another game to come to Linux thanks to Kalypso Media Digital, and it's very much like the old Dungeon Keeper games. Reviewers are…

Will Fight For Food: Super Actual Sellout: Game Of The Hour Released For Linux

Will Fight for Food: Super Actual Sellout: Game of the Hour wins my award for most annoying name of a game ever. That aside the game has been…

Survivor Squad: Gauntlets Adds Linux Support, Looks Really Fun

Survivor Squad: Gauntlets has recently added Linux support to their Early Access title. Honestly, I didn't think much of it looking at screenshots,…

Remember Your Weekly Dose Of Livestream Starting At 5 PM UTC!

Can you guess what day it is? No? Fine, it's Friday and that means we get to do the gamings and streamings for you people. Live, naturally. Watch…

Steam Officially Starts Allowing Paid Mods In The Workshop, People Are Upset

In a move that is not even remotely surprising to me, Valve has started rolling out the ability for mod authors to sell their works. I think…

Demise Of Nations: Rome Enters Early Access, Free To Play Strategy Game For Linux

I know, I used that terrible free to play term in a title again didn’t I! They are doing it in an odd way too, with only one map playable…

Crypt Of The NecroDancer Exits Early Access, Get With The Beat

Crypt of the NecroDancer was a bloody good idea for a game, and it is executed well. The game has now left Early Access. I’ve spent a total of…

Parcel, A Cyberpunk Puzzler Exits Early Access On Steam For Linux

Parcel is a Cyberpunk puzzle game from Polar Bunny Ltd that kept our flesk pretty hooked, and less than a month later it has come out of Early…

Colony Builder 'Maia' Updated, Bring Fire Extinguishers

Maia is certainly an interesting take on the colony building genre, but it has been lacking in things to do. This new major release aims to help with…

Techland Presentation On Porting Dying Light To Linux

In the comments of our recent Dying Light article, a video was posted showing two Techland developers talking about their porting of Dying Light to…

Storm United FPS Updated, More Graphics Options, Less Crashing

Storm United is the FPS that is quickly stealing my heart, and the game has been updated with some useful features. You can now adjust the motion…

Shadow Warrior For Linux Updated, Now More Graphically Awesome

The Shadow Warrior release for Linux did miss out a few graphical features, but the developers have now implemented them all. I’ve tested it…

Half-Life 2: Update, A Community Made Graphical Revamp Released For Linux

The big community made update to Half-Life 2 is now available on Linux. This promises lots of new goodies for the ageing game. You can see a…