Info
Welcome to the generated API reference. Get Postman Collection
Admin Functionalities
APIs for managing admin side
Get all the statistics for the admin
Example request:
curl -X GET -G "http://localhost/admin_report"
const url = new URL("http://localhost/admin_report");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET admin_report
Show Posts page for admin
Example request:
curl -X GET -G "http://localhost/admin_post"
const url = new URL("http://localhost/admin_post");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET admin_post
Create a post
Example request:
curl -X POST "http://localhost/createPost"
const url = new URL("http://localhost/createPost");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST createPost
Remove posts
Example request:
curl -X GET -G "http://localhost/removePost/1"
const url = new URL("http://localhost/removePost/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (302):
null
HTTP Request
GET removePost/{id}
Appointment Management
APIs for managing appointment logics
Create and store an appointment.
Example request:
curl -X POST "http://localhost/appointments" \
-H "Content-Type: application/json" \
-d '{"dr_id":4}'
const url = new URL("http://localhost/appointments");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"dr_id": 4
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST appointments
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| dr_id | integer | optional | the ID of the appointed doctor |
Create and store an appointment.
Example request:
curl -X POST "http://localhost/storeApp/1" \
-H "Content-Type: application/json" \
-d '{"dr_id":18}'
const url = new URL("http://localhost/storeApp/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"dr_id": 18
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST storeApp/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| dr_id | integer | optional | the ID of the appointed doctor |
Confirm an appointment.
Example request:
curl -X POST "http://localhost/confirm/1"
const url = new URL("http://localhost/confirm/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST confirm/{id}
Reschedule an appointment from doctor side
Example request:
curl -X POST "http://localhost/reschedule/1" \
-H "Content-Type: application/json" \
-d '{"app_id":5}'
const url = new URL("http://localhost/reschedule/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"app_id": 5
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST reschedule/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| app_id | integer | optional | the ID of the appointment to be rescheduled |
Cancel an Appointment from Patient
Example request:
curl -X POST "http://localhost/cancelFromPat/1" \
-H "Content-Type: application/json" \
-d '{"app_id":17}'
const url = new URL("http://localhost/cancelFromPat/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"app_id": 17
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST cancelFromPat/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| app_id | integer | optional | the ID of the appointment to be cancelled |
Show Patient Appointments
Example request:
curl -X GET -G "http://localhost/show_pat_appointments"
const url = new URL("http://localhost/show_pat_appointments");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET show_pat_appointments
Show Patient Prescriptions
Example request:
curl -X GET -G "http://localhost/show_pat_prescriptions"
const url = new URL("http://localhost/show_pat_prescriptions");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET show_pat_prescriptions
Show Doctor Appointments
Example request:
curl -X GET -G "http://localhost/show_doc_appointments"
const url = new URL("http://localhost/show_doc_appointments");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET show_doc_appointments
Show Doctor Prescriptions
Example request:
curl -X GET -G "http://localhost/show_doc_prescriptions"
const url = new URL("http://localhost/show_doc_prescriptions");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET show_doc_prescriptions
Disease Management
APIs for managing diseases
pickdisease
Example request:
curl -X GET -G "http://localhost/pickdisease"
const url = new URL("http://localhost/pickdisease");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
[
{
"name": "Rhinitis"
},
{
"name": "Sinusitis"
}
]
HTTP Request
GET pickdisease
Doctor Functionalities
APIs for managing doctor related methods
Display a list of doctors
Example request:
curl -X GET -G "http://localhost/doctors"
const url = new URL("http://localhost/doctors");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET doctors
doctors/{doctor}/edit
Example request:
curl -X GET -G "http://localhost/doctors/1/edit"
const url = new URL("http://localhost/doctors/1/edit");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET doctors/{doctor}/edit
Update doctor profile
Example request:
curl -X PUT "http://localhost/doctors/1"
const url = new URL("http://localhost/doctors/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "PUT",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
PUT doctors/{doctor}
PATCH doctors/{doctor}
Show sorted doctor list to patient
Example request:
curl -X GET -G "http://localhost/select_doctor"
const url = new URL("http://localhost/select_doctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET select_doctor
Approve a doctor (by admin)
Example request:
curl -X GET -G "http://localhost/approve/1"
const url = new URL("http://localhost/approve/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (302):
null
HTTP Request
GET approve/{id}
Disapprove a doctor (by admin)
Example request:
curl -X GET -G "http://localhost/disapprove/1"
const url = new URL("http://localhost/disapprove/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (302):
null
HTTP Request
GET disapprove/{id}
Refer a doctor (by other registered doctors)
Example request:
curl -X GET -G "http://localhost/refer/1"
const url = new URL("http://localhost/refer/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (302):
null
HTTP Request
GET refer/{id}
searchDoctor
Example request:
curl -X GET -G "http://localhost/searchDoctor"
const url = new URL("http://localhost/searchDoctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response:
null
HTTP Request
GET searchDoctor
Update doctor profile
Example request:
curl -X POST "http://localhost/updateDoc"
const url = new URL("http://localhost/updateDoc");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST updateDoc
Rating and giving feedback to doctor
Example request:
curl -X POST "http://localhost/rate/1" \
-H "Content-Type: application/json" \
-d '{"dr_id":7}'
const url = new URL("http://localhost/rate/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"dr_id": 7
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST rate/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| dr_id | integer | optional | the ID of the rated doctor |
Search Doctors
Patient can search by name, location, speciality
Example request:
curl -X GET -G "http://localhost/doctorSearch"
const url = new URL("http://localhost/doctorSearch");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET doctorSearch
POST doctorSearch
PUT doctorSearch
PATCH doctorSearch
DELETE doctorSearch
OPTIONS doctorSearch
Medicine Functionalities
APIs for managing medicine and medicine logs
Show medicine info of the patient
Example request:
curl -X GET -G "http://localhost/show_pat_medicines/1" \
-H "Content-Type: application/json" \
-d '{"patient_id":8}'
const url = new URL("http://localhost/show_pat_medicines/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"patient_id": 8
}
fetch(url, {
method: "GET",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET show_pat_medicines/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| patient_id | integer | optional | the ID of the patient |
Patient Functionalities
APIs for managing patient related methods
Display a listing of patients
Example request:
curl -X GET -G "http://localhost/patients"
const url = new URL("http://localhost/patients");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET patients
Show the form for creating a new resource.
Example request:
curl -X GET -G "http://localhost/patients/create"
const url = new URL("http://localhost/patients/create");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET patients/create
patients
Example request:
curl -X POST "http://localhost/patients"
const url = new URL("http://localhost/patients");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST patients
patients/{patient}
Example request:
curl -X GET -G "http://localhost/patients/1"
const url = new URL("http://localhost/patients/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET patients/{patient}
patients/{patient}/edit
Example request:
curl -X GET -G "http://localhost/patients/1/edit"
const url = new URL("http://localhost/patients/1/edit");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET patients/{patient}/edit
Update patient profile
Example request:
curl -X PUT "http://localhost/patients/1"
const url = new URL("http://localhost/patients/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "PUT",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
PUT patients/{patient}
PATCH patients/{patient}
patients/{patient}
Example request:
curl -X DELETE "http://localhost/patients/1"
const url = new URL("http://localhost/patients/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "DELETE",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
DELETE patients/{patient}
Update patient profile
Example request:
curl -X POST "http://localhost/updatePat"
const url = new URL("http://localhost/updatePat");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST updatePat
Show health overview to patient
Example request:
curl -X GET -G "http://localhost/my_health/1" \
-H "Content-Type: application/json" \
-d '{"patient_id":1}'
const url = new URL("http://localhost/my_health/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"patient_id": 1
}
fetch(url, {
method: "GET",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET my_health/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| patient_id | integer | optional | the ID of the patient user |
Prescription Management
APIs for handling prescription functionalities
Display a listing of the Prescriptions.
Example request:
curl -X GET -G "http://localhost/prescriptions"
const url = new URL("http://localhost/prescriptions");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET prescriptions
prescriptions/create
Example request:
curl -X GET -G "http://localhost/prescriptions/create"
const url = new URL("http://localhost/prescriptions/create");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET prescriptions/create
Create and store an prescription
This also stores values to Medicine and Disease Log table
Example request:
curl -X POST "http://localhost/prescriptions" \
-H "Content-Type: application/json" \
-d '{"app_id":6}'
const url = new URL("http://localhost/prescriptions");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"app_id": 6
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST prescriptions
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| app_id | integer | optional | the ID of the corresponding appointment |
prescriptions/{prescription}
Example request:
curl -X GET -G "http://localhost/prescriptions/1"
const url = new URL("http://localhost/prescriptions/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (404):
{
"message": "No query results for model [App\\prescription]."
}
HTTP Request
GET prescriptions/{prescription}
prescriptions/{prescription}/edit
Example request:
curl -X GET -G "http://localhost/prescriptions/1/edit"
const url = new URL("http://localhost/prescriptions/1/edit");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (404):
{
"message": "No query results for model [App\\prescription]."
}
HTTP Request
GET prescriptions/{prescription}/edit
prescriptions/{prescription}
Example request:
curl -X PUT "http://localhost/prescriptions/1"
const url = new URL("http://localhost/prescriptions/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "PUT",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
PUT prescriptions/{prescription}
PATCH prescriptions/{prescription}
prescriptions/{prescription}
Example request:
curl -X DELETE "http://localhost/prescriptions/1"
const url = new URL("http://localhost/prescriptions/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "DELETE",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
DELETE prescriptions/{prescription}
Create and store an prescription
This also stores values to Medicine and Disease Log table
Example request:
curl -X POST "http://localhost/storePresc/1" \
-H "Content-Type: application/json" \
-d '{"app_id":12}'
const url = new URL("http://localhost/storePresc/1");
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
let body = {
"app_id": 12
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST storePresc/{id}
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
| app_id | integer | optional | the ID of the corresponding appointment |
Show a presctiption form to doctor
Example request:
curl -X GET -G "http://localhost/showPrescForm/1"
const url = new URL("http://localhost/showPrescForm/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET showPrescForm/{id}
Show Prescription Details
Example request:
curl -X GET -G "http://localhost/showPresc/1"
const url = new URL("http://localhost/showPresc/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET showPresc/{id}
general
Invoke the controller method.
Example request:
curl -X GET -G "http://localhost/"
const url = new URL("http://localhost/");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET /
Show the application's login form.
Example request:
curl -X GET -G "http://localhost/login"
const url = new URL("http://localhost/login");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET login
Handle a login request to the application.
Example request:
curl -X POST "http://localhost/login"
const url = new URL("http://localhost/login");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST login
Log the user out of the application.
Example request:
curl -X POST "http://localhost/logout"
const url = new URL("http://localhost/logout");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST logout
Show the application registration form.
Example request:
curl -X GET -G "http://localhost/register"
const url = new URL("http://localhost/register");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET register
Handle a registration request for the application.
Example request:
curl -X POST "http://localhost/register"
const url = new URL("http://localhost/register");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST register
Display the form to request a password reset link.
Example request:
curl -X GET -G "http://localhost/password/reset"
const url = new URL("http://localhost/password/reset");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET password/reset
Send a reset link to the given user.
Example request:
curl -X POST "http://localhost/password/email"
const url = new URL("http://localhost/password/email");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST password/email
Display the password reset view for the given token.
If no token is present, display the link request form.
Example request:
curl -X GET -G "http://localhost/password/reset/1"
const url = new URL("http://localhost/password/reset/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET password/reset/{token}
Reset the given user's password.
Example request:
curl -X POST "http://localhost/password/reset"
const url = new URL("http://localhost/password/reset");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST password/reset
Below methods are added for different login of patients and doctors
Example request:
curl -X GET -G "http://localhost/login/patient"
const url = new URL("http://localhost/login/patient");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET login/patient
login/doctor
Example request:
curl -X GET -G "http://localhost/login/doctor"
const url = new URL("http://localhost/login/doctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET login/doctor
register/patient
Example request:
curl -X GET -G "http://localhost/register/patient"
const url = new URL("http://localhost/register/patient");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET register/patient
register/doctor
Example request:
curl -X GET -G "http://localhost/register/doctor"
const url = new URL("http://localhost/register/doctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET register/doctor
login/patient
Example request:
curl -X POST "http://localhost/login/patient"
const url = new URL("http://localhost/login/patient");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST login/patient
login/doctor
Example request:
curl -X POST "http://localhost/login/doctor"
const url = new URL("http://localhost/login/doctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST login/doctor
register/patient
Example request:
curl -X POST "http://localhost/register/patient"
const url = new URL("http://localhost/register/patient");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST register/patient
register/doctor
Example request:
curl -X POST "http://localhost/register/doctor"
const url = new URL("http://localhost/register/doctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST register/doctor
Invoke the controller method.
Example request:
curl -X GET -G "http://localhost/home"
const url = new URL("http://localhost/home");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (401):
{
"error": "Unauthenticated."
}
HTTP Request
GET home
Invoke the controller method.
Example request:
curl -X GET -G "http://localhost/doctor"
const url = new URL("http://localhost/doctor");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET doctor
Display a listing of the resource.
Example request:
curl -X GET -G "http://localhost/medicines"
const url = new URL("http://localhost/medicines");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET medicines
Show the form for creating a new resource.
Example request:
curl -X GET -G "http://localhost/medicines/create"
const url = new URL("http://localhost/medicines/create");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
null
HTTP Request
GET medicines/create
Store a newly created resource in storage.
Example request:
curl -X POST "http://localhost/medicines"
const url = new URL("http://localhost/medicines");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
POST medicines
Display the specified resource.
Example request:
curl -X GET -G "http://localhost/medicines/1"
const url = new URL("http://localhost/medicines/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response:
null
HTTP Request
GET medicines/{medicine}
Show the form for editing the specified resource.
Example request:
curl -X GET -G "http://localhost/medicines/1/edit"
const url = new URL("http://localhost/medicines/1/edit");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response:
null
HTTP Request
GET medicines/{medicine}/edit
Update the specified resource in storage.
Example request:
curl -X PUT "http://localhost/medicines/1"
const url = new URL("http://localhost/medicines/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "PUT",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
PUT medicines/{medicine}
PATCH medicines/{medicine}
Remove the specified resource from storage.
Example request:
curl -X DELETE "http://localhost/medicines/1"
const url = new URL("http://localhost/medicines/1");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "DELETE",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
HTTP Request
DELETE medicines/{medicine}
Suggest medicine
Example request:
curl -X GET -G "http://localhost/pickmedicine"
const url = new URL("http://localhost/pickmedicine");
let headers = {
"Accept": "application/json",
"Content-Type": "application/json",
}
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET pickmedicine


As described in Adding and Removing Nodes from the Group, a node is added to the replication group simply by starting it up and allowing it to perform its start-up handshake with the Master. Once an electable node has been added to the replication group, it belongs to the replication group forever, or until you explicitly remove it. Also, the node is uniquely identified within the replication group by a name that you must give it when you start up the process.
This is worth remembering, because if you have electable nodes that have been added to the replication group, but which you then shutdown for a long period of time, your replication group might not be able to perform a lot of tasks, such as:
Elect a Master.
Add a new node to the replicated group.
Delete a node from the replication group.
Successfully commit a transaction (this depends on the durability guarantees in place for your application).
All of these actions might be adversely affected by a series of unavailable electable nodes because in order to do these things the Master must be in contact with a majority of the electable nodes belonging to the replication group (Monitor and Secondary nodes do not count). So if too many electable nodes are either shutdown or unavailable due to a network partition event, then these functions can become delayed or even completely unavailable.
For this reason, if you have electable nodes that you want to shutdown for a long time, then you should remove those nodes from the replication group. JE provides a utility class that allows for node removal, so your application developer should have provided you with a tool of some kind that allows you to do this as a normal administrative function.
When removing an electable node from the replication group, remember that:
for best results, shut down the node first.
a majority of the nodes must currently be in contact with the Master in order to acknowledge the node removal.
If at some later time you want to restart the node and have it join the replication group, you can do this using the normal procedure that your application uses when starting a node for the first time. Be aware, however, that you cannot reuse the unique name that the node was using when you removed it from the group as an electable node. Instead, give the node a completely new unique name before having it rejoin the replication group.


public static class LSL.StreamInfo
extends java.lang.Object
| Constructor and Description |
|---|
LSL.StreamInfo(com.sun.jna.Pointer handle) |
LSL.StreamInfo(java.lang.String name,
java.lang.String type) |
LSL.StreamInfo(java.lang.String name,
java.lang.String type,
int channel_count) |
LSL.StreamInfo(java.lang.String name,
java.lang.String type,
int channel_count,
double nominal_srate) |
LSL.StreamInfo(java.lang.String name,
java.lang.String type,
int channel_count,
double nominal_srate,
int channel_format) |
LSL.StreamInfo(java.lang.String name,
java.lang.String type,
int channel_count,
double nominal_srate,
int channel_format,
java.lang.String source_id)
Construct a new stream_info object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
as_xml()
Retrieve the entire stream_info in XML format.
|
int |
channel_count()
Number of channels of the stream.
|
int |
channel_format()
Channel format of the stream.
|
double |
created_at()
Creation time stamp of the stream.
|
LSL.XMLElement |
desc()
Extended description of the stream.
|
void |
destroy()
Destroy a previously created StreamInfo object.
|
com.sun.jna.Pointer |
handle()
Get access to the underlying native handle.
|
java.lang.String |
hostname()
Hostname of the providing machine.
|
java.lang.String |
name()
Name of the stream.
|
double |
nominal_srate()
Sampling rate of the stream, according to the source (in Hz).
|
java.lang.String |
session_id()
Session ID for the given stream.
|
java.lang.String |
source_id()
Unique identifier of the stream's source, if available.
|
java.lang.String |
type()
Content type of the stream.
|
java.lang.String |
uid()
Unique ID of the stream outlet instance (once assigned).
|
int |
version()
Protocol version used to deliver the stream.
|
public LSL.StreamInfo(java.lang.String name, java.lang.String type, int channel_count, double nominal_srate, int channel_format, java.lang.String source_id)
name
- Name of the stream. Describes the device (or product series) that this stream makes available
(for use by programs, experimenters or data analysts). Cannot be empty.type
- Content type of the stream. Please see Table of Content Types in the documentation for naming recommendations.
The content type is the preferred way to find streams (as opposed to searching by name).channel_count
- Number of channels per sample. This stays constant for the lifetime of the stream.nominal_srate
- The sampling rate (in Hz) as advertised by the data source, if regular (otherwise set to IRREGULAR_RATE).channel_format
- Format/type of each channel. If your channels have different formats, consider supplying
multiple streams or use the largest type that can hold them all (such as cf_double64).source_id
- Unique identifier of the device or source of the data, if available (such as the serial number).
This is critical for system robustness since it allows recipients to recover from failure even after the
serving app, device or computer crashes (just by finding a stream with the same source id on the network again).
Therefore, it is highly recommended to always try to provide whatever information can uniquely identify the data source itself.public LSL.StreamInfo(java.lang.String name, java.lang.String type, int channel_count, double nominal_srate, int channel_format)
public LSL.StreamInfo(java.lang.String name, java.lang.String type, int channel_count, double nominal_srate)
public LSL.StreamInfo(java.lang.String name, java.lang.String type, int channel_count)
public LSL.StreamInfo(java.lang.String name, java.lang.String type)
public LSL.StreamInfo(com.sun.jna.Pointer handle)
public void destroy()
public java.lang.String name()
public java.lang.String type()
public int channel_count()
public double nominal_srate()
public int channel_format()
public java.lang.String source_id()
public int version()
public double created_at()
public java.lang.String uid()
public java.lang.String session_id()
public java.lang.String hostname()
public LSL.XMLElement desc()
public java.lang.String as_xml()
public com.sun.jna.Pointer handle()


Lying at the western entrance to the Limfjord, Thyboron is the gateway to a great cruising area, as well as marking the beginning of the shortcut through to the Kattegat, in Baltic.
Shelter is good in the harbour and yachts can berth either in the yacht haven or in the most northerly of the basins of the main harbour. There is another marina at Lemvig, about 15NM away, on the southern shore of Nissum Bredning.


---
layout: post
title: "[Feb] Daily Diary #15"
date: 2019-02-16 09:49:15.000000000 +05:30
type: post
parent_id: '0'
published: true
password: ''
status: publish
tags: [Daily Logs, Projects]
meta:
_publicize_job_id: '27687255866'
timeline_notification: '1550290759'
author:
login: priyankasaggu119
email<EMAIL_ADDRESS>display_name: priyankasaggu119
first_name: ''
last_name: ''
permalink: "/2019/02/16/feb-daily-dairy-15/"
---
February 16, 2019
It's been so long since I wrote for the last time here. But I am back here now. :D
In this post, I will be listing almost all the major stuff that I have done in the last approximate 10 days.
- Appointed as one amongst the two lead co-ordinators for assisting in the development of the University's Training and Placement web portal.
- Had a meet up with junior folks, teaching them Linux basic commands and Open Source Contribution 101. Much happy with the response from the students.
- Done with developing another project in Computer Vision - Optical Character Recognition(OCR) using OpenCV EAST(effective and accurate scene text) text detector and Google's Tesseract (v4).
- Participated in CodeChef's February Long Challenge 2019 Division 2. Woah, finally real coding, real problem-solving. I had solved 4 out of 8 in just 4 hours. Check my rank here.
- And yeah, I appeared for 3 hiring drives. Cracked one! :)
- Repair 3 crashed systems in series. Lots of learning. :)
- Started with tinkering on this year's projects in GirlScript Summer of Code 2019. Prepping up for the contributions.


This package proposes an algorithm that use weather analogs for ensemble forecast calibration.
The package is currently under-developing and relevant research is continuing.
Please visit Analog Ensembles to learn more about weather analogs.
Please visit my website to learn more about my research.
To install EITrans
, first install the following dependent packages:
# The repos argument is just to skip the repo selection.
# You can simply omit the argument if you want.
#
install.packages(c('abind', 'foreach', 'progress'), repos = 'http://cran.us.r-project.org')
# More installation on the following package, please refer to
# https://weiming-hu.github.io/AnalogsEnsemble/
#
install.packages("https://github.com/Weiming-Hu/AnalogsEnsemble/raw/master/RAnalogs/releases/RAnEn_latest.tar.gz", repos = NULL)
devtools::install_github('Weiming-Hu/RAnEnExtra')
Then, you can install EITrans
by running
devtools::install_github('Weiming-Hu/EITrans')


Issue: COPY-SYMBOL-COPY-PLISTReferences: COPY-SYMBOL (p 169), COPY-LIST (p 268), COPY-TREE (p
269).
Category: CLARIFICATION
Edit history: 10-Jan-89, Version 1 by Margolin
Problem Description:
The description of COPY-SYMBOL, where the COPY-PROPS optional argument
is non-NIL, says that a copy of the property list is used as the new
symbol's property list. However, there are several ways in which a list
may be copied, most notably COPY-LIST and COPY-TREE, and the description
doesn't say which mechanism should be used.
Proposal (COPY-SYMBOL-COPY-PLIST:COPY-LIST)
Clarify that when COPY-SYMBOL copies the property list of the symbol, it
is as if (COPY-LIST (SYMBOL-PLIST sym)) were used as the new symbol's
property list.
Rationale:
COPY-LIST is the simplest list-copying primitive. The result of this
copy is that GET returns EQL results for the two symbols until one of
the property lists is altered, but altering either of the property lists
doesn't affect the other. This is current practice in the
implementations I tested, and probably what most users assume.
Current Practice:
Symbolics Genera and Sun Common Lisp currently implement this. I
suspect most others do, too.
Cost to Implementors:
Little or none.
Cost to Users:
None unless they've been assuming some other type of copy.
Benefits:
Less ambiguity.
Aesthetics:
Well, I like it.


--- layout: page title: About header-img: "img/about-bg.png" ---
I'm just your average math-loving, puzzling (in more ways than one) programmer with a thirst for knowledge! For those who wish to know more about me, I'm also a Christian, an avid reader, a nature lover, and a good singer. (P.S. Jesus loves you; go in peace.)


{{i18n "Registration"}}
{{ partial "faq-entry.html" (dict "title" "Badges") }}
{{ partial "faq-entry.html" (dict "title" "AccessControl") }}
{{ partial "faq-entry.html" (dict "title" "RegistrationLimits") }}
{{i18n "Tickets"}}
{{ partial "faq-entry.html" (dict "title" "TransferTicket") }}
{{ partial "faq-entry.html" (dict "title" "TicketInvoice") }}
{{ partial "faq-entry.html" (dict "title" "Refund") }}
{{ partial "faq-entry.html" (dict "title" "CannotFindTicket") }}
{{ partial "faq-entry.html" (dict "title" "StudentOrUnemployedRequirements") }}
{{i18n "Others"}}
{{ partial "faq-entry.html" (dict "title" "RegistrationLimits") }}
{{ partial "faq-entry.html" (dict "title" "BuyTicketAtTheVenue") }}
{{ partial "faq-entry.html" (dict "title" "BringLaptop") }}
{{ partial "faq-entry.html" (dict "title" "WorkshopRequirements") }}
{{ partial "faq-entry.html" (dict "title" "WorkshopsRequireRegistration") }}
{{ partial "faq-entry.html" (dict "title" "IsMealIncluded") }}
{{ partial "faq-entry.html" (dict "title" "TransportOptions") }}
{{ partial "faq-entry.html" (dict "title" "Cloakroom") }}
{{ end }}


FASTq Analyser
By Position
Sequence Quality
Erronous Probability
Composition
GC Content
N Content
By Read
Score Distribution
GC Content
Sequence quality
Erronous Probability
Position Composition
GC Content
N Content
Read Score Distribution
GC Distribution


This page demonstrates the timeline intergation with jQuery Themeroller CSS framework.
Icons by
DryIcons
and
TpdkDesign.net


val stackOffset: Int
Log offset, usually combined with wrapper methods.
stackOffset - Log offset, usually combined with wrapper methods.
stackOffset


Features:
Overview
Build your own dual 10" line array cabinet! Plans available
The LA210 is a powerful, professional line array speaker system. It can be build as either a passive 2 way or as a powered version. It is a "open" design based on proven and practical line array cabinet design that uses off-the-shelf drivers for simplicity, maintainability and affordability. Simply put - it is a straight forward, highly effective line array system that won't break the bank.
Specifications |
|---|
Power handling: |
|
600 Watts RMS |
|
1200 Watts Program |
Impedance: |
|
8 Ohms |
Frequency Response: |
|
62Hz - 20,000Hz |
Weight: |
|
52Lbs (depends on configuration) |
Dimensions: |
|
Height: 11.5" |
|
Width: 34" |
|
Depth: 21.75" |


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreserveAspectRatioHandler
This interface must be implemented and then registred as the
handler of a PreserveAspectRatioParser
instance in order to
be notified of parsing events.
| Method Summary | |
|---|---|
void |
endPreserveAspectRatio()
Invoked when the PreserveAspectRatio parsing ends. |
void |
meet()
Invoked when 'meet' has been parsed. |
void |
none()
Invoked when 'none' been parsed. |
void |
slice()
Invoked when 'slice' has been parsed. |
void |
startPreserveAspectRatio()
Invoked when the PreserveAspectRatio parsing starts. |
void |
xMaxYMax()
Invoked when 'xMaxYMax' has been parsed. |
void |
xMaxYMid()
Invoked when 'xMaxYMid' has been parsed. |
void |
xMaxYMin()
Invoked when 'xMaxYMin' has been parsed. |
void |
xMidYMax()
Invoked when 'xMidYMax' has been parsed. |
void |
xMidYMid()
Invoked when 'xMidYMid' has been parsed. |
void |
xMidYMin()
Invoked when 'xMidYMin' has been parsed. |
void |
xMinYMax()
Invoked when 'xMinYMax' has been parsed. |
void |
xMinYMid()
Invoked when 'xMinYMid' has been parsed. |
void |
xMinYMin()
Invoked when 'xMinYMin' has been parsed. |
| Method Detail |
|---|
void startPreserveAspectRatio() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid none() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMaxYMax() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMaxYMid() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMaxYMin() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMidYMax() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMidYMid() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMidYMin() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMinYMax() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMinYMid() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid xMinYMin() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid meet() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid slice() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatiovoid endPreserveAspectRatio() throws ParseException
ParseException
- if an error occured while processing
the PreserveAspectRatio
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Toggle navigation
Menu
OUR BAKED CAKES
OPENING HOURS
About
Contact
Welcome To Best HomeMade Cake Service!
A LITTLE BLISS IN EVERY BITE !
TASTE THE MAGIC!
OUR BAKED CAKES
Always Fresh, Always Tasty
At The Baker's Stop, we make everything fresh, all day, every day, using the finest and freshest ingredients.
Come by to taste some of our favorite and most delicious bakery fresh cakes.
Order Two Days Prior !
Butterscotch Cream Cake
1/2 Kg
₹290
1 Kg
₹580
Buy Now !
Whiteforest Cream Cake
1/2 Kg
₹300
1 Kg
₹600
Buy Now !
Blackforest Cream Cake
1/2 Kg
₹310
1 Kg
₹620
Buy Now !
Coffee Almond Cream Cake
1/2 Kg
₹350
1 Kg
₹700
Buy Now !
Pineapple Fruit Cake
1/2 Kg
₹300
1 Kg
₹600
Buy Now !
Kiwi Classic Fruit Cake
1/2 Kg
₹310
1 Kg
₹620
Buy Now !
Dutch Choclate Cake
1/2 Kg
₹350
1 Kg
₹700
Buy Now !
Choclate Oreo Cake
1/2 Kg
₹300
1 Kg
₹600
Buy Now !
Choclate Truffle Cake
1/2 Kg
₹320
1 Kg
₹600
Buy Now !
Choco Chip Cake
1/2 Kg
₹350
1 Kg
₹700
Buy Now !
Ferrero Rocher Cake
1/2 Kg
₹550
1 Kg
₹1000
Buy Now !
Red Velvet Cake
1/2 Kg
₹550
1 Kg
₹1000
Buy Now !
Kitkat Cake
1/2 Kg
₹580
1 Kg
₹1150
Buy Now !
Photo print Cake
1/2 Kg
₹500
1 Kg
₹1000
Buy Now !
Mango Falooda Cake
1/2 Kg
₹500
1 Kg
₹1000
Buy Now !
Customized colour print cakes Also Available!
Buy Now !
Price based on your Customization!
Cupcakes also available!
₹140 for 6 cupcakes
Buy Now !
OPENING HOURS
Drop By!
Mon - Fri: 9am - 6pm
Sat: 10am - 3pm
Sun: Closed
About Us!
Welcome to The Baker's Stop.
All of our cakes are handcrafted, baked and served with a side of love.
Priyanka Dixit
Lead Baker
ADDRESS
13, New Shiv Apartment, Near Kamal Motors, Rambaug Lane no.2 .
Call us
Or
Chat us on Whatsapp


slycat.web.server.plugin¶
-
class
slycat.web.server.plugin.
Manager
[source]¶ Bases:
object
Manages server plugin modules.
-
load
(plugin_path)[source]¶ Load plugin modules from a filesystem.
If the the given path is a directory, loads all .py files in the directory (non-recursive). Otherwise, assumes the path is a module and loads it.
-
register_directory
(type, init, user)[source]¶ Register a new directory type.
- Parameters
type (string, required) – A unique identifier for the new directory type.
init (callable, required) – Called with parameters specified by an adminstrator in the server config.ini to initialize the directory.
user (callable, required) – Called with a username to retrieve information about a user. Must return a dictionary containing user metadata.
-
register_marking
(type, label, badge, page_before=None, page_after=None)[source]¶ Register a new marking type.
- Parameters
type (string, required) – A unique identifier for the new marking type.
label (string, required) – Human-readable string used to represent the marking in the user interface.
badge (string, required) – HTML representation used to display the marking as a “badge”. The HTML must contain everything needed to properly format the marking, including inline CSS styles.
page_before (string, optional) – HTML representation used to display the marking at the top of an HTML page. If left unspecified, the badge representation will be used instead.
page_after (string, optional) – HTML representation used to display the marking at the bottom of an HTML page. If left unspecified, the badge representation will be used instead.
that the page_before and page_after markup need not be self-contained (Note) –
they (i.e.) –
be used together to define a "container" that encloses the page markup. (may) –
-
register_model
(type, finish, ptype=None)[source]¶ Register a new model type.
- Parameters
type (string, required) – A unique identifier for the new model type.
finish (callable, required) – Called to finish (perform computation on) a new instance of the model.
ptype (string, optional) – A unique page type identifier to be used as the default interface when viewing the model. Defaults to the same string as the model type.
-
register_model_command
(verb, type, command, handler)[source]¶ Register a custom request handler.
- Parameters
verb (string, required) – The HTTP verb for the command, “GET”, “POST”, or “PUT”.
type (string, required) – Unique category for the command. Typically, this would be a model, parser, or wizard type.
command (string, required) – Unique command name.
handler (callable, required) – Called with the database, model, verb, type, command, and optional keyword parameters to handle a matching client request.
-
register_page
(type, html)[source]¶ Register a new page type.
- Parameters
type (string, required) – A unique identifier for the new page type.
html (callable, required) – Called to generate an HTML representation of the page.
-
register_page_resource
(type, resource, path)[source]¶ Register a custom resource associated with a page type.
- Parameters
type (string, required) – Unique identifier of an already-registered page type.
resource (string, required) – Server endpoint to retrieve the resource.
path (string, required) – Absolute filesystem path of the resource to be retrieved. The resource may be a single file, or a directory.
-
register_parser
(type, label, categories, parse)[source]¶ Register a new parser type.
- Parameters
type (string, required) – A unique identifier for the new parser type.
label (string, required) – Human readable label describing the parser.
categories (list, required) – List of string categories describing the type of data this parser produces, for example “table”.
parse (callable, required) – Called with a database, model, input flag, list of file objects, list of artifact names, and optional keyword arguments. Must parse the file and insert its data into the model as artifacts, returning True if successful, otherwise False.
-
register_password_check
(type, check)[source]¶ Register a new password check function.
- Parameters
type (string, required) – A unique identifier for the new check type.
check (callable, required) – Called with a realm, username, and password plus optional keyword arguments. Must return a (success, groups) tuple, where success is True if authentication succeeded, and groups is a (possibly empty) list of groups to which the user belongs.
-
register_tool
(name, hook_point, callable)[source]¶ Register a new cherrypy tool.
- Parameters
name (string, required) – A unique identifier for the new tool.
hook_point (string, required) – CherryPy hook point where the tool will be installed.
callable (callable object, required) – Called for every client request.
-
register_utility
(command, handler)[source]¶ Register a server utility handler. :param command: Unique command name. :type command: string, required :param handler: Input args vary with utility. :type handler: callable, required
-
register_wizard
(type, label, require)[source]¶ Register a wizard for creating new entities.
- Parameters
type (string, required) – A unique identifier for the wizard.
label (string, required) – Human-readable name for the wizard, displayed in the UI.
require (dict, required) –
Requirements in order to use the wizard. Supported requirements include:
”action”: “create” - the wizard will be used to create new objects.
”action”: “edit” - the wizard will be used to edit existing objects.
”action”: “delete” - the wizard will be used to delete existing objects.
”context”: “global” - the wizard does not require any resources to run.
”context”: “project” - the wizard requires a project to run.
”context”: “model” - the wizard requires a model to run.
”model-type”:[list of model types] - a model matching one of the given types is required to run the wizard.
-
register_wizard_resource
(type, resource, path)[source]¶ Register a custom resource associated with a wizard.
- Parameters
type (string, required) – Unique identifier of an already-registered wizard.
resource (string, required) – Server endpoint to retrieve the resource.
path (string, required) – Absolute filesystem path of the resource to be retrieved.
-


Oklahoma woman, 48, smiles in mugshot after arrest in husband's stabbing death
by Stephen SoraceAn Oklahoma woman was all smiles for her mugshot despite facing a murder charge in the stabbing that killed her husband, investigators said.
Shanda Johnson-Williams, 48, was arrested Tuesday in the suspicious death of her husband, 48-year-old Jamie Williams, in Ft. Towson, the Oklahoma State Bureau of Investigation (OSBI) wrote on Facebook.
Deputies from the Choctaw County Sheriff’s Office found Williams unresponsive in his home on Sunday and called OSBI agents for assistance, officials said.
Williams was pronounced dead when paramedics arrived.
A medical examiner determined Williams’ cause of death was a stab wound, officials said.
FLORIDA WOMAN, WHOSE SMILING MUGSHOT AFTER FATAL DUI CRASH WENT VIRAL, HEADS TO PRISON
Further details surrounding the circumstances of his death weren’t immediately released.
Johnson-Williams was being held at the Choctaw County Jail on a charge of first-degree murder. Her bond was to be set at her arraignment.
CLICK HERE FOR THE FOX NEWS APP
There were no records indicating whether she had an attorney.
Fort Towson is about 160 miles southeast of Oklahoma City.


June 7, 2014
Just finding things in internet (ref provided) and solving them in JavaScript
Question: How will you implement stack and queue with JavaScript?
Answer: stack is already implemented in JavaScritp
array. you can simply call push
and
pop
method.
var myStack = [];
//push
myStack.push(1);
myStack.push(2);
myStack.push(3);
//pop
myStack.pop(); //3
myStack.pop(); //2
myStack.pop(); //1
Queue is pretty much same. other than calling pop
you
will use shift
method to get the element in the front
side of your array.
var myQueue = [];
//push
myQueue.push(1);
myQueue.push(2);
myQueue.push(3);
//pop
myQueue.shift(); //1
myQueue.shift(); //2
myQueue.shift(); //3
you have to use a maximizing heap to manage a priority queue. Hence while extracting, you just get the one on the top and while inserting you will do it at the bottom
//for now read the link.
ref: i have implemented simplified version of priorityQueueJS
Question: How will you create a linked list in JavaScript?
Answer: if you don't have any idea about linked list. read: wiki: linked list
to have linked list, you need a node object that will point to the next. you need one pointers (head) to point the first node of your linked list. Besides, you need methods to add and remove node from your linked list
let's get started. We have an object LinkedList and that has one property head (a pointer)
function LinkedList(){
this.head = null;
}
to create add elements, will use a push method in the prototype of the object. push method will take value and will create a node object. if there is no head, then node will be the value of head. if there is a head. then we have to walk through the linked list chain to read the tail (tail is where the next node is null). We will simple set the of next at the tail to node.
LinkedList.prototype.push = function(val){
var node = {
value: val,
next: null
}
if(!this.head){
this.head = node;
}
else{
current = this.head;
while(current.next){
current = current.next;
}
current.next = node;
}
}
Now. create a linked list and push values in it.
var sll = new LinkedList();
//push node
sll.push(2);
sll.push(3);
sll.push(4);
//check values by traversing LinkedList
sll.head; //Object {data: 2, next: Object}
sll.head.next; //Object {data: 3, next: Object}
sll.head.next.next; //Object {data: 4, next: null}
read: Advantage and disadvantage of linked list
copied from: Nicholas Zakas: linked list
for doubly linked list there will be a link backward to the previous element. Your node object will look like
var node = {
value: val,
next: null,
previous: null
}
function DoublyLinkedList(){
this.head = null;
}
DoublyLinkedList.prototype.push = function(val){
var head = this.head,
current = head,
previous = head;
if(!head){
this.head = {value: val, previous:null, next:null };
}
else{
while(current && current.next){
previous = current;
current = current.next;
}
current.next = {value: val, previous:current, next:null}
}
}
//test at least once
var dll = new DoublyLinkedList();
dll.push(2);
dll.push(3);
dll.push(4);
dll.push(5);
//trust me it works
get most of it from: doubly linked list
Question: How could you write an extension to remove a node from a LL
If you want to remove a node from your linked list you have to find the node. There are three conditions here
let's do it
LinkedList.prototype.remove = function(val){
var current = this.head;
//case-1
if(current.value == val){
this.head = current.next;
}
else{
var previous = current;
while(current.next){
//case-3
if(current.value == val){
previous.next = current.next;
break;
}
previous = current;
current = current.next;
}
//case -2
if(current.value == val){
previous.next == null;
}
}
}
Now if you want to remove you can just pass the value
sll.remove(3);
sll.remove(1);
Question: How would you reverse a singly LL (no loop)?
Answer: Just walk through the LL and put the nodes in an array. This would be easier other than using remove function (if LL have one), because to remove a single item from the end of the SLL you have to walk all way to the end of the SLL every single time. Here you are just walking once.
function reversesll(sll){
if(!sll.head || !sll.head.next) return sll;
var nodes=[],
current = sll.head;
//storing all the nodes in an array
while(current){
nodes.push(current);
current = current.next;
}
var reversedLL = new LinkedList();
reversedLL.head = nodes.pop();
current = reversedLL.head;
var node = nodes.pop();
//make sure to make next of the newly inserted node to be null
//other wise the last node of your SLL will retain its old next.
while(node){
node.next = null;
current.next = node;
current = current.next;
node = nodes.pop();
}
return reversedLL;
}
test at least once.
//create the LL
var sll = new LinkedList();
sll.push(1);
sll.push(2);
sll.push(3);
sll.push(4);
sll.push(5);
//test it
reversesll(sll);
//{head: {value:5, next:{value: 4, next: {value: 3, next: {value:2, next:{value:1, next: null}}}}}}
//search it and implement it
questionGiven number k, for Singly linked list, skip k nodes and then reverse k nodes, till the end.
Question: reverse the doubly linked list without using extra space
Answer:
function reverseDoublyLL(dll){
var head = dll.head,
current = dll.head,
tmp;
while(current){
tmp = current.next;
current.next = current.previous;
current.previous = tmp;
if(!tmp){
//set the last node as header
dll.head = current;
}
current = tmp;
}
return dll;
}
//test it at least once
//or trust me it works
ref: career cup
Question: How could you get the Kth node from the end (no loop)
Answer:
function kthFromEnd(sll, k){
var node = sll.head,
i = 1,
kthNode;
//handle, 0 or negative value of k
if(k<=0) return;
while(node){
if(i == k) kthNode = sll.head;
else if(i-k>0){
kthNode = kthNode.next;
}
i++;
node = node.next;
}
return kthNode;
}
//create the LL
var sll = new LinkedList();
sll.push(1);
sll.push(2);
sll.push(3);
sll.push(4);
sll.push(5);
//test at least once
kthFromEnd(sll, 1); //Object {value: 5, next: null}
kthFromEnd(sll, 3); //Object {value: 3, next: Object}
Question: How could you delete kth node from the end of a singly LL (no loop)
function deleteKthFromEnd(sll, k){
var node = sll.head,
i = 1,
kthNode,
previous;
if(k<=0) return sll;
while(node){
if(i == k) kthNode = sll.head;
else if(i-k>0){
previous = kthNode;
kthNode = kthNode.next;
}
i++;
node = node.next;
}
//kth node is the head
if(!previous)
sll.head = sll.head.next;
else{
previous.next = kthNode.next;
}
return sll;
}
test at least once
//test at least once
var sll = new LinkedList();
sll.push(1);
sll.push(2);
sll.push(3);
sll.push(4);
sll.push(5);
deleteKthFromEnd(sll, 2);
//{head: {value:1, next:{value: 2, next: {value: 3, next: {value:1, next:null}}}}}
Question: How could you delete a node from a doubly linked list?
Answer: there could be four cases
delete head: very simple, make the second node as head. and dont forget to set previous of new head to null.
node in the middle: skip break the chain, skip current node. hence next of previous node would be the next of the current node. Besides, previous of the next node would be previous node
delete tail: its also simple, make the next of previous as null.
didn't find: dont do anything
function deleteNodeDLL(val){
var current = dll.head,
previous;
//delete head
if(current.value == val){
dll.head = current.next;
//if there is only one node, then dll.head is null
if(dll.head) dll.head.previous = null;
return dll;
}
while(current.next){
if(current.value == val){
previous.next = current.next;
current.next.previous = previous;
return dll;
}
previous = current;
current = current.next;
}
//delete last node
if(current.value == val){
previous.next = null;
}
return dll;
}
function detectLoop(sll){
var slowPointer = sll.head,
fastPointer = sll.head;
while(slowPointer && fastPointer && fastPointer.next){
slowPointer = slowPointer.next;
fastPointer = fastPointer.next.next;
if(slowPointer == fastPointer){
return true;
}
}
return false;
}
//test at least once
var sll = new LinkedList();
sll.push(1);
sll.push(2);
sll.push(3);
sll.push(4);
sll.push(5);
detectLoop(sll); //false
//create a loop manually. point next of 5 to point 3
sll.head.next.next.next.next.next = sll.head.next.next
detectLoop(sll); //true
Question:
Answer: you will have two pointer slow and fast like you had to detect loop and they will meet somewhere. if fast one hit null (if thee is a way to hit null, fast one should hit if before the slower. because fast one moves fast (recally physics theories!)), there is no loop and returns null.
if there is a null and whenever both pointers meet, set slow pointer as head. Move both the pointer move by one step at a time
At the time of meet, fast one moved twice as much as slow one.
think about it and find a way to explain it
function findLoopStart(sll){
var slow = sll.head,
fast = sll.head;
while(slow && fast){
slow = slow.next;
//if hits null, then there is no loop
if(!fast.next){
return null;
}
fast = fast.next.next;
if(slow == fast){
slow = sll.head;
while(slow != fast){
slow = slow.next;
fast = fast.next;
}
return slow;
}
}
}
Question: How could you detect middle of a LL?
Answer: need two pointer one will move two step another one. when two step will hit null. you will get middle for the singly. think about it.
//If you cant figure it out ourself. don't read further, do something else
Question: there could be loop in the singly LL
Answer:
//doesnt work.. somewhere gets stack overflow
//debug and find fix it
function getLength(sll){
var head = sll.head,
current = head,
pointer = head,
anotherPtr,
len = 0;
//use the previously written function
var loopStartNode = findLoopStart(sll);
if(!loopStartNode){
while(current){
current= current.next;
len++;
}
return len;
}
else{
anotherPtr = loopStartNode;
while(pointer != anotherPtr){
len += 2;
pointer = pointer.next;
anotherPtr = anotherPtr.next;
}
return len;
}
}
Question: Write a function that will return true if a circular singly linked list has duplicate values
Answer:
//code it man! dont be lazy
Similar question: Find the length of a linked list which contains cycle.
//just start a counter instead of checking duplicate
ref: career cup
Question: How could you rotate a Linked List by Kth Node?
or
Question:Append the last n nodes of a linked list to the beginning of the list
Answer: if the given linked list is: 1->2->3->4->5 and k is 3,the list should be modified to: 4->5->1->2->3.
//will not work for k less than length-1
function rotateByKthNode(sll, k){
var prevHead = sll.head,
previous = sll.head,
current = sll.head,
i = 1;
while(current.next){
if(i==k+1){
sll.head = current;
previous.next = null;
}
previous = current;
current = current.next;
i++;
}
current.next = prevHead;
return sll;
}
rotateByKthNode(sll,3);
//{head: {value:4, next:{value: 5, next: {value: 1, next: {value:2, next:{value:3, next: null}}}}}}
ref: rotate by kth Node
Question: Insert node in a sorted LL
Answer:
function pushSorted(sll, val){
var head = sll.head,
current = head,
previous;
//value lower than head value
if(val < sll.head.value){
sll.head = {value: val, next: head};
return sll;
}
while(current){
if(current.value > val){
previous.next = {value: val, next: current};
return sll;
}
previous = current;
current = current.next;
}
//value higher than the last node value
previous.next = {value:val, next: null};
return sll;
}
var sll = new LinkedList();
sll.push(5);
sll.push(7);
sll.push(10);
sll.push(14);
pushSorted(sll, 9);
//{head: {value: 5, next: {value: 7, next: {value: 9, next: {value: 10, next: {value: 14, next: null}}}}}}
Question: How would you merge two unsorted linked list?
Answer:
ref: merge two unsorted linked list to one sorted LL
easier question: merge two LL in alternate position
Question: How could you find intersect of two SLL in single iteration?
Answer:
ref: most detail: have 6 methods or has some animation or intersection of two LL or career cup
Question: How would you sort a linked list?
Answer: you can use bubble, merge or similar sort
ref: sort LL
Question: Given an integer linked list of which both first half and second half are sorted independently. Write a function to merge the two parts to create one single sorted linked list in place [do not use any extra space].
Answer:
ref: career cup
Question: Delete the repeated elements in a unsorted singly linked list in O(n) time complexity without using extra space.
Answer:
//get a crystal clear concept about space complexity
//also this question is in cracking the coding interview
ref: career cup
If the next pointer of the last node points to the head node, it becomes circular linked list. On Singly or Doubly Linked List, you will know you hit the tail when you hit null. For circular linked list, you will know you hit the tail when you hit the head (the next of last one pointed to head).
function CircularLinkedList(){
this.head = null;
}
CircularLinkedList.prototype.push = function(val){
var head = this.head,
current = head,
node = {value: val, next: null, previous: null};
if(!head){
node.next = node;
node.previous = node;
this.head = node;
}
else{
while(current.next != head){
current = current.next;
}
node.next = head;
node.previous = current;
head.previous = node;
current.next = node;
}
}
var cll = new CircularLinkedList();
cll.push(3);
cll.push(4);
cll.push(5);
//trust me dude, it works
Now you can play with it to remove, sort, or insert into sorted or remove duplicate, blah blah blah
ref: circular linked list
Question:
Answer:
//get the solution from cracking the coding interview
//or ggl it
Feel free to express your anger (sorry folks, you have to use g+.). Also point out my mistakes ( technical, wrong answer, spelling, grammar, sentence..., whatever), let your dude learn and grow.


| Methods' Details |
createPropertyControl
- Description
- creates a XPropertyControl
A XPropertyControlFactory can create any of the control types denoted by
the PropertyControlType constants.
- Parameter ControlType
- the type of the requested control
- Parameter CreateReadOnly
- determines whether the newly created control should be readonly.
If this argument is true, this does not necessarily mean that the property cannot be
changed at all in the ObjectInspector. Instead, an XPropertyHandler
can still decide that there is a dedicated UI for entering the property value,
which is usually triggered by a LineDescriptor::PrimaryButton.
Note that this parameter might be ignored if the XObjectInspectorModel::IsReadOnly
attribute is true, in which case all created property controls must be readonly.
- Returns
- a control of the given type.
- Throws
- com::sun::star::lang::IllegalArgumentException
if the given ControlType is not a value PropertyControlType
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


Selected: {{ selected }}
I will navigate to another route when you close the modal.
Note: My z-index is set to 1049.
z-index
1049


{% extends "layout_task-list.html" %} {% block page_title %} Money Claims Prototype {% endblock %} {% block home_link %} ../task-list {% endblock %} {% block proposition_header %} {% set my_account="1" %} {% include "includes/propositional_navigation.html" %} {% endblock %} {% block content %} {% include "includes/phase_banner_beta.html" %} The defendant's name The defendant gave a different name in their response. The name you gave {{ partyName( 'defendant' ).slice( 0, -1 ) }} The name they gave {{ partyName( 'defendant' ) }} It's up to you whether you want to update the name on the claim. Your claim could be cancelled if the defendant gave the correct name but you chose not to change it. Contact us for information on how to change the name in your case. Contact us {% import 'prototypes/prototype-may-2020/includes/contact-in-page.html' as contact %} {{ contact.output('small') }} {% endblock %}
The defendant gave a different name in their response.
It's up to you whether you want to update the name on the claim.
Your claim could be cancelled if the defendant gave the correct name but you chose not to change it.
Contact us for information on how to change the name in your case.


Example static map leaflet , europe map white
This map has points in the map
In this map , we can watch delimiter zones in the map , and add layer dinamicly
Can delimiter zones.


Collins' Family Cookbook
Recipe Name
Recipe Link
Recipe Image Path
Category
Ingredients
Ingredient 1
delete
Add Ingredient
Oven Temperature
Cook Time
Prep Time
Servings
Author
Submitted By
Instructions
Step 1
delete
Add Step


R E S U L TS
The site works seamlessly across tablets, mobile phones and laptops, resizing content in real time faster than you can flip an iPad.
Client: M&C Saatchi Sport & Entertainment
Work: Web Design & Development
Was tasked to create an interactive portfolio for M&C Saatchi Sport & Entertainment that included social media immersion and agency case-studies.
Really created by Pollen London.
VIEW PROJECTThe site works seamlessly across tablets, mobile phones and laptops, resizing content in real time faster than you can flip an iPad.


This terminology browser includes SNOMED Clinical Terms® (SNOMED CT®) US Edition version 20170901.
Due to the use of IP restricted content, we require users to periodically click through and accept the license agreeement
Disclaimer: this is not an official IHTSDO site.
For related resources, see the following links:
For support, questions, or a guided demo, email: info@westcoastinformatics.com


Home
Blog
Projects
Jack's Blog
Making A Website
How to Migrate to Jekyll
Computer Memory
Ruby vs Javascript
Ruby Classes
Enumerable Methods
Arrays and Hashes!
CSS Concepts Reflection
Git, Github and Version Control
Welcome to Jekyll!


Animation, which works as loop.
.box {
border-radius: 5%;
animation-name: box-animation;
animation-duration: 1s;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes box-animation {
0% {
transform: none;
}
100% {
border-radius: 50%;
}
}
Transition, which works only at once.
.box {
transition-property: border-radius;
transition-duration: 1s;
border-radius: 50%;
}


Madeleine Scott
Sent you add request
view profile
rebica
Suggestions for you
view profile
Devid robott
sent you add request
view profile
View all contact list
Someone likes our posts.
3 hours ago
3 New Comments
5 hour ago
Server Rebooted.
45 mintues ago
View all Notification
2
2 New Messages
Madeleine
Hey! there I' am available....
3 hours ago
Anthony
New product Launching...
5 hour ago
Olivia
New Schedule Realease......
45 mintues ago
See all Messages
Sindy Scribner
Profile
Settings
6
Inbox
Message
Need help?
Sign out
DASHBOARD
Dashboard 1
Dashboard 2
Dashboard 3
Dashboard 4
WIDGETS
UI DESIGN
Maps
Chart Morris
Chart js
Charts Peity
Chart Flot
Chart Ricksaw
Chart Chartist
C3 Charts
C3 Bar Charts
C3 Line Charts
C3 Donut Charts
C3 Pie charts
Calendar
Default calendar
Full calendar
Cards design
Default Chat
Notifications
Sweet alerts
Range slider
Content Scroll bar
Counters
Loaders
UI ELEMENTS
Basic Elements
Alerts
Buttons
Colors
Avatar-Square
Avatar-Rounded
Avatar-Radius
Drop downs
Thumbnails
Media Object
List
Tags
Pagination
Navigation
Typography
Breadcrumbs
Badges
Jumbotron
Panels
Other Elements
Modal
Tooltip and popover
Progress
Charts
Carousels
Accordions
Tabs
Headers
Footers
Other Pages
About Company
Company History
Services
FAQS
Terms and Conditions
Time Line
Rating
Pages
Profile
Edit Profile
Email
Email Inbox
User Pages
Login
Register
Forgot password
Lock screen
Empty Page
Error Pages
400 Error
401 Error
403 Error
404 Error
500 Error
503 Error
Under Construction
Forms
Form Elements
Wizard Elements
Text Editor
COMPONENTS
Pricing Tables
Crypto-currencies
User List
E-commerce
Products
Product Details
Shopping Cart
Icons
Font Awesome
Material Design Icons
Simple Line Iocns
Feather Icons
Ionic Icons
Flag Icons
Tables
Default table
Data Table
Search page
Blog
Invoice
Gallery
Simpleline Icons
Icons
Simpleline Icons
Simpleline Icons
Simply beautiful open source icons. For more info
click here
.
<i class="si si-ICON_NAME"></i>


{% extends "auth/base.html" %} {% block content %}
Please enter it twice so we can verify you typed it correctly.
The password reset link was invalid, possibly because it has already been used. Please request a new password reset.


Forged prompt shows current working directory
~ $ mkdir dir1
~ $ cd dir1
~/dir1 $ mkdir dir2
~/dir1 $ cd dir2
~/dir1/dir2 $ cd ..
~/dir1 $ cd ..
~ $ # back
Console shows all whitespace and overlong lines
~ $ echo "all " whitespace is preserved .
all whitespace is preserved .
~ $ echo " And overlong lines are broken automatically, but there is no linebreak, so the reader can copy-paste the text without getting any extra linebreaks. "
And overlong lines are broken automatically, but there is no linebreak, so the reader can copy-paste the text without getting any extra linebreaks.
~ $ mkdir 'extra whitespace also works in prompt '
~ $ cd 'extra whitespace also works in prompt '
~/extra whitespace also works in prompt $ echo lines are not broken at word boundary. Thisoverlongwordcannotbeononelineonlyinsteaditmustbebrokenatsomepoint.
lines are not broken at word boundary. Thisoverlongwordcannotbeononelineonlyinsteaditmustbebrokenatsomepoint.
~/extra whitespace also works in prompt $ echo empty line; echo; echo in output
empty line
in output
~/extra whitespace also works in prompt $ cd ..
Asserting output of cmd
~ $ die() { html "died: $@"; }
Function out-was can be used to assert cmd output
First, the empty case, success:
~ $ true
Output asserted
And failure:
~ $ true
died: Error in command output, see diff output for details.Output asserted
Then non-empty:
~ $ echo "non-empty output"
non-empty output
Output asserted
~ $ echo "actual"
actual
died: Error in command output, see diff output for details.Output asserted
~ $ die() { errorlog "$@"; exit 1; }
stdout and stderr get combined. TODO is there a way to interleave them naturally but still assert them separately?
~ $ echo err > /dev/stderr
err
Output asserted
~ $ echo out >> /dev/stdout && echo err >> /dev/stderr
out
err
Output asserted
Since descript uses files to capture output, append is necessary:
~ $ echo out > /dev/stdout && echo err > /dev/stderr
err
Output asserted
Editing file, inlined content
~ $ $EDITOR "file1"
~ $ cat file1
file1 line1
file1 line2
Output asserted
~ $ $EDITOR "file1"
file1 line1
file1 line1, modified
file1 line2
file1 line3, added
~ $ cat file1
file1 line1, modified
file1 line2
file1 line3, added
Output asserted
~ $ $EDITOR "file1"
file1 line1, modified
file1 line2
file1 line3, added
~ $ cat file1
file1 line1, modified
file1 line3, added
Output asserted
Empty lines also work in editor:
~ $ $EDITOR "file1"
file1 line1, modified
file1 line3, added
empty line below:
empty line above
~ $ $EDITOR "file1"
file1 line1, modified
file1 line3, added
empty line below:
empty line above
empty line above and 2 below
~ $ $EDITOR "file1"
file1 line1, modified
file1 line3, added
empty line below:
empty line above and 2 below
empty line above and
none below
Editing file, inlined diff
~ $ $EDITOR "file1"
~ $ $EDITOR "file1"
~ $ cat file1
line 1
line 2
line 3
Output asserted
Text may contain reserved HTML characters: i and &
This is a paragraph. It can contain i and &.
~ $ echo "And also commands and their output: i and &"
And also commands and their output: i and &
~ $ echo 'backslashes on commandline and output: \t'
backslashes on commandline and output: \t
Output asserted
Handling non-zero exit status of commands
~ $ die() { html "died: $@"; }
A non-zero exit status is an error, if using the cmd function.
~ $ false
died: Pipeline 'false' exited with status 1. It should have been 0.
Function cmde must be used instead.
~ $ false
It's an error if the cmde exits with different exit status.
~ $ true
died: Pipeline 'true' exited with status 0. It should have been 1.
Command statuses in a pipeline are asserted individually. First the happy case.
~ $ false | true
~ $ true | false
Then failure.
~ $ true | false
died: Pipeline 'true | false' exited with status 0 1. It should have been 1 0.
The bash special parameter 0 always expands to 0, to keep descript more robust. TODO maybe it would be better not to use set -eu.
~ $ die() { echo "$@"; exit 1; }
~ $ true
~ $ echo $?
0
Output asserted
~ $ false
~ $ echo $?
0
Output asserted
Redirects can be used
~ $ echo "it works" > file
~ $ cat file
it works
Output asserted
Forged path
Absolute paths in output get forged, partly for security and partly for reproducible builds.
~ $ pwd
/home/hacker
Output asserted
But out-was assertions need to use real paths! Forging must be visual only.
~ $ mkdir dir1 && cd dir1
~/dir1 $ pwd
/home/hacker/dir1
Output asserted
~/dir1 $ echo $PWD/another-dir
/home/hacker/dir1/another-dir
Output asserted
Absolute paths on command lines are also forged.
~/dir1 $ echo PWD expanded in the descript script: /home/hacker/dir1
PWD expanded in the descript script: /home/hacker/dir1
Output asserted
Home directory is forged, if absolute path points outside working area.
~/dir1 $ readlink -f /home/hacker
/home/hacker
Output asserted
~/dir1 $ echo /home/hacker/some/path '/home/hacker/other/path'
/home/hacker/some/path /home/hacker/other/path
Output asserted
~/dir1 $ cd ..
Mocked html browser
First missing html file.
~ $ die() { html "died: $@"; }
~ $ $BROWSER "missing.html"
died: Cannot browse, file does not exist: missing.html
Then missing name for the iframe file of a minimal html document.
~ $ $EDITOR "a.html"

Hello

died: Usage: browser FILE IFRAMENAME
Minimal happy case.
~ $ die() { echo "$@"; exit 1; }
~ $ $BROWSER "a.html"
Reusing iframe name fails.
~ $ die() { html "died: $@"; }
~ $ $EDITOR "a.html"

Hello

Hello 2

~ $ $BROWSER "a.html"
died: Cannot browse, iframe name already used: hello~ $ die() { echo "$@"; exit 1; }
New browse succeeds with different iframe name.
~ $ $BROWSER "a.html"
Empty section < &


Pottery Canyon
This sort of adventure you can explore enroute to something else. It doesn't require packing up a backpack, water for the day or sunscreen.
It also doesn't require a tank of gas or a Thomas Bros. guide. It does require you to stop and take notice, listen to the silence, check out a piece of of history, appreciate a gem amidst the urban sprawl and then get on with whatever you've got going.
This "tip" is good for anyone with small children whom you'd like to introduce to trails and basic natural environments.
Just off La Jolla Parkway which runs into La Jolla, make a right turn on Torrey Pines Road. At the first major signal, make a quick and hard right turn on Pottery Canyon Driveway.
Drive slowly onto the property. Follow the paved road until you arrive at the small dirt parking area. Look carefully along the way because you might find some four-legged friends you'd least expect to see in La Jolla. No, we can't give it away. We take the 5th.
In 2012, construction has been underway for new digs on the property.
You have entered a special place of 18.8 acres of public open space with towering eucalyptus trees. You'll see the private home of some "lucky duck" who shares access to the property.
The canyon trail is very short at 1/5th-mile. That is not a 'typo'. The tiny trail is only 1/5th-mile. Maybe it isn't suitable for the Siera Club Master Hike Committee, but it is perfect for children or for pulling off the beaten path once in awhile and getting a quick injection of nature.
It is long enough to step off from the world. It is short enough and close enough to city life to do it often.
In 1928, two brothers from Jalisco, Mexico migrated to the U.S. to look for a place that they could use for pottery making.
They found what San Diegans know so very well today, the San Diego soil is rich with clay. Good for pottery. Bad for modern day landscaping.
The guys bought the property, built their homes and developed a thriving business known as the La Jolla Canyon Clay Products Company.
Look at the rooftops of many of the old Spanish-style buildings in San Diego and you'd be safe to assume these guys produced some of the red clay tiles.
For over 20 years, their hands created handmade roof and floor tiles, adobe and other clay products. They stayed in the canyon for the remainder of their lives.
Pottery Canyon received San Diego Historic Landmark designation back in 1976. To see some neat old photos, you'll need to follow us!
Personal Experience
Go for the history, not for an amazing hike. Go in the springtime (which I did not) and I can guarantee it to be green and flowery (I saw the dying nastursiums so I know it gets pretty during this time).
It is very quiet and isolated out here so if you want peace and quiet, this is a good place to go.


You have worked with e-mail for too long. You know how it goes... You outline what needs to happen in an e-mail and hit "send," and then confusion and miscommunication happens. In today’s work environment, we need more than a free text field that leaves too much room for inefficiencies. Enter Coordel Tasks. With just a few clicks, everything you and your team need to do your work is right there in front of you-
- Purpose – define what you expect to happen.
- Deadline – enter when the Task needs to be done. If you don't set a specific deadline, it will default to the deadline of the Coord it is part of.
- Coord - assign it to a Coord or create a new one
- Delegate – give it to one of your existing contacts, or a new one. Or leave the field blank to do the Task yourself.
- Defer – set the start date of the Task to "sometime in the future."
- Deliverables – define the Task deliverables if you know what needs to be done and how. Or, you can leave it up to the person doing the Task to specify the deliverables.
- Blockers – select the Tasks in this or other Coords that need to be completed before this Task can be started.
- Attachments – attach the files that complete the briefing for this Task.


|
Perl Weekly
Issue #163 - 2014-09-08 - Roadmap/plan for Perl 5?
latest | archive | by Gabor Szabo
|
|
Hi there,
there was a very interesting thread on the Perl 5 Porters mailing list about the future of Perl. Worth looking at it.
There were also a surprisingly big number of reports about the Swiss Perl Workshop. (see at the bottom.) I am really glad about it even though I could not go :-(
Oh, and the Perl Weekly is looking for sponsors.
Enjoy your week!
|
|
|
|
Sponsors
|
Looking for Perl programmers?
The Perl Weekly newsletter reaches more than 5,000 Perl programmers who are really interested in programming in Perl. If you'd like to reach them, the Perl Weekly is probably your best avenue.
|
|
Articles
|
|
|
|
|
Discussion
|
Roadmap/plan for Perl 5?
Recently there was a thread on the p5p mailing list discussing the topic. I'd suggest reading the whole thread, but if you don't have time, this might explain how p5p, the Perl 5 Porters currently work. IMHO it would be great to have a centralized place where people who actively work on perl core could list their TODO items, break them down into smaller steps, and let others, who might have time, to join in implementing specific steps needed to accomplish that TODO item. A roadmap of many individual roads. Maybe an enhanced (I am not sure in what way though) version of the current TODO list. Maybe including the names of the people who consider each item as their personal goal with links to RT tickets and branches where the work already happens.
|
|
Code
|
I hate unpacking sub calls with shift
Vytas Dauksa rants about certain ways of parameter unpacking. He hates code that uses 'shift' there. Why not use 'pop' too then he argues. The reply is not waiting long. Toby Inkster mentions he would use pop if it was necessary.
|
|
Web
|
Mojolicious: Do It For The Candy!
Joel Berger is extracting 'Ooooh's and 'Aaaah's from onlookers by showing off some of the capabilities of Mojolicious: WebSocket, UserAgent, eval, testing.
|
|
CPAN
|
|
|
|
|
|
|
Urging users with good test suites to test-drive latest DBIx::Class trial
This is that time of the year again when Peter Rabbitson (Ribasushi) is getting ready for a new release of DBIx::Class and he wants to be sure it will work for you! So if you use DBIx::Class in an application, and especially if you have good test suite, then this is a very good time to test it with the upcoming release candidate.
|
|
|
|
Fun
|
Instant podcasts, in 50 lines of perl
David Cantrell implements in 50 lines of clean(!) perl what the other application does in 1,300 lines of PHP. True, he uses a few CPAN modules, but hey, loading them also adds to the line count!
|
|
Grants
|
|
|
Slides
|
The Whitespace in the Perl Community
As I understand from other sources, the 'whitespaces' meant by brian d foy in his talk are the places where the Perl community has some kind of a hole to be filled. For example a module implementing the API of a public service. Though I am not sure. I wish I also heard the talk, not just seen the slides.
|
|
Windows
|
|
|
Weekly collections
|
|
|
|
|
Perl Maven Tutorials
|
|
|
Event reports
|
|
|
YAPC::EU 2014
Xing was at YAPC EU in Bulgaria Kerstin Puschke reports.
|
|
|
|
|
|
|
|
|
|
|
|
Events
|
Perl-related events
In the following cities: Hancock (NY/USA), Itapema (SC/Brasil), Salzburg (Austria), Barcelona (Spain), London (UK)
|
|
YAPC::EU 2015 from 2nd to 4th September
It's almost a year from now, but if you are interested, mark it in your calendar now! (Remember, it is in Granada, Spain. Even if you don't care about Perl, it's a good excuse.)
|
|
You know, you could get the Perl Weekly right in your mailbox. Every Week. Free of charge!
|


SC notice: Ajit Pawar meets Fadnavis
by PTIAfter remaining ensconced in his south Mumbai residence throughout Sunday, NCP leader and newly-anointed deputy CM Ajit Pawar met Chief Minister Devendra Fadnavis late night and held closed-door discussions.
Earlier in the day, the supreme court issued notices to the Centre, Maharashtra government, Fadnavis and Ajit Pawar on a plea filed by the Congress-Shiv Sena-NCP combine seeking quashing of the governor's November 23 order inviting the BJP leader to form the government.
Senior BJP leaders Chandrakant Patil, Vinod Tawade and Girish Mahajan attended the meeting held at the official residence of the chief minister.
The apex court directed the Centre to place before it on Monday morning the letters of the governor Bhagat Singh Koshyari inviting Fadnavis and of the BJP leader staking his claim to form the government in the state.
The SC also said the issue of floor test, as demanded by the Congress-NCP-Sena combine, would be dealt with on Monday only after perusing the two letters- of Maharashtra Governor Bhagat Singh Koshyari inviting Fadnavis and of the BJP leader staking his claim to form the government- it has demanded.


This is a test page filled with common HTML elements to be used to provide visual feedback whilst building CSS systems and frameworks.
Text Input
Password
Web Address
Email Address
Phone Number
Search
Number Input
Error
Valid
[Top]
Select Option One Option Two Option Three
This is Textarea
Color input
Number input
Range input
Date input
Month input
Week input
Datetime input
Datetime-local input
<button type=submit> <button type=reset> <button disabled>


Beachy Head Marathon
Eastbourne ENG
Website: www.beachyheadmarathon.org.uk
Race Winners
(37 runnings)
3:36:58 3:31:02 3:30: 3:46: 27 Oct
2007
2:47:
3:29:
28 Oct
2006
3:00:
3:47:
29 Oct
2005
2:59:
3:36:
23 Oct
2004
2:58:
3:34:
25 Oct
2003
3:07:
3:31:
26 Oct
2002
2:59:
3:53:
27 Oct
2001
2:58:
3:27:
28 Oct
2000
3:03:
3:53:
30 Oct
1999
2:59:
3:39:
31 Oct
1998
3:04:
3:44:
01 Nov
1997
2:52:
3:25:
02 Nov
1996
2:53:
3:29:
28 Oct
1995
2:53:
3:36:
29 Oct
1994
2:56:
3:35:
30 Oct
1993
2:51:
3:28:
31 Oct
1992
2:59:
3:29:
26 Oct
1991
2:45:
3:35:
27 Oct
1990
2:57:
3:28:
28 Oct
1989
2:57:
3:26:
29 Oct
1988
2:52:
3:34:
28 Feb
1987
2:56:
3:30:
22 Feb
1986
2:53:
2:49:
23 Feb
1985
2:48:
3:20:
25 Feb
1984
2:51:
2:55:
19 Feb
1983
2:55:
3:13:
20 Feb
1982
3:00:
3:52:
28 Feb
1981
3:28:
4:09:
Notes: 1981 was the inaugural year. This event was known as the Seven Sisters Marathon thru 2001. The course is
a crosscountry loop. Times were reported to full minutes only thru 2009. The course was lengthened to a full "26 miles"
in 1986.
28 Oct
2017
2:56:45
Todd Leckie (ENG)
3:27:12
Alexie Williams (ENG)
29 Oct
2016
2:50:38
Sam Humphrey (ENG)
3:32:14
Emily Hutchinson (ENG)
24 Oct
2015
3:08:07
Stuart Mills-8
3:23:49
Sarah Swinhoe (ENG)
25 Oct
2014
2:55:40
Stephan Wenk (SUI)
3:32:49
Jo Singer (ENG)
26 Oct
2013
2:55:45
Jeff Pyrah (ENG)
3:30:16
Andrea Green (ENG)
27 Oct
2012
3:09:53
Rob Harley (ENG)
3:32:04
Suzannah Casebourne-2
22 Oct
2011
3:02:25
Steve Nimmo (ENG)
Suzannah Casebourne (ENG)
23 Oct
2010
3:02:15
Stuart Mills-7
Emma Richards (ENG)
24 Oct
2009
3:03:
Stuart Mills-6
Sam Alvarez (ENG)
25 Oct
2008
3:02:
Stuart Mills-5
Angie Sadler (ENG)
Timothy Short (GBR)
Annabelle Stearns (ENG)
Matt Giles (ENG)
Lisa Joanne Barry (ENG)
Stuart Mills-4
Sue Sleath-2
Stuart Mills-3
Sue Sleath (GBR)
Stuart Mills-2
Julia Armstrong (ENG)
Stuart Mills (ENG)
Julia Drake (ENG)
Danny Woods-2
Lindsey McLaren (GBR)
Danny Woods (ENG)
Tracey Owen (ENG)
Brian Willis (ENG)
Jane Boulton-2
Mikk Bradley-4
Louise Forrest
(ENG)
Mikk Bradley-3
Libby Jones-3
Ian Stoneman (GBR)
Libby Jones-2
Damon Rodwell-2
Jane Boulton (ENG)
John Hudspith (GBR)
Libby Jones (ENG)
Jan Swenson (SWE)
Hilary Walker (ENG)
Kevin Willis (ENG)
Clare Weyman-3
Mikk Bradley-2
Libby Griffin (ENG)
Damon Rodwell (ENG)
Clare Weyman-2
Mikk Bradley (ENG)
Sarah Coope (ENG)
Malcolm MacBride (GBR)
Vivienne Hill (ENG)
Sean O'Neill (ENG) + Kevin Turner (ENG)
Clare Weyman (ENG)
Sam Lambourne-2
Sarah Rowell-4
Derek Stevens-2
Jacky Smith (ENG)
Sam Lambourne (ENG)
Sarah Rowell-3
Derek Stevens (ENG)
Sarah Rowell-2
Mark Pickard (ENG)
Sarah Rowell (ENG)
Andrew Harmer (ENG)
Ros Paul (ENG)
Most Wins
(1981-date)
Men
8
Stuart Mills (ENG)
2002-05,2008-10,2015
Women
4
Sarah Rowell (ENG)
1982-84,1986
Prize Money
(ADR qualified runners)
No information on prize money has been received for this race.
Race Time Bias (sec/km)
Insufficient data to calculate the competitive level.
Competitive Level
(1990-date)
Insufficient data to calculate the competitive level.
Quality Performances
Men No men under 2:20 Women <2:50 1
Last Updated on 04 Nov 2017
Contributors: Les Smith, Andy Milroy, Juraj Gasparovic (15), Klaas Loonstra (50), Mick McGeoch (5)


{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block styles %} {% endblock %} {% block title %} Sending punishment tokens {% endblock %} {% block scripts %} {% endblock %} {% block content %} {% include 'pggfg/punishmentinstructions.html' %}
| Participant | Contribution | Punishment tokens sent | Their earnings reduced by |
|---|---|---|---|
| {{ ab.2 }} | {{ ab.1}} | ||
| Your earnings will be diminished by: |


While creating new products and services, organizations also produce the knowledge of how these products, services could be created. All sorts of intellectual property, like discoveries, inventions, formulas; music, literature, and other artistic works; software source codes, and designs could be counted as such knowledge.
Although this is a very unique and important asset to the society, majority of the organizations tend to keep this knowledge to themselves by using restricted licenses, patents. In the long term, this 'overprotection' turns out to be a very counter-productive approach, reduces the collaboration chance between the organizations. When the knowledge has not shared, every other organization has to spend a similar time and energy to get to the same level. In other words, we keep reinventing the same knowledge over and over again.
Rewarding the organizations that use licenses with more flexible rights could encourage sharing the knowledge and let us build a common knowledge.
Knowledge Index allows us to compare the patents, licenses side by side and rate them directly. The resources then could be distributed to the organizations based on their license choice.
In the next part, you will see two sample software licenses that represent the existing situation in general. Open source licenses usually give much more right to the users of its product and restricted licenses, mostly used for proprietary products, would only allow the product to be used by its owner.
In reality, from income perspective, restricted licenses dominate their market. Meaning that we reward the organizations that keep their knowledge to themselves.
If we could encourage the organizations to share their knowledge and let them cooperate, we would save massive time & energy and start building a common knowledge.
+
button increase Number of Sales, initially all organizations will have same Total Income.
License
link below and rate each item based on their benefits.
In the sample below, we list some popular software licenses. As an optional step, we would like to encourage you to rate these licenses. This would allow us to see which licenses we think are more beneficial and let us simulate the impact of 'Knowledge Index' in real life. You can read the details of each license by clicking its name.


Initial
Final
Horizontal
Veritcal
Horizontal
Vertical
Position
0.0 m
0.0 m
Velocity
4.0 m/s
10 m/s
Acceleration
0 m/s
2
-9.8 m/s
2
Start
Throw Upwards
Throw Sideways