Skip to content

Instantly share code, notes, and snippets.

@ianchesal
ianchesal / README.md
Last active August 13, 2023 13:50
Migrating NightScout site from Heroku to Render.com

Migrating NightScout from Heroku to Render.com

!!!! Attention !!!!

These are mostly my rough notes on the process I followed to migrate my NightScout site from Heroku to Render.

They have not been rigorously tested or attempted more than the one time I migrated.

I'm using NightScout with a Dexcom setup. I have no idea if these instructions will work for any other CGM setup.

@FedericoTartarini
FedericoTartarini / import_qualtrics.py
Last active February 8, 2024 17:13
Automatically download Qualtrics survey responses using Python and Qaultrics API.
import requests
import zipfile
import io
def get_qualtrics_survey(dir_save_survey, survey_id):
""" automatically query the qualtrics survey data
guide https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Python-Tool-Downloading-Qualtrics-Survey-Data-using-Python-API/td-p/304898 """
# Setting user Parameters
api_token = "<your token>"
@kentwait
kentwait / cuda-beagle-beast_setup.md
Last active March 27, 2024 14:10
How to set-up CUDA, BEAGLE, and MrBayes/BEAST

Overview

Bayesian phylogentic programs like MrBayes and BEAST work better when the BEAGLE library is installed. BEAGLE provides these programs with an MCMC sampler using CPU-based or GPU-based computation. Therefore, before compiling or using MrBayes and BEAST, BEAGLE and other prerequisites must be set-up and installed first. Unfortunately, setting-up all these software and libraries can become pretty frustrating very quickly.

Here I show how to properly set-up these programs to keep your frustration to a minimum. Broadly speaking, these instructions are applicable for Windows, Mac, and Linux. However, because I am specifically recounting my own experiencing setting-up my Linux machine, the more detailed parts of this guide focuses on installing on Linux.