Commandlinefu

Snap

Just found this by chance. Really interesting tricks there.

http://www.commandlinefu.com/commands/browse

jedi

Forum Netiquette

"No matter how smart you are you can never convince someone stupid that they are stupid."  Anonymous

Snap

Bookmarked. Thanks, jedi.

zephyr

Came across Commandlinefu accidentally as well, but with a conky that I found. It generates a random commandline script and I did consider it a waste of resources.  But, post it anyway if anyone would like to see it. Seems to require to have Lynx installed. Thanks -zephyr# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 12
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
##############################################
#  Output
##############################################
TEXT
S Y S T E M    I N F O
${hr}
Host:$alignr$nodename
${font OpenLogos:size=16}J${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}   CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
${font StyleBats:size=16}A${font}   CPU: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60}

S O F T W A R E    C O R E
${hr}
${color slate grey}Apache: ${color}${exec /usr/sbin/apache2 -v}

${color slate grey}MySQL: ${color }${exec mysql --version}

${color slate grey}Php:   ${color }${exec php5 --version}

${color slate grey}Version:  ${color}${pre_exec lsb_release -d | cut -f 2}

${alignc 42}${font Arial Black:size=16}broletto.org${font}
#${alignc}${font Arial Black:size:24}${time %H:%M}${font}${alignc}${Time %A %m %d %Y}

T I P S
${hr}
${execi 30 lynx --dump http://www.commandlinefu.com/commands/random/plaintext | grep .}

N E T W O R K
${hr}
#${color sienna}Network${hr 2}
$color${font Open Sans:bold:size=10}External IP ${font}${alignr}${execi 3600 wget -O - http://ip.tupeux.com | tail}$font
SSID: $alignr ${wireless_essid wlp8s0}
${font Open Sans:bold:size=8.5}IP $font$alignr ${addr wlp8s0}
down $alignr ${downspeedf wlp8s0} kb/s
up $alignr ${upspeedf wlp8s0} kb/s
down total ${totaldown wlp8s0} $alignr up total ${totalup eth0}

Connection Quality: $alignr ${wireless_link_qual_perc wlp8s0}%
CROWZ / STAR / Devuan / refracta / VSIDO

Snap

Thanks for this line, zephyr

${execi 30 lynx --dump http://www.commandlinefu.com/commands/random/plaintext | grep .}

Are you an open sans user too? My to go font in most of my systems. A great one for clarity and readability = confort.  8)

zephyr

@Snap: You are welcome for the script line, thought about posting just that one line, but decided to post it all. It maybe of use to someone.

Actually use the sans font for everything, easy to look at and does have a more uniform look. But, I need to take a look at the open sans see what the difference is. Imagine they are part of the sans serif category. Thanks-zephyr
CROWZ / STAR / Devuan / refracta / VSIDO

zephyr

@Snap: I did find the open sans font, a bit different than the sans true type. I found the package for a lot of fonts from the Deb package site, and did decide to download and install
QuoteAre you an open sans user too? My to go font in most of my systems. A great one for clarity and readability = confort.  8)
I concur, the open sans do render quite well and easy on the eye. For anyone else interested the link is below.

https://packages.debian.org/sid/texlive-fonts-extra

The font is also available with synaptic.  Listed as Texlive-fonts-extra. Thanks again-zephyr
CROWZ / STAR / Devuan / refracta / VSIDO

PackRat

I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

Snap

#8
QuoteI did find the open sans font, a bit different than the sans true type.

So it's that. I noticed something weird with that font sometimes. Very scarcely, it renders strange. So it must be that difference. But this hardly ever happens. I'm all fine with it.

Didn't knew it's part of the Textlive-fonts-extra package. I always install it alone. But good to know it's there. Thanks.