Skip to content

Instantly share code, notes, and snippets.

View wolframalexa's full-sized avatar

Alexa Jakob wolframalexa

View GitHub Profile
#!/bin/bash
# This script installs all the dependencies necessary for running an OpenPose bodytracking algorithm
# on the Jetson Nano with a Microsoft Kinect camera.
# Alexa Jakob, Fall 2020
# install Microsoft Kinect SDK
# This step is not required, but is useful to troubleshoot by accessing the camera
# This part written by Andy Jeong and provides a low-cost bodytracking algorithm with the Kinect SDK;
# However it is not currently supported on ARM boards
@wolframalexa
wolframalexa / clap-as-impulse.m
Created April 29, 2020 03:23
MATLAB code generating graphs for my clap-as-impulse blog post
clear; close all; clc
%% Alexa Jakob
% Code for graphs at alexajakob.com/blog%20posts/2020/04/23/clap-as-impulse.md
%% Dirac Delta Function
x = -10:10;
d = dirac(x);
idx = d == Inf;
d(idx) = 1; % set Inf to finite value so it shows up
@wolframalexa
wolframalexa / vent_code.ino
Last active April 8, 2020 17:46
Arduino code for the Columbia DIY Ventilator Challenge
int bpm = 30; // breaths per minute; can be changed by clinician
// sensors
int presLimit = 100; // [g], limit for pressure sensor
int colorLimit = 200; // limit for color sensor
int FSRSeries = 10000; // resistor value in series w/ FSR
float presLimitVoltage = FSRSeries/(FSRSeries + 8000);
float colorLimitVoltage = (colorLimit/256)*5;
float presVoltage = 0;
int redValue = 0;
@wolframalexa
wolframalexa / countries.sql
Created March 26, 2020 20:56
SQL Countries of the World Project on Codecademy
SELECT COUNT(id) FROM countries WHERE continent = 'Africa';
SELECT SUM(population) FROM population_years JOIN countries ON population_years.country_id = countries.id WHERE countries.continent = 'Oceania' AND year = 2005;
SELECT AVG(population) FROM population_years JOIN countries ON population_years.country_id = countries.id WHERE countries.continent = 'South America' AND year = 2003;
SELECT countries.name FROM population_years JOIN countries ON population_years.country_id = countries.id WHERE population_years.year = 2007 ORDER BY population ASC LIMIT 1;
SELECT AVG(population) FROM population_years JOIN countries ON population_years.country_id = countries.id WHERE countries.name = 'Poland';

Keybase proof

I hereby claim:

  • I am wolframalexa on github.
  • I am wolframalexa (https://keybase.io/wolframalexa) on keybase.
  • I have a public key ASD5-WBjdiJp_Y6H2ir51CuxqsB4I8_BeomyLMysyk29Vgo

To claim this, I am signing this object: