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

Articles found in "Tutorials" category:

Split a table and number the pieces: two methods

By

I worked on these bits of code to simplify a shell script of mine. You really wouldn't want to see the script's original commands here — they're way too ugly! The new commands are much prettier and work well. The problem To simplify the story, here's a comma-separated table called demo, sorted on t…

Read Article

Some baby name problems

By

No, these aren't homework problems from a computer science class. They're interesting head-scratchers based on a data-analysis project I worked on recently, with the data 'reimagined' here for simplicity but with the underlying problems intact. We'll start with boys and girls, which are text files…

Read Article

A "Track Changes" script for data cleaning

By

The complicated-looking script at the end of this article is in two parts. The first part detects the changes made when a data table is edited, and reports the changes as a plain-text logfile. It's a straightforward bit of shell scripting based on the diff command. The second part of the script…

Read Article

Linux, HP and the avoidance of Windows

By

Having a TL;DR day? In a nutshell, I just replaced a 2011 HP Mini netbook with a 2014 HP mini-notebook. Both run Linux. Thank you, HP. The netbook I bought a 2011 HP Mini 110-3744TU in early 2012 (specs below). It came with Windows 7 'starter', which I replaced with CrunchBang Linux. The Mini is…

Read Article

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

News Elsewhere

Linuxtoday.com

Bringing Secure Boot to the Core of Containers [VIDEO]

eSecurityPlanet: VIDEO: Matthew Garrett, principal security engineer at CoreOS, discusses his efforts to bring a root of trust from bare metal all the way to the operating system level.

Intel Gets 'Clear' About Linux and Containers

eWEEK: VIDEO: Imad Sousou, VP in Intel's Software and Services Group and GM of the Intel Open Source Technology Center, discusses the Clear Linux and Clear container efforts.

Smart API integrations with Python and Zato

 opensource.com: As the number of applications and APIs connected in a cloud-driven world rises dramatically, it becomes a challenge to integrate them in an elegant way

3 Relatively Unknown Open Source Web Browsers for Linux that Packs the Punch

 techdrivein: 3 superb free and open source web browsers you've probably never heard about.

Microsoft Lobbying in India Shoots Down or At Least Weakens Free/Libre Software Policy

 techrights: After Microsoft lobbying (both directly and by proxy) against Indian sovereignty we seem to have ended up with a watered-down Indian policy, which briefly favoured Free/Open Source software (FOSS).

27 DNF (Fork of Yum) Commands for Fedora RPM Package Management

 tecmint: DNF aka Dandified YUM is a next generation Package Manager for RPM based Distribution.

How to replicate a MySQL database on Linux

 xmodulo: Database replication is a technique where a given database is copied to one or more locations

Expandable Mini-PC runs Linux on quad-core 2.2GHz AMD SoC

 LinuxGizmos: CompuLab's fanless Fitlet-H mini-PC has a quad-core 2.2GHz AMD A10 Micro-6700T SoC, up to 16GB RAM, internal SATA, dual HDMI, dual GbE, and dual mini-PCIe.

Install QEMU on ubuntu 15.04 and mange QEMU with Virt Manager

 UbuntuGeek: QEMU is a generic and open source machine emulator and virtualizer.

GamingOnLinux.com Latest Articles

Siralim, A 2D RPG Roguelike Updated With Linux Support

Siralim is a crisp looking 2D RPG with Roguelike elements that has just been updated to include Linux support! While the graphics may be rather…

Serpent In The Staglands, A New Party-based CRPG Available On Linux, Plus Initial Thoughts

Serpent in the Staglands is a pretty interesting looking CRPG that has recently released for Linux. It actually looks a bit like the old Baldur's…

Legend Of Grimrock No Longer Works On Nvidia GeForce GTX 900 Series GPUs

Going as far back as the 14th of February of this year, users have been reporting that Legend of Grimrock won't even start on their Linux powered…

SOMA, The New Horror From Frictional Games Due In September Day-1 For Linux, New Trailer Too

The new horror game 'SOMA' from Amnesia developer Frictional Games is due in September, and they confirmed it should be a day-1 Linux…

The Wine Development Release 1.7.44 Is Now Available

Wine team released today another development release of their software. Version 1.7.44 have many small changes including 59 bugfixes. A new issue of…

OpenMW Version 0.36.0 Released

The Morrowind game engine reimplementation OpenMW has taken another step towards 1.0. Version 0.36.0 doesn't bring much in the way of features for…

Massive Planetary Annihilation Patch Released, Awesome Stuff

The big patch to Planetary Annihilation that I spoke about recently has been officially released. This makes the Linux client much more stable too.…

Duke Nukem 1 & 2; I Have No Mouth, And I Must Scream; Incredipede Now On GOG For Linux

Is there any stopping GOG right now? They are really heating up the Linux releases recently, and I am sure our DRM free loving fans will snap at…

Hey, It's Friday Livestream Time Again (at 5 PM UTC!)

It's Friday and if you don't know what we do on Fridays you must be new here. In any case, I welcome you to yet another Friday Livestream! May your…

UE3 Powered Physics Puzzler 'Unmechanical' In Open Beta For Linux

The beta for 2.5D physics puzzler Unmechanical was announced a couple of weeks ago, and is now available for all owners of the game on Steam. An…

Dragon Wars, Retro Turn Based Fantasy, Another Classic Released On GOG With Linux Support

Dragon Wars is a very retro turn based fantasy game, and it has been released on your favourite DRM free store with Linux support. It's another game…

Heroes Of Loot, A Mix Of Dungeon Crawling & Twin Stick Shooting On Steam For Linux, Initial Thoughts

Heroes of Loot is a 2D dungeon crawler with twin stick like shooting, I've taken a little look so that you know what to expect.About HoL (Official)…

Voxelnauts, A Sandbox MMO Built On Linux & Needing Help On Kickstarter

I am always hesitant to cover any crowdfunding campaigns, but I think Voxelnauts has just won me over. All development is done on Linux, they have…

Demo Released For Choose-Your-Own-Adventure Mystery Game 'Jenny LeClue'

Jenny LeClue was funded on Kickstarter last summer. A playable teaser has now been made available, along with a new teaser trailer. This trailer…

Adventure RPGs Hero Of The Kingdom I & II Released On Steam For Linux

The quest and resource based adventure RPGs by developer Lonely Troops were both officially released for Linux this week and the first one is…