12-20-2005
how to post a question
I want to post a question about unix. How can I create a question? I can't see a button to "create a new thread", apart from the one I just clicked to write this one
"Post Here to Contact Site Administrators and Moderators"
thank you
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello guys!
Your board is very cool (professional and very great-looking!)
I have some experience with unix but there is something im wondering since this morning when working on a box here...
Here is the cut&paste from the terminal..,
ttstest01:~$ cd /
ttstest01:/$ pwd
/
... (2 Replies)
Discussion started by: MrOrange
2 Replies
2. Post Here to Contact Site Administrators and Moderators
I am new to this forum, and would like to post a question to the group. How do I add a post? (3 Replies)
Discussion started by: sysmma
3 Replies
3. Shell Programming and Scripting
This is shell programming assignment.
It needs to create a file called .std_dbrc contains
STD_DBROOT=${HOME}/class/2031/Assgn3/STD_DB
(which includes all my simple database files)
and I am gonna use this .std_dbrc in my script file (read the data from the database files)
like this: .... (3 Replies)
Discussion started by: ccwq
3 Replies
4. Post Here to Contact Site Administrators and Moderators
Please let me know how to post a new tread on tru64 Unix.
BR,
patabandi (1 Reply)
Discussion started by: patabandi
1 Replies
5. BSD
Hello there,
Over the past few days I have installed FreeBSD 7.1 (which i'm new at)
to an external Hard Drive.
When installing, I chose to partition the disk Automatically and now I'm trying to use the label editor (post-installation configuration) to name the mount points:
/
/usr... (2 Replies)
Discussion started by: septima.pars
2 Replies
6. Programming
Ok so I'm new on here and new to php scripting.. I'm taking over a script that was managed by someone else and I'm trying to figure out how I can add code that looks for two conditions that would be an exception to the code below..
$colred = 0;
if(stristr($result, "containsthis")) { $colred =... (2 Replies)
Discussion started by: gmcpheden
2 Replies
7. Forum Support Area for Unregistered Users & Account Problems
hi
when ever i am trying to post any new thread i am getting the following error.
anshaa, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone... (1 Reply)
Discussion started by: anshaa
1 Replies
8. Post Here to Contact Site Administrators and Moderators
Hi I am new here, i want to post a question.
Please let me know how to post. (1 Reply)
Discussion started by: Arun Shukla
1 Replies
LEARN ABOUT DEBIAN
jifty::manual::tutorialrest
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)