LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

User style/CSS to get rid of Google's "come here often" pop-up

Posted 01-12-2016 at 01:00 PM by the dsc (linux-related notes)

Seems to work for me on firefox/iceweasel:

Code:
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("google.com")
 .gb_ga, .gb_g { display: none !important; }
British users probably need to change the domain to "google.co.uk" and likewise for some other countries that aren't subdomains of google.com;]
Member
Posted in Uncategorized
Views 1354 Comments 0 the dsc is offline
Old

How to fix the Clock in Slackware

Posted 01-12-2016 at 08:14 AM by Ztcoracat

Many times I have tried fixing the clock in Slackware and for some reason timeconfig didn't work for me at all.

I found a way to fix the clock and it works everytime the clock is wrong.-

Open the terminal as root and run these commands one at a time.

Code:
# date -s "12:00:00"
Code:
ntpdate time.nist.gov
Finally to make the new set right time permanent also for the BIOS battery clock issue:
Code:
# hwclock
...
LQ Guru
Posted in Uncategorized
Views 2015 Comments 2 Ztcoracat is online now
Old

"dialog --file '&<file descriptor>' ..." and reset/restore stdin.

Posted 01-10-2016 at 10:10 PM by MadMaverick9 (MadMaverick9's Blog)
Updated 01-11-2016 at 10:39 PM by MadMaverick9

Code:
#!/bin/bash

STDINTTY=$(/usr/bin/readlink -n /dev/fd/0)

...

exec 3>&1
choice=$(/usr/bin/dialog --file '&4' <<__EOI__ 4<&0 0<${STDINTTY} 2>&1 1>&3
    --begin 6 10 --clear --backtitle "Main Menu" --title "MAIN MENU"
    --menu "Use [UP/DOWN] key to move" 32 96 25
    "alsamixer"         "soundcard mixer for ALSA soundcard driver, with ncurses
...
Member
Posted in Uncategorized
Views 1433 Comments 0 MadMaverick9 is offline
Old

Application-specific recent files pipe-menus for Openbox

Posted 01-10-2016 at 09:55 PM by the dsc (linux-related notes)
Updated 01-14-2016 at 02:32 AM by the dsc (improvement)

Here's an example for GIMP:

Code:
#!/bin/bash

printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?><openbox_pipe_menu>"

# Instead of just "gimp" in the next line, it could even be a series of
# related programs, if you juggle between different applications with 
# these files. Such as "gimp\|inkscape\|krita\|mypaint"

grep -B 10 gimp ~/.local/share/recently-used.xbel | \ 
grep
...
Member
Posted in Uncategorized
Views 1617 Comments 0 the dsc is offline
Old

Smokeping in OpenBSD httpd

Posted 01-09-2016 at 05:28 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 01-09-2016 at 05:39 PM by rocket357

OpenBSD maintained a fork of apache httpd 1.3 for some time, but as the fork started to show its age, they dropped it in favor of nginx. A year later, a home-grown secure web server, called simply "httpd" was birthed from the relayd codebase. I just started messing with httpd recently, and I managed to get smokeping running beautifully in it. After a bit, I decided to start gathering latency stats on ipv6, so I added most of that today. I'm pretty happy with the results.
...
Member
Posted in Uncategorized
Views 1838 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration