Skip to content

Instantly share code, notes, and snippets.

View citizenrich's full-sized avatar

Richard Stanley citizenrich

View GitHub Profile
@citizenrich
citizenrich / openinfoman-manual.sh
Created August 30, 2017 18:27
Shell script for OpenInfoMan manual installation
#!/bin/bash
cd $HOME
basexhttp stop || true
pkill java || true
rm -rf .base* || true
rm -rf BaseX853* || true
rm -rf basex/ || true
rm -rf openinfoman || true
rm -rf openinfomangh || true
rm -rf openinfoman-csv || true
@citizenrich
citizenrich / Caddyfile
Created September 11, 2017 15:00
iHRIS docker (WIP)
localhost:8081
gzip
tls self_signed
fastcgi / 127.0.0.1:9000
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');

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:

@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
package main
import (
"fmt"
"github.com/citizenrich/fhirprotogo/proto/stu3"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
)
func main() {
package main
import (
"fmt"
"github.com/citizenrich/fhirprotogo/proto/stu3"
"github.com/golang/protobuf/jsonpb"
)
func main() {
@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{}
@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 / 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