can anyone help me with this mutual fund. because of the formatting i do not get any info.
http://www.google.com/finance?q=MUTF:FAMRX
thanks in advance
http://www.google.com/finance?q=MUTF:FAMRX
thanks in advance
Does anyone know how I can make my dock look like this?
I am totally new to GeekTool
First, please use timg tags instead of just plain img tags.
Now for Geektool.
It looks like the person has used a program to move the dock pinning to the lower left of the screen. I think something like SuperDocker does this but I am not 100% sure, just look around.
The black behind the dock is most likely an image through Geektool and the dock icons are just custom icons, nothing more.
All the Geektool stuff on the right looks to be simple code that can be found in these pages.
The tabs on the right of the screen is DragThing (someone correct me if I'm wrong).
Sorry about the huge image
Would I use the picture or file option?
In picture, how do I structure the URL to a local image?
Can anyone tell me ow to add color to just specific parts of system stats?
![]()
Easy way, separate shells. Hard way, it's beyond me.
Can you separate the word CPU and the percentage into two different shells?
can anyone help me with this mutual fund. because of the formatting i do not get any info.
http://www.google.com/finance?q=MUTF:FAMRX
thanks in advance
curl --silent http://www.google.com/finance?q=USDINR | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -8 | tail -n 5 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /';
curl --silent http://www.google.com/finance?q=GBPINR | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -8 | tail -n 5 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /';
curl --silent http://www.google.com/finance?q=EURINR | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -8 | tail -n 5 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /';
curl --silent "http://static.cricinfo.com/rss/livescores.xml" | grep -e "title" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba'
So if there's anyone who can help me so pls?
Can you separate the word CPU and the percentage into two different shells?
echo "CPU:"
top -l 1 | awk '/CPU usage/ {print "", $3}'
/usr/local/bin/icalBuddy -sd -n -nrd -nc -tf "%I:%M %p" -df "%e %a" -eep "url,location,notes" -f eventsToday+2 | sed -e "s///" | sed -e "s/PM/pm/" | sed -e "s/PM/pm/" | sed -e "s/AM/am/" | sed -e "s/AM/am/"
Hello all,
Thanks for all your wicked scripts in this thread.
I just wanted to share my scripts. I've added some exchange rates to my desktop using Geektool 3. Might help someone out there.
These are for Indian Rupees, but you can easily change it to the currency you need.
HTML:curl --silent http://www.google.com/finance?q=USDINR | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -8 | tail -n 5 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /'; curl --silent http://www.google.com/finance?q=GBPINR | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -8 | tail -n 5 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /'; curl --silent http://www.google.com/finance?q=EURINR | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -8 | tail -n 5 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /';
@pitt1717 - replace USDINR in the code to MUTF:FAMRX, that should do the trick.
Thank you so much! just 1 problem is too much info is being given. i just need the price and %change
curl --silent http://www.google.com/finance?q=MUTF:FAMRX | grep "span" | sed -e :a -e 's/<[^>]*>//g;//ba' | head -5 | tail -2 | sed '/^$/d' | sed -e '$!N;s/\n/ /' -e '$!N;s/\n/ /' | sed 's/^/FAMRX: /g';
Finally decided to take the time to install and learn iCalBuddy. Pretty nifty what it can do.
Here's the code I'm using. Not showing the additional 30 sed items for changing the full MLB team names to their abbreviations.
Code:/usr/local/bin/icalBuddy -sd -n -nrd -nc -tf "%I:%M %p" -df "%e %a" -eep "url,location,notes" -f eventsToday+2 | sed -e "s/•//" | sed -e "s/PM/pm/" | sed -e "s/PM/pm/" | sed -e "s/AM/am/" | sed -e "s/AM/am/"
I'll also include the .scpt and .glet I use for the lyrics. All you need to do is change the file path in the .glet once opened to where you place the .scpt file.
sed -e "s/•//" | sed -e "s/PM/pm/"
sed -e "s/•//" -e "s/PM/pm/"
Just FYI, when you have multiple sed expressions, instead of piping the output of one to another, for example:
Code:sed -e "s///" | sed -e "s/PM/pm/"
you can can just do this:
snipCode:sed -e "s///" -e "s/PM/pm/"
Given that the OP in that thread is a few posts down from yours I think they may have already discovered it for themselves.Would some of you Geektool gurus visit this thread: Geektool Scripting Methodology?
Given that the OP in that thread is a few posts down from yours I think they may have already discovered it for themselves.
I left all my Shell books at school and none of the classes I'm taking this term call for them, but if I find something really cool that can be applied to GeekTool I will be sure to post it in the thread.Excellent!
Just the kind of information I was looking for
Thank you muchly