LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

rxvt-unicode - urxvt - utempter patch.

Posted 10-01-2015 at 03:46 AM by MadMaverick9 (MadMaverick9's Blog)

This patch removes all utmp/wtmp/lastlog related code from rxvt-unicode and replaces it with two calls to utempter_add_record and utempter_remove_record.

Why am I posting this here? Because neither Github.com nor Wordpress.com allow attaching patch/diff files to posts/comments. They only allow image files to be attached, which is very surprising esp. with regards to Github.com, which is supposed to be a website for programmers/developers.

Thank you very much Jeremy....
Attached Files
File Type: txt urxvt-utempter.patch.txt (41.2 KB, 0 views)
Member
Posted in Uncategorized
Views 1173 Comments 0 MadMaverick9 is offline
Old

Semi-auto-generated, nicely formatted, apropos-like list of your custom bash functions

Posted 10-01-2015 at 01:35 AM by the dsc (linux-related notes)

Code:
bold=$(tput bold)
normal=$(tput sgr0)

lsfunctions ()
{
tail -n+10 /path/to/custom-bash-functions | grep "()" | sort | sed 's|(.*#||'  | sed "s|^|${bold}|;s|\ |${normal}\ |"
}
↑ Change the number "10" to whichever line you want to start grepping the functions

"lsfunctions" would be like "apropos /usr/bin/*", or whatever really works, but restricted to your custom...
Member
Posted in Uncategorized
Views 1012 Comments 0 the dsc is offline
Old

How to configure NFS Server and Client Configuration on Ubuntu 15.04

Posted 09-29-2015 at 05:18 AM by sridhar11

NFS was developed at a time when we weren't able to share our drives like we are able to today -- in the Windows environment. It offers the ability to share the hard disk space of a big server with many smaller clients. Again, this is a client/server environment. While this seems like a standard service to offer, it was not always like this. In the past, clients and servers were unable to share their disk space.Thin clients have no hard drives and thus need a "virtual" hard-disk. The NFS...
Member
Posted in Uncategorized
Views 1011 Comments 0 sridhar11 is offline
Old

Collection of random small tricks

Posted 09-26-2015 at 09:40 PM by the dsc (linux-related notes)
Updated 04-30-2016 at 01:45 PM by the dsc (recycling)

☻☻☻ Pipeing youtube-dl output to a given player (and having it as a mini-script)

Code:
youtube-dl -f ${2:-5} $1 -q -o - | mpv -
The first parameter is the youtube url, for a single video, and the second, optional, the quality code, like "best", "worst", or a given number. The default there (5) is the 240p flv.

Just "mpv youtube-URL" was supposed to work, but isn't working right now for me. It says the youtube-dl version is old,...
Member
Posted in Uncategorized
Views 1591 Comments 4 the dsc is offline
Old

RaspAnd – Build 3 150924 – with Google Play Store

Posted 09-24-2015 at 02:49 PM by exton (Exton's Blog)
Updated 09-24-2015 at 03:42 PM by exton (More INFO)

NEWS about RaspAnd 150924 - I finally managed to include Google Play Store
I have compiled yet another Android 5.1 Lollipop system which can run on Raspberry Pi 2. I call “my” new system RaspAnd Build 3. My first version of RaspAnd is from 150405 and my second from 150527. The following useful apps are pre-installed in Build 3 of 150924: Google Play Store, Aptoide App Manager (as an alternative to Google Play Store), Terminal Emulator, AIDA64, Geekbench, WinZip, FileManager, Rotation Control...
ExTiX Admin
Views 1580 Comments 0 exton is offline

  



All times are GMT -5. The time now is 08:03 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