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



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

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

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...
Posted in Uncategorized
Views 87 Comments 0 the dsc is offline

How to configure NFS Server and Client Configuration on Ubuntu 15.04

Posted 09-29-2015 at 04: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...
Posted in Uncategorized
Views 88 Comments 0 sridhar11 is offline

Collection of random small tricks

Posted 09-26-2015 at 08:40 PM by the dsc (linux-related notes)
Updated 10-03-2015 at 07:53 PM by the dsc (recycling)

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

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...
Posted in Uncategorized
Views 253 Comments 4 the dsc is offline

RaspAnd – Build 3 150924 – with Google Play Store

Posted 09-24-2015 at 01:49 PM by exton (Exton's Blog)
Updated 09-24-2015 at 02: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 110 Comments 0 exton is offline

Killed my xserver - here is a quick fix

Posted 09-21-2015 at 08:23 AM by WestCoastSunset

Delete your xorg.conf and reboot.

Actually, I just logged in as root and moved it to my home folder. I wanted to compare the new configuration file, which gets autogenerated, to the mangled config, which got that way when I tried to get Jedi Outcast running.

I did have to reset the resolution as it was on 640 x 480 (This is the default resolution for Jedi I think)

This is something in which there is no windows equivalent. Which for some nerdy...
LQ Newbie
Posted in Uncategorized
Views 199 Comments 1 WestCoastSunset is offline


All times are GMT -5. The time now is 11:05 AM.

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