02-19-2020
Believe answer to one of your questions is wrong re definition of <MOVED TO ADMIN AREA>
Moderator's Comments:
|
|
Neo: I have copied this post to the admin forum so we do not start posting answers to questions in public forums, which will take the fun out of playing computer trivia. Iwill check the DB and get back to you, Mike Baran. In the future, the most important thing when anyone suspects an issue with a true /false statement is to record the trivia number. There are currently over 1000 questions and so we need the number to save time checking the DB. As always,, thanks! I will post back here the results of my research into this (done, see post #3 below).
|
|
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am using the below script and trying to move files in that directory in that pattern to archive. But it doesn;t seem to take the metacharacters. Please sugggest.
Code
Debug output: (1 Reply)
Discussion started by: dsravan
1 Replies
2. UNIX for Dummies Questions & Answers
6.nohup cmn is used to
Prot execn of pgm frm aborting when hangup s/g is rxd
Not hangup modem
Disconn a node frm s/m
Chng execn prev of pgm
.wat is the o/p? Cut -d”” -f3 file1/sort -r
Display 3rd col of file 1 in asc order
Disp 3rd col of file 1 in desc
Not ... (1 Reply)
Discussion started by: techguru
1 Replies
3. Shell Programming and Scripting
I need to write a script to telnet or ssh a device the execute some commands in device then copy the output in a file, I wrote the script but I faced one issue, when you execute some commands the device asked me a Question, for example :
device # copy run tftp
device # Source filename ?
... (3 Replies)
Discussion started by: DarkSoul
3 Replies
4. Solaris
As i'm going to attend my first interview day after tomorrow,
What should i need to answer if the interviewer asked me about
1. Tell me about your production environment.
2. What about your team size?
3. Tell me about the most critical situation/issue you have ever faced.
Can any... (10 Replies)
Discussion started by: Sesha
10 Replies
5. UNIX for Dummies Questions & Answers
I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions.
Appreciate your time thank you, :)
If you look at the permissions associated with a symbolic link, it has universal access. Does this lead to security... (0 Replies)
Discussion started by: linux17
0 Replies
6. UNIX for Dummies Questions & Answers
I am very new to LINUX and could not find answer to these questions please submit your comments and suggestions to answer these questions.
Appreciate your time thank you, :)
1. Make sure there is no filename1.txt in current directory first. Now, enter vi with "vi filename1.txt" command. vi... (4 Replies)
Discussion started by: linux17
4 Replies
7. Solaris
Hello :) !
i've few doubts.
1) how can we find the newly attached disk in SOLARIS ?
2) how to change port number of a service ?
3) how can we find that autofs is running in our system without using
svcs and prstat commands ?
4) we know that there are several types of dns servers in... (0 Replies)
Discussion started by: vamshigvk475
0 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)