https://github.com/LinuxForHealth/FHIR/
fhir-server-config.json
{
"__comment": "config for internal fhir-server deployments",
"fhirServer": {
https://github.com/LinuxForHealth/FHIR/
fhir-server-config.json
{
"__comment": "config for internal fhir-server deployments",
"fhirServer": {
export const createACopy = ( | |
sourceFile: string, | |
destFile: string, | |
matchers: string[], | |
replacer: string[], | |
) => { | |
// Import the filesystem module | |
const filePath = path.join(`${process.cwd()}/path/`, sourceFile); | |
let programSource = readFileSync(filePath).toString(); |
version: "3" | |
networks: | |
fhir-server: | |
driver: bridge | |
services: | |
fhir: | |
container_name: fhir-server | |
image: hapiproject/hapi:v5.3.0 |
import React from 'react'; | |
import { | |
Navigate, Route, RouteProps | |
} from 'react-router-dom'; | |
interface PrivateRouteProps extends RouteProps { | |
// tslint:disable-next-line:no-any | |
component: any; | |
isAuthenticated: boolean; | |
} |
egrep -rl 'kecamatan_id' seeders/* | xargs -I@ sed -i '' 's/kecamatan_id/subdistrict_id/g' @
TextInputFormatter.withFunction((oldValue, newValue) { | |
if (newValue.selection.baseOffset == 0) { | |
return newValue; | |
} | |
double value = double.parse(newValue.text); | |
final formatter = NumberFormat.simpleCurrency( | |
locale: "nok", | |
); |
sudo adduser <new-user>
usermod -aG sudo <new-user>
su <new-user>
-> switch to new user<new-user>
as root with sudo visudo
<new-user> ALL=(ALL) NOPASSWD:ALL
and save it<new-user>
againapt-get update && sudo apt-get upgrade
apt install vim
-> installing vim#!/bin/bash | |
# See at link below for update | |
# https://gist.github.com/darmawan01/b600707ba10d1c2f4267717c69904336 | |
if [ "$1" = "init" ]; then | |
docker run -d --name gitlab-runner \ | |
--restart always \ | |
--privileged \ | |
-v $(pwd):/etc/gitlab-runner \ |