Ack! I can't get either the Facebook Feed to work or any of my bash scripts to run. Can somebody please run through them for me? I tried and made sure that all of my directories were correct but they still don't work...
Hi,
some more information would be good: are you getting an error? are you getting nothing at all? can you post a screenshot?
Anyway my initial guess is that your scripts are not executable.
Run:
chmod u+x <path to script file>
in Terminal and see if it works..
Good luck
bash /User/davidaaronmusic/Geek Tool/tomorrow.bash
Thanks for the reply. I can do my tomorrow.scpt that shows only my calendar from tomorrow and it works fine when I bash it in Terminal.
![]()
But I can't get it to output on GeekTool
My command isCode:bash /User/davidaaronmusic/Geek Tool/tomorrow.bash
Any ideas?
Remove the space in 'Geek Tool'...or try to make it 'Geek\ Tool'
Anyway, ALWAYS test the same command!!
IF you use
bash /User/davidaaronmusic/Geek Tool/tomorrow.bash
then put exactly that in Terminal in order to test!
Nice and simple.
Why do you separate your contacts in guys and girls? Have there been... confusing incidents...?
Why do you separate your contacts in guys and girls? Have there been... confusing incidents...?
ROFL
no.
*snip*
What font are you using?
I just want to know what the 'people' who are in Other are...
Few changes:
Current and Next month in top right. Using a blank icon with no name to make sure no new icons cover them.
iTunes: Song/Artist/Lyrics
Forecast
Active, Wired, Inactive, and Free memory
Total CPU load
Volume
Time
Date
Two white ticks - currently using a second monitor that has a smaller resolution, so the ticks let me know where I can move from right to left
Need to find some new icons. Went back to default in the mean time.
nice idea with the tick marks.
i may add the ram script in there so i can free up some space on the toolbar as well.
how did you get the low and high's for weather on there?
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=[COLOR="Red"]60181[/COLOR]&u=f" | grep -e "Forecast:" -A 2 | tail -n 2 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/\(.*\)\.\ \(.*\)/\1\?\2/" | tr "?" "\n" | sed "s/High\:\ \(.*\)\ Low\:\ \(.*\)/\?H\: \1\ L\:\ \2/" | sed "s/\?\(.*\)/\\1/"
Hey I need some help. I had a quote running across the top of my desktop with the author underneath. It was working great for about a week and has since stopped working. This is the code I have:
Quote:
curl http://encarta.msn.com/encnet/feeds/rssfeed.aspx?type=quote | grep description | sed 's/^[ \t]*//' | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | cut -d - -f 1
Author:
curl http://encarta.msn.com/encnet/feeds/rssfeed.aspx?type=quote | grep description | sed 's/^[ \t]*//' | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed 's/.*\(-\)/-/'
Any ideas?
Edit: Nevermind, the link doesn't work anymore. FAIL.
Anyone have any code to get a "quote of the day"?
#!/bin/sh
url="http://feeds.feedburner.com/quotationspage/qotd"
if [ $# -eq 1 ] ; then
headarg=$(( $1 * 2 )) # $(( )) specifies that you're using an equation
else
headarg="-8" # default is four headlines
fi
curl --silent "$url" | grep -E '(<description>)' | \
sed '/^$/d' |\
sed -n '2,$p' |\
sed -e 's/<description>//' \
-e 's/[^][^]*logo<\/description>//' \
-e 's/<a href=[^][^]*description>//' |\
head $headarg | fmt -w 115
curl --silent "$url" | grep -E '(title>|<description)' | \
sed -n '4,$p' |\
sed -e 's/<title>/-/' \
-e 's/<description[^][^]*description>//' \
-e 's/<\/title>//' |\
head $headarg | fmt
My desktop for now...