LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

["SOLVED"] Weird failure in bash string comparison

Posted Today at 01:43 AM by the dsc (linux-related notes)
Updated Today at 01:52 AM by the dsc

A string produced by a given command is somehow different from a string produced by "catting" a file produced by redirecting the output of the very same command. That's weird, if you ask me.

The "solution" is not to compare them both, but create a second file from the "same" redirection, and then strings from "catting" those files. Then the comparison won't always say the strings are different.

Code:
#!/bin/bash
apps=$(ps -axo
...
Member
Posted in Uncategorized
Views 10 Comments 0 the dsc is offline
Old

Kubernetes: 5 Ws and 1H answered

Posted Yesterday at 04:58 AM by Mr. ameya sathe (Tantra Yantra Swatantrya)

Ques. What is Kubernetes?
Ans. A software to create,manage,destroy containers.

Ques. When to use Kubernetes?
Ans. To do parallel or serial actions on set(s) of logically grouped containers.

Ques. How does Kubernetes implement it?
Ans. The software is structured into form of a Kubernetes master & kubernetes node.

Ques. What is kubernetes node?
Ans. Kubernetes node is a VM/physical machine having a kubernetes component known as...
Member
Posted in Uncategorized
Views 26 Comments 0 Mr. ameya sathe is offline
Old

Setting asymmetric correspondence between screen and mouse "area"

Posted 04-28-2016 at 07:57 AM by the dsc (linux-related notes)
Updated 04-28-2016 at 08:44 AM by the dsc
Tags ergonomy, mouse

Like the common acceleration feature, but asymmetric. So you can reach the ends of the screen with whatever range of motion "feels right", even if it's actually "wrong".

You basically misappropriate this spreadsheet:

https://docs.google.com/spreadsheets...gid=1008975224

(Thanks to whomever came up with it!)

Perhaps drawing two rectangles one inside the other may help...
Member
Posted in Uncategorized
Views 57 Comments 0 the dsc is offline
Old

RaspEX Build 160426, based on Ubuntu 16.04, with Kodi Media Center 16.0 and Fluxbox

Posted 04-26-2016 at 06:52 AM by exton (Exton's Blog)

NEWS 160426 ABOUT RaspEX for Raspberry Pi 3 and Pi 2
In RaspEX Build 160421, based on Ubuntu 16.04, I could not include Kodi (XBMC) Media Center (a free and open-source media player software application developed by the XBMC Foundation) without removing LXDE and many other programs. Now Iíve found a solution. I was able to install Kodi 16.0 alongside Fluxbox. A Desktop environment besides Kodi is needed so you can configure your wireless network and other stuff.

Study all installed packages in Build 160426...
ExTiX Admin
Views 92 Comments 0 exton is offline
Old

Is there any accurate way to rank distros?

Posted 04-24-2016 at 11:21 AM by XenaneX
Updated 04-26-2016 at 05:01 AM by XenaneX

Distrowatch has its "page hit rankings". The trouble with that is some distros have click happy legions who nullify any hint of accuracy.

I've tried to think of a better way but I'm not doing too well with it.

1-What if only the owner of a distro was allow to vote or rank distros? Ask them to rank the top ten distros and any more they wish to rank. I guess there would be a temptation to rank their own distro first but that may be ok. Peer ranking may get us...
Member
Posted in Uncategorized
Views 171 Comments 3 XenaneX is offline

  



All times are GMT -5. The time now is 03:45 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration