What about pushing the image to github, and a static github url (eg.
nobrownout.github.io) ?

Just an idea though.

On Mon, Apr 6, 2015 at 12:53 PM, Roberto Verzola <rverz...@gn.apc.org>
wrote:

> It was Mr. fooler who did the bash script very quickly hehe. But I'm
> not really a bash-ful person so I took the ideas and did it in python.
> That took longer.
>
> There problem is I only have regular Internet access, dynamic
> addressing etc.
>
> I do have a Wordpress blog and there's an FB page for the campaign
> Switch Off #NoBrownout. You have to tell me what to do next. I have
> a .png file sitting on my harddisk. How do I get it to your server? A
> long time ago, I did a python program using http POST. I've forgotten
> how, but I could learn it again, if that's what it would take.
>
> Obet
>
> On Mon, 06 Apr 2015 04:17:44 +0000
> Danny Ching <dlcco...@gmail.com> wrote:
>
> > Wow. You guys are fast!
> >
> > I can wget the file every hour. What do you think? Can you send me a
> > fixed link?
> > On Mon, Apr 6, 2015 at 12:00 PM Roberto Verzola <rverz...@gn.apc.org>
> > wrote:
> >
> > > I can now generate a .png file once every hour. Danny, how do I go
> > > about sending it to your server?
> > >
> > > I'd like to take this opportunity to thank all who have extended
> > > their support and encouragement, including code suggestions.
> > >
> > > Special thanks to Mr. fooler, to took the trouble to write a bash
> > > script, which worked ok. (Send me private mail if you want to know
> > > the details.) I used some ideas from the script, but I had to add
> > > lots of other code. Since I am much more comfortable with python,
> > > that's what I eventually used.
> > >
> > > I also had to make a choice between gnuplot and matplotlib. Mr.
> > > fooler's gnuplot script worked nicely and gave me ideas. But when I
> > > needed to make changes, I was getting all kinds of problems. (This
> > > is my first try to use plotting software in this fashion.) So I also
> > > tried matplotlib. I was initially stuck with problems in both, but I
> > > finally made a breakthrough in matplotlib, so that's what I ended up
> > > using. This was probably more about problems with me than with the
> > > programs themselves. I would have preferred gnuplot because it is
> > > faster and smaller. Maybe, if I were not so pressed for time, I
> > > could go back and make things work in gnuplot too.
> > >
> > > So in the end, I used wget and matplotlib with python tying
> > > everything together.
> > >
> > > I'm still trying to work out how to use python to upload a .png file
> > > and accompanying caption to an fb page. Any suggestions would be
> > > welcome.
> > >
> > > If you want to see the graph, please check the Switch Off
> > > #NoBrownout page on FB.
> > >
> > > By the way, my piece about the whole campaign was published
> > > yesterday, Easter Sunday, at the Talk of the Town Section of the
> > > Phil Daily Inquirer (Apr. 5, 2015). (Google Brownout-Free Summer
> > > via Bayanihan)
> > >
> > > Greetings to all,
> > >
> > > Obet
> > > _________________________________________________
> > > Philippine Linux Users' Group (PLUG) Mailing List
> > > http://lists.linux.org.ph/mailman/listinfo/plug
> > > Searchable Archives: http://archives.free.net.ph
> > >
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
-- Romar Micabalo (aka 'hardwyrd')
SysAdmin / Consultant / Linux & FOSS Evangelist
http://www.about.me/rmr.micabalo
-------------------------------------------------------------
"Penguin, penguin, and more penguin !"
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to