Articles found in "Tutorials" category:

headimage

Top 10! Fun On The Command Line

Posted in Tutorials

By Bob Mesibov

If you just love making 'top 10'-type lists but are a little embarrassed to say so, tell people you're passionate about data exploration. To impress them even more, explain that you do your data exploration on the command line. But don't ruin the impression by telling them how easy that is! In this…

Read full article
headimage

ODT to TXT, but keep the line numbering

Posted in Tutorials

By Bob Mesibov

The title explains what this article is about. If you save an .odt file as text, or copy/paste the contents as a text file, or run odt2txt or the unoconv utility, you lose the apparent line structure of the original, and with it the line numbering. But there is a way... Losing apparent line…

Read full article
headimage

Scripting a 4-Color Multiple Grepper

Posted in Tutorials

By Bob Mesibov

I wrote the shell script described here ('grep4') to find up to four items at the same time in my data tables, which are big text files with one record per line. The script gives each searched-for item its own color on the terminal screen. It lets me know in advance how many 'hits' there are, so…

Read full article
headimage

Tips on Tables

Posted in Tutorials

By Bob Mesibov

Big data or small data, a lot of it comes these days as plain text arranged in rows and columns. Here are a few tips on working with tables of text, both in text editors and on the command line. CSV isn't what it seems. Text tables are often exported from databases and spreadsheets as…

Read full article
headimage

A Pivot Table In AWK

Posted in Tutorials

By Bob Mesibov

GNU AWK is a great tool for working with tables of data, and by using AWK arrays, you can quickly do column sums (and other calculations) based on unique values in another column (see below). Pivot tables in AWK are a bit trickier. In this article I do a slow walk through the code for a simple…

Read full article
headimage

Why I (sometimes) love regular expressions

Posted in Tutorials

By Bob Mesibov

Command line wizards are forever encouraging the rest of us to learn regular expressions (regex). We're told regex is elegant, powerful and incredibly useful. The downside is that regex can be seriously fiddly. One fly-spot out of place, and the code fails. For this reason I only use 'non-simple'…

Read full article
headimage

Scripting a 'Find-and-Replace' for big text files

Posted in Tutorials

By Bob Mesibov

EDIT 26/04/2014 I wrote the original fandr script to do single-word replacements in big files. To do multiple-word find-and-replace, the 'needle' variables have to be double-quoted, as in the revised script below. An example of a multiple-word replacement is at the end of this article. I use two…

Read full article
headimage

Multiple-item data entry with YAD

Posted in Tutorials

By Bob Mesibov

YAD (Yet Another Dialog) creates GUI dialogs for data entry, user notification, etc. It was written by Victor Ananjevsky and is described as a fork of Zenity. In fact, it greatly extends Zenity and has a very large number of handy options. Here I explain how to build a multiple-item data entry form…

Read full article
headimage

Scripting an OCR text archiver for Trove

Posted in Tutorials

By Bob Mesibov

Trove is the National Library of Australia's online database. It contains almost 400 000 000 digital items, including Australian newspaper articles from 1803 to 1954. Trove's newspaper portal is particularly useful. You can view an entire digitised newspaper page, or select (or search for) an…

Read full article

Linuxtoday.com

Fedora 21 will feature “solarized” color schemes in both the Terminal and Gedit

Fedora Magazine: Solarized comes in both light and dark variants, and really makes these applications look fantastic and works really well on a wide range of displays and screen brightness levels.

When Metrics Go Wrong

OpenSourceCommunity: Good metrics should lead to action, but sometimes, if you're not careful, you can end up with results you didn't intend.

Lawsuit threatens to break new ground on the GPL and software licensing issues

opensource.com: When Versata Software sued Ameriprise Financial Services for breaching its software license, it unwittingly unearthed a GPL violation of its own

Setup Flexible Disk Storage with Logical Volume Management (LVM) in Linux ??? PART 1

 tecmint: Logical Volume Management (LVM) makes it easier to manage disk space.

Nostalgic Gaming On Linux With Good Old Games

 The Linux Rain: Thanks to the recent Linux support provided by DRM-free classic games provider, GOG.com, getting that nostalgic kick on Linux has never been easier.

Palm-sized mini PC projects display, uses IR for touch

 LinuxGizmos: TouchPico is prepping an Android 4.2 mini-PC that doubles as a pico-projector and approximates touch input via an infrared stylus and camera.

Heartbleed Flaw Is Still a Risk, Report Finds

eWEEK: A Venafi report claims that only 3 percent of big companies have fully patched for Heartbleed.

Linode Releases Open Source Cloud Hosting Documentation

 The VAR Guy: Cloud hosting provider Linode has made the documentation for its platform open source, allowing anyone to access the information and contribute to it.

Red Hat starts work on 64-bit ARM servers

 ZDnet: Red Hat and its partners are betting that 64-bit ARM processors are ready for the data center.

GamingOnLinux.com Latest Articles

The Makers Eden, A Hypertext Adventure Game Released For Linux

The Makers Eden is a very interesting adventure game and the first time I've ever played a game like it. It's good, but not for those of you with little patience.

Deep Silver Buys The Rights To Homefront From Crytek, Linux Now Uncertain

So, it really does seem like Crytek were in financial trouble after all. Deep Silver has now purchased the rights to the Homefront franchise and setup a new studio to work on the game. We asked them about Linux support, and the answer wasn't clear.

Airships: Conquer The Skies Updates, Enters Greenlight

Airships: Conquer the Skies, an indie steampunk RTS, goes for the Greenlight with a new version. Only you can help it.

NeonXSZ Cyberspace FPS Arrives On Steam In August

NeonXSZ is quite a unique FPS set in cyberspace that we have covered before, but it's come a long way development wise and will be heading to Steam in August.

The Witcher 3 Is Reportedly Really Coming To Linux

A redditor emailed in to highlight a post they made on reddit after going to SDCC where they spoke to the developers of The Witcher. The developers confirmed to them a Linux version of The Witcher 3 exists.

The Witcher 2 Has A New Performance Focused Beta For Linux

The Witcher 2 now has a second beta for Linux which is aimed at improving performance for Nvidia users currently, and in future for AMD too.

Two Tribes Brand New Platform Shooter RIVE Comng To Linux

After going through some changes the refreshed Two Tribes team got to work on a brand new game called RIVE. The game looks beautiful and it's heading to Linux.

Watch The Unreal Tournament Developers Play Team Deathmatch

The crew from Epic Games are at it again. We have now been teased to a video showing the Unreal Tournament crew playing Team Deathmatch in the brand new game.

Pulstar Twin Stick Shooter Released On Steam For Linux

Pulstar has been updated on Steam to add a Linux version! Pulstar is a fast paced arcade game that brings back the basic of its genre, and it sure is vibrant.

Stronghold 3 Gold Looks Closer To A Linux Version

We already gave you confirmation that Stronghold 3 Gold was heaving to Linux, but in the past week it seems there has been more progress.

Space Pirates And Zombies Now On GOG DRM Free For Linux

You can now grab Space Pirates and Zombies DRM free from GOG.com as they build up their game collection.

Only If Free Adventure Game Released On Steam For Linux

Only If is a surreal first person adventure-puzzle game. You play as Anthony Clyde, who, after a heavy night of partying, wakes up to find himself in an unfamiliar bed with no memory of the previous night's events.

GOL Cast: Metal Music And Zombie Apocalypse In Rock Zombie

If you've played Left 4 Dead 2, then you might have had the chance to smash zombies with a guitar. However, if you haven't then here's a game that focuses exactly on that. Cue the music and let's go kill a horde or two.

Sales Statistics From Developers Part 3

Here we are again! I know how much people enjoy statistics (snore!), but when it comes to Linux and how well games perform on it we all need to see.

Street Arena, A Top Down Action Game Much Like Early GTA Games

Street Arena is the re-branded version of "Greedy Car Thieves" which is a promising looking top down action game involving cars, and it looks a lot like the early Grand Theft Auto games.