Skip to content

Instantly share code, notes, and snippets.

View citizenrich's full-sized avatar

Richard Stanley citizenrich

View GitHub Profile
@citizenrich
citizenrich / README.md
Created July 1, 2020 18:31
How to setup HAPI FHIR and Postgres in Docker

Start with a fresh folder and copy a hapi.properties into it. It will be mounted into the container.

Carefully make sure your hapi.properties looks like this:

# add postgres
datasource.driver=org.postgresql.Driver
datasource.url=jdbc:postgresql://db:5432/hapi
hibernate.dialect=org.hibernate.dialect.PostgreSQL95Dialect
datasource.username=admin
datasource.password=admin
<?xml version='1.0' encoding='utf-8'?>
<?grc format='1' created='3.7.13'?>
<flow_graph>
<timestamp>Wed Dec 18 21:36:01 2019</timestamp>
<block>
<key>options</key>
<param>
<key>author</key>
<value></value>
</param>
@citizenrich
citizenrich / stuff.md
Last active August 31, 2022 14:28
pybombs on macos with python3.7

pybombs:

cd
rm -rf .pybombs
rm -rf prefix
pip3 install pybombs
# a lot of other deps are installed but not listed
pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git  
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
@citizenrich
citizenrich / stuff.md
Created May 3, 2019 19:20
Errors from building GNURadio from master branch source on macOS with homebred-installed deps

Prerequisites not installed through pip:

$ brew list --versions gcc git cmake boost cppunit log4cpp swig python doxygen pygtk fftw gsl qt qwt portaudio uhd sdl
boost 1.69.0_2
cmake 3.14.3
cppunit 1.14.0
doxygen 1.8.15
fftw 3.3.8
gcc 8.3.0_2
@citizenrich
citizenrich / main.go
Last active September 1, 2018 22:38
Not working hello world for FHIR and Go
package main
import (
"fmt"
"github.com/citizenrich/fhirprotogo/proto/stu3"
_ "github.com/golang/protobuf/proto"
)
func main() {
dest := google_fhir_stu3_proto.Patient{}
package main
import (
"fmt"
"github.com/citizenrich/fhirprotogo/proto/stu3"
"github.com/golang/protobuf/jsonpb"
)
func main() {
package main
import (
"fmt"
"github.com/citizenrich/fhirprotogo/proto/stu3"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
)
func main() {
@citizenrich
citizenrich / fresh_manual_install.sh
Last active January 9, 2018 13:49
fresh manual install oim
#!/bin/bash
set -ex
# centos
# for remote install on fresh hosts:
# sudo yum -y install openssh openssh-server openssh-clients openssl-libs
# systemctl restart sshd.service
# ip address
# requirements are a JRE, PHP, Git, wget, unzip. php-xml is an addtl req for CentOS.
# sudo yum install -y git wget unzip java-1.7.0-openjdk php php-xml

Keybase proof

I hereby claim:

  • I am citizenrich on github.
  • I am rstanley (https://keybase.io/rstanley) on keybase.
  • I have a public key ASApnrPJmKK7W9vjlZmCZYC4o1BKelLa0WJXAwnDjtTTlgo

To claim this, I am signing this object:

const puppeteer = require('puppeteer');
(async () => {
// const browser = await puppeteer.launch();
const browser = await puppeteer.launch({headless: false, slowMo: 50}); // default is true, slow down by 50ms
const page = await browser.newPage();
// await page.goto('http://demo.ihris.org/iHRIS/Manage/login');
await page.goto('http://localhost/manage-demo/login');