Oleg Kourapov in Moskva is doing 28 things including…

practice usability

1 cheer

 

Sponsored Links

SF User Experience

www.echouser.com/     UI Design, Usability, User Research Create better experiences!

Usability Test

www.usabilitysciences.com/     All Usability Testing is not Equal Test with the Best in the Business!

Usability Specialists

www.firstinsights.com/     Trusted by Fortune1000 to deliver actionable usability testing & ROI.

Free Usability Toolkit

www.classicsys.com/     Guidelines, Templates and Training Design More Usable Software

Concept & Usability Test

www.crmmetrix.com/usability     Test your website before launching. Set up for marketing success.

Usability Design Services

www.experientinteractive.com/     Full service design and usability firm that delivers results.

Oleg Kourapov has written 1 entry about this goal

~, sweet ~
Have you ever got lost in console? Do you often find yourself logging in to several hosts with uninformative default prompts like this:
user@local:~ $
PS1="[\u@\$(hostname -s):\w (\$(/usr/bin/lsbytesum))]$ "
#!/bin/bash
# lsbytesum - sum the number of bytes in a directory listing
let TotalBytes=0for Bytes in $(ls -l | grep "^-" | awk '{ print $5 }')
do
let TotalBytes=$TotalBytes+$Bytes
done# The if...fi's give a more specific output in byte, kilobyte, megabyte,
# and gigabyteif [ $TotalBytes -lt 1024 ]; then
TotalSize=$(echo -e "scale=3 \n$TotalBytes \nquit" | bc)
suffix="b"
else if [ $TotalBytes -lt 1048576 ]; then
TotalSize=$(echo -e "scale=1 \n$TotalBytes/1024 \nquit" | bc)
suffix="kb"
else if [ $TotalBytes -lt 1073741824 ]; then
TotalSize=$(echo -e "scale=1 \n$TotalBytes/1048576 \nquit" | bc)
suffix="Mb"
else
TotalSize=$(echo -e "scale=1 \n$TotalBytes/1073741824 \nquit" | bc)
suffix="Gb"
fi
fi
fi
echo -n $TotalSize $suffix


Oleg Kourapov has gotten 1 cheer on this goal.

 

I want to:
43 Things Login