Skip to content

Instantly share code, notes, and snippets.

View rafamayo's full-sized avatar

Rafael Mayoral rafamayo

  • Kempten University of Applied Sciences
  • Germany
View GitHub Profile
import json
import os
import requests
#fhir server endpoint
URL = "http://localhost:8080/hapi-fhir-jpaserver/fhir/"
#fhir server json header content
headers = {"Content-Type": "application/fhir+json;charset=utf-8"}
@jkutner
jkutner / atik-indi-phd2-raspbian-instructions.md
Last active January 19, 2024 19:09
Turn a Raspberry Pi into an Astrophotography Autoguider
@pubkey
pubkey / corsair_headset_linux.bash
Last active November 10, 2023 10:53
Corsair Gaming VOID Headset on Linux
# Corsair headsets will stuck the apps on your linux system. This is due to wrong usb-mapping.
# thx to http://www.c0urier.net/2016/corsair-gaming-void-usb-rgb-linux-fun
# 1. open terminal
# 2. type this and search the line with your headset
lsusb
# Get the USB ID of the headset and add it to xorg.conf:
@walkie
walkie / mips.sty
Last active March 16, 2024 09:43
MIPS Assembly language definition for the LaTeX listings package.
% MIPS Assembly language definition for the LaTeX `listings' package
%
% The list of instructions and directives are those understood by the
% MARS MIPS Simulator [http://courses.missouristate.edu/KenVollmar/MARS/]
%
% Author: Eric Walkingshaw <eric@walkingshaw.net>
%
% This code is in the public domain.
%
% Here is an example style. I like it for slides, but you might want