LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Bash/command line - minor variable "editing" without sed

Posted 07-14-2014 at 12:38 AM by the dsc (linux-related notes)
Updated 07-14-2014 at 03:02 PM by the dsc

Code:
$ a=lilolal ; echo ${a/lal/uuu}
lilouuu
To move files "copied" on clipboard (Konqueror/perhaps dolphin) to the place you're on a terminal, without navigating/browsing the folders on the file manager, one can use:

xsel -b | while read f ; do mv -i "${f#*file://}" ./ ; done

As "copied" files on Konqueror are registered on the clipboard as a list with "file://" preceding the path. Perhaps could be aliased...
Member
Posted in Uncategorized
Views 989 Comments 0 the dsc is offline
Old

Pyplate now uses WSGI instead of CGI

Posted 07-10-2014 at 01:09 AM by Pyplate

I've updated Pyplate again. This time the UI hasn't changed much, but I've done a lot of work under the hood. I've added a bunch of fixes which should make Pyplate much more secure.

I've also switched moved away from CGI amd updated Pyplate to use WSGI. This has made a huge difference to the page load time of dynamic pages. Performance with static pages hasn't really changed.

There's now a simple web server supplied with Pyplate. It's a little slower than Nginx...
LQ Newbie
Posted in Uncategorized
Views 1124 Comments 0 Pyplate is offline
Old

Interesting "ask ubuntu" message related to swappiness tweaks

Posted 07-09-2014 at 09:06 PM by the dsc (linux-related notes)

http://askubuntu.com/questions/18421.../184221#184221

Quote:

Why most people recommend to reduce swappiness to 10-20?
Because most believe that swapping = bad and that if you don't reduce swappiness, the system will swap when it really doesn't need to. Neither of those are really true. People associate swapping with times where their system is getting bogged down - however, it's mostly swapping because the system
...
Member
Posted in Uncategorized
Views 1340 Comments 0 the dsc is offline
Old

Runit or s6...

Posted 07-08-2014 at 11:33 PM by ReaperX7

To date, I've been working with Runit to introduce a new type of init system to GNU/Linux. In retrospect Runit has worked wonderfully minus some tedious bugs with partition dismounts.

Runit has worked wonderfully as an init and I can only hope that it keeps getting better than better. It's stable and is very unintrusive.

All it needs are a mountain of service scripts to fuel it and with a symlink to the proper directory, off it goes.

I couldn't have asked...
LQ Guru
Posted in Uncategorized
Views 2823 Comments 0 ReaperX7 is offline
Old

[rant] Linux seriously needs some efforts in theming standards/unification

Posted 07-08-2014 at 01:00 AM by the dsc (linux-related notes)
Tags rant

KDE, QT, GTK, TK, all in several versions and with changing variables and whatnot at every version, and even within a single version.

One would think that QT and KDE are more or less the same, but turns out that, at least from outside KDE, one can't fully define the theme settings (or UI font specifically) from KDE's "appearance" settings. Even for apps that aren't "standalone QT", but KDE! Like fonts on konqueror, and probably dolphin too. KDE has a longstanding...
Member
Posted in Uncategorized
Views 703 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 02:49 PM.

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
Open Source Consulting | Domain Registration