is there a way to change the day so that it only shows 3 letters. for example 'Wed' instead of 'Wednesday'?
Anyone know of a script?
yep
Code:
date +%a
is there a way to change the day so that it only shows 3 letters. for example 'Wed' instead of 'Wednesday'?
Anyone know of a script?
date +%a
I had no luck in finding the suitable script for chennai (India) local time.
it's GMT +5:30 hours
any one plz help
I tried in may ways like
TZ=England/GMT+5.5 date +"London: %I:%M %p - %D",
but none of them worked out.![]()
TZ=IST/UTC-5:30 date +"Chennai: %I:%M %p %a"
This should work for you
I've checked it against www.timeanddate.com's current time for Chennai and it gives the correct readout. Note: despite Chennai being UTC+5:30, the script only gives the correct time when UTC-5:30 is given. (UTC+5:30 gives a completely wrong time). Why this is I don't know, but the script seemed to work fine (i checked it against two independent sites for current time in Chennai and the read-out was correct for both)Code:TZ=IST/UTC-5:30 date +"Chennai: %I:%M %p %a"
Hope this helps
/usr/local/bin/icalBuddy -nc eventsToday | sed -e "s/*/--/" | sed -e "s/!/!!/"
hey
can anyone help me out, geektools noob alert
i used the
date +"%I:%M"
etc.. codes for time, day, date, month and am/pm
but its not the right time, day, date or am/pm for me. i need it for Melbourne, Australia. can anyone help me out ?
thanks
..Ryan..
EDIT: i worked out the time, but not am/pm, day, or date.
I dunno why it wouldn't work - is your computer set to the right time? (Check time on menubar etc). If not, try this
TZ=AEST/UTC-10 date +"%I:%M%p, %A,%e %B, %Y"
This gives time, day, date, year. This gives the coorect time for melbourne (as i live here)
hope this helps. If you want something a bit more specific/detailed, just let me know.
I'm a complete noob when it comes to this stuff, and I am looking to learn a bit about it. Can someone recommend to me a book that would help me start to make the type of code that I could put to use using geektool. I don't know if there is some kind of "Coding for Dummies" book out there...
Thanks.
Another noob here, I skimmed through all the pages here and I might have missed this answer, but how do you get rid of the box?
you just quit system preferences, and the box will/should go away mate
![]()
Nope the box stays there, could it be because of the background color?
oh yeah, if you have the background color set to anything other than transparent i assume it will stay there. So perhaps try setting the background color to transparent, assuming you haven't already
Call me a complete buffoon, but how does one make an image display on the desktop from Geektool? I've fiddled with it no end, and checked through the posts here a bit but can't figure it out.. For some reason I'm not getting the pathname correct.![]()
Call me a complete buffoon, but how does one make an image display on the desktop from Geektool? I've fiddled with it no end, and checked through the posts here a bit but can't figure it out.. For some reason I'm not getting the pathname correct.![]()
drag the file into terminal, copy the resulting path and then paste that into the geektool picture textbox preceded by "file://"
eg: file:///Users/zzzzzz/Dropbox/Random/icons/general/mstrkrft.png
does anybody have a working download link to get lynx? the apple download one wont work.