Skip to content

Instantly share code, notes, and snippets.

View stephane-klein's full-sized avatar

Stéphane Klein stephane-klein

View GitHub Profile
System:
Host: t14s Kernel: 6.2.7-200.fc37.x86_64 arch: x86_64 bits: 64
Desktop: GNOME v: 43.3 Distro: Fedora release 37 (Thirty Seven)
Machine:
Type: Laptop System: LENOVO product: 21CQCTO1WW v: ThinkPad T14s Gen 3
serial: <superuser required>
Mobo: LENOVO model: 21CQCTO1WW v: ThinkPad serial: <superuser required>
UEFI: LENOVO v: R22ET55W (1.25 ) date: 09/14/2022
Battery:
ID-1: BAT0 charge: 43.4 Wh (70.6%) condition: 61.5/57.0 Wh (107.9%)
$ curl -X POST \
https://api-gw-dev.ccep.com/gateway/gbr_poc_4pl_inboundDelivery/v1/deliveries \
-H 'Authorization: Basic Z3VpZG8uYnJpZXNlbWFubkBjY2VhZy5kZTpNYXIyMDIxIQ==' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 2acdb755-8e4f-4b2b-9a0a-2cc8a3fb9be6' \
-d '{
"delivery": {
"partnerNumber": "0000",
"deliveryNumber": "0242309188",
@stephane-klein
stephane-klein / sql_builder_insert.py
Created August 24, 2021 21:11
sql_builder_insert Python example
from psycopg2 import sql
import queries
pg_session = queries.Session(
queries.uri(
host='localhost',
port='5439',
dbname='postgres',
user='postgres',
password='password'
@stephane-klein
stephane-klein / cloudSettings
Last active October 3, 2019 21:22
vscode-extensions
{"lastUpload":"2019-10-03T21:22:40.169Z","extensionVersion":"v3.4.3"}