Skip to content

Instantly share code, notes, and snippets.

View firaswehbe's full-sized avatar

Firas Wehbe firaswehbe

View GitHub Profile
@firaswehbe
firaswehbe / get_weights.py
Created February 4, 2020 19:48
Extracting your weight from Apple Health
#!/usr/bin/env python
# Export the data from Apple Health
# You will get an export.zip file
# Unzip that file. You will get a bunch of files use export.xml
import xml.etree.ElementTree as ET
tree = ET.parse('export.xml')
root = tree.getroot()
@firaswehbe
firaswehbe / animals.txt
Created August 12, 2014 11:35
Animals file for the cut example
2012-11-05,deer
2012-11-05,rabbit
2012-11-05,raccoon
2012-11-06,rabbit
2012-11-06,deer
2012-11-06,fox
2012-11-07,rabbit
2012-11-07,bear
png(filename="hello%03d.png",width=800,height=800)
plot(c(1:100),c(1:100))
plot(c(1:100),c(1:100))
plot(c(1:100),c(1:100))
dev.off()
rm(list=ls())
# Manual way to create a grid from x in [-10,10]
# and y in [-5,5]
a<-matrix(rep(seq(-10,10,2),11))
a<-cbind(a,rep(c(-5:5),each=11))
# Assign classes in a linearly separable way
myclass = (a[,1]+a[,2])<5

We have two positions available for immediate hire at the Vanderbilt Institute for Clinical and Translational Research - VICTR. Both positions require working knowledge in PHP/Javascript-jQuery/MySQL. One position will involve (among other things) building and optimizing custom Drupal modules that are part of a high profile national research portal and that interface with other systems within our architecture. The developer in the other position will be working on applications that we develop in-house in support of the research infrastructure at Vanderbilt.

Below are the links for job description and application. Please don't hesitate to contact me (firas.wehbe@vanderbilt.edu) if you have any questions about the open positions and our mission at VICTR, or to let me know that you have applied through the HR links below.

Health Systems Analyst Programmer (Drupal)

[Health