Skip to content

Instantly share code, notes, and snippets.

View benzerbett's full-sized avatar

Benzer benzerbett

  • KE
View GitHub Profile
FROM php:8.3-bookworm
RUN apt update -q && apt upgrade -y \
&& apt-get install -y build-essential git libnode-dev
RUN cp -s /usr/lib/`uname -m`-linux-gnu/libv8* /usr/local/lib/ \
&& cp -rs /usr/include/node/* /usr/local/include/
# TODO: Use PECL
@benzerbett
benzerbett / README.md
Created May 16, 2025 18:23 — forked from pigeonflight/README.md
This is an ugly script to just extract/unpack the ICD-11 codes from a local docker instance of the ICD-11 api

Assumptions

You have Python. You've installed the requests library. You have docker on your machine.

Usage

  1. Launch the ICD-11 docker container
docker run -p 80:80  --env "acceptLicense=true" --env "saveAnalytics=true" --env "includeIp=false" whoicd/icd11_sw_1904_mms_en
@benzerbett
benzerbett / eid-fhir-servicerequest.json
Last active August 31, 2023 12:49
eid-fhir-servicerequest
{
"resourceType": "ServiceRequest",
"id": "5d736a8b-30cb-5867-84aa-94e4cb2a284z",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Generated Narrative: Human immunodeficiency virus viral load (procedure)</div>"
},
"contained": [
{
"resourceType": "Specimen",
@benzerbett
benzerbett / sync.md
Created July 19, 2023 06:05 — forked from xin053/sync.md
[go sync] go sync #go #sync

sync.WaitGroup

package main

import (
	"log"
	"math/rand"
	"sync"
	"time"
@benzerbett
benzerbett / nginx.conf
Created April 4, 2023 13:00 — forked from nrollr/nginx.conf
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
package main
import (
"flag"
"log"
"net/http"
)
var (
@benzerbett
benzerbett / nginx.conf
Created October 24, 2022 12:05 — forked from Maximization/nginx.conf
Basic Nginx configuration for serving multiple websites at different domains
# `events` block is required so we add an empty one for validity
events {}
http {
# Configuration block for weatherapp.com
server {
listen 80; # HTTP
server_name weatherapp.com; # match all requests originating from "weatherapp.com" domain
# Route all requests to port 3000 on localhost
pages
- auth
login.js
signup.js
password-reset.js
password-email.js
- admin
- access
list_permissions.js
list_roles.js
{
"programmes": [
{
"name": "COVID Proficiency Testing",
"code": "SARS-CoV-2-PT",
"description": "SARS-CoV-2 Proficiency Testing",
"form": [
{
"name": "COV-PT RA Aug22",
"code": "SARS-CoV-2-PT-RA-Aug22",
{
"submissions": {
"uuid": "uuid",
"submitted_by": "foreign(users):uuid",
"submitted_on": "datetime",
"submitted_from": "string", // ip address, device, web/mobile, etc.
"rejected": "boolean;nullable",
"rejected_on": "datetime;nullable", // when the submission was rejected
"rejected_by": "foreign(user):uuid;nullable",
"rejected_reason": "string;nullable",