Sponsored Content
Full Discussion: Bangkok Goes Dark!
The Lounge What is on Your Mind? Bangkok Goes Dark! Post 302456840 by Neo on Sunday 26th of September 2010 09:52:09 AM
Old 09-26-2010
Bangkok Goes Dark!

Thunderstorm knocks out power over the entire metro area!

Image


Posted from my Samsung Galaxy S mobile.

---------- Post updated at 13:52 ---------- Previous update was at 13:38 ----------

Huge storm knocks out most power!
 

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

screen remains dark when box is on

I am somewhat new to UNIX. I inherited a sun ULTRA 5 box from my cousin. When I turn it on it seems to be working alright but I can't get a picture on the screen. The sound output from the CD player is working. The machine seems to be working but the only thing missing is the picture. When I... (4 Replies)
Discussion started by: ted
4 Replies

2. News, Links, Events and Announcements

Bangkok Post Article: The story behind the Linux operating system

http://www.bangkokpost.com/020403_Database/02Apr2003_datacol59.html (0 Replies)
Discussion started by: Neo
0 Replies

3. News, Links, Events and Announcements

Richard Stallman in Bangkok.

Richard M Stallman (RMS) will be giving the speech "Why School Should Use Open Source Software" at KIS International School, Huay-kwang Bangkok on 30th October 2009 at 19.30 Anybody who would like to come and hear his speech should go to FLossEd BK | Free & Open Source Solutions for... (0 Replies)
Discussion started by: Raattapoom
0 Replies
Jifty::Manual::TutorialRest(3pm)			User Contributed Perl Documentation			  Jifty::Manual::TutorialRest(3pm)

NAME
Jifty::Manual::TutorialRest - Web Services DESCRIPTION
This builds on Jifty::Manual::Tutorial, so make sure you have a running jifty that roughly resembles the step-by-step from there. SETUP
You must add this to your site_config.yml framework: Plugins: - REST: {} See Jifty::Plugin::REST. The commands assume that you have LWP installed with the GET alias. If not, you'll need to use the longhand lwp-request -m GET, or curl, or your browser. help Make sure it is working: $ GET http://localhost:8888/=/help Accessing resources: ... You should see some text describing the services, not html (that's longhand for 404.) Check the config and restart the server. GET
Just list the models. $ GET http://localhost:8888/=/model.yml --- - MyWeblog.Model.Post List the Post schema. $ GET http://localhost:8888/=/model/Post.yml --- body: label: Content name: body readable: 1 sort_order: 1 type: text writable: 1 id: mandatory: 1 name: id readable: 1 type: serial writable: 0 title: default: Untitled post label: Title name: title readable: 1 sort_order: 0 type: text writable: 1 You did make some posts, right? $ GET http://localhost:8888/=/model/Post/id.yml --- - 1 - 2 Dump the data: $ GET http://localhost:8888/=/model/Post/id/1.yml --- body: 'This is my post, the content of which is this, which is mine.' id: 1 title: my first post $ GET http://localhost:8888/=/model/Post/id/2.yml --- body: "Content of another post. Got to go, the cat's on fire." id: 2 title: post deux POST
TODO not working Actually, it looks like it is not supposed to work this way. Why not? $ echo '--- body: "A post via web services" id: 3 title: "posting from the command-line" ' | lwp-request -m POST http://localhost:8888/=/model/Post.yml POST http://localhost:8888/=/model/Post/id/3.yml --> 404 Not Found PUT
TODO not working $ echo '--- title: "posting from the cli" ' | lwp-request -m PUT http://localhost:8888/=/model/Post/3.yml 500 Can't read entity body: Connection reset by peer DELETE
$ lwp-request -m DELETE http://localhost:8888/=/model/Post/id/3.yml --- content: {} error: ~ field_errors: {} field_warnings: {} message: Deleted success: 1 perl v5.14.2 2010-09-25 Jifty::Manual::TutorialRest(3pm)
All times are GMT -4. The time now is 01:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy