Skip to content

Instantly share code, notes, and snippets.

View savannahostrowski's full-sized avatar
in your terminal

Savannah Ostrowski savannahostrowski

in your terminal
View GitHub Profile
@savannahostrowski
savannahostrowski / blog_issues.sh
Created August 31, 2023 04:53
Used to grab azd repo issues that were closed between the last release and current release and format them for the blog
#!/usr/bin/env bash
# Usage: ./blog_issues.sh
# Set the start and end dates
read -p "Setting start date: " start_date;
read -p "Setting end date: " end_date;
echo start_date: $start_date end_date: $end_date;
gh issue list --repo azure/azure-dev --search "state:closed closed:$start_date..$end_date" --json number,title,closedAt,author --jq '.[] | "- \(.title) ([azure-dev#\(.number)](https://www.github.com/azure/azure-dev/issues/\(.number)))"' > blog_issues.md

Keybase proof

I hereby claim:

  • I am savannahostrowski on github.
  • I am seaquenched (https://keybase.io/seaquenched) on keybase.
  • I have a public key ASADUhTgBEQhrICAnl5EovxCmrOFXKBedRGgic9r3N1hrwo

To claim this, I am signing this object:

@savannahostrowski
savannahostrowski / smart_desk.ino
Last active August 4, 2020 03:54
A4 - Ambient Display
//---------------------------------------------
// Contact Switch
//---------------------------------------------
#include <ESP8266WiFi.h> // Requisite Libraries . . .
#include <PubSubClient.h>
#include <Wire.h>
#include <ArduinoJson.h>
#include "config.h" // include the configuration of credentials in the config.h file
/*
* This sketch does a couple things:
1. Grabs your IP address
2. Grabs your location from the IP address
3. Uses the location to get the current weather's description from the Open Weather API
4. Uses that description to query the Unsplash API for a suitable image related to the current weather in your area
* Savannah Ostrowski
*/
@savannahostrowski
savannahostrowski / is_that_north_of_you.ino
Last active July 21, 2020 01:19
HCDE 598 - In-Class Exercise #4
/*
* This sketch takes in user input for a latitude and a longitude via the serial monitor,
* uses ipify to grab your IP address, calculates the bearing between the two coordinate
* pairs, and maps that bearing to a compass direction.
* The direction is both outputted to an OLED screen and an Adafruit IO dashboard.
*
* Savannah Ostrowski
*/
/************************** Configuration ***********************************/
@savannahostrowski
savannahostrowski / A1.ino
Last active July 18, 2020 23:55
HCDE 598 - Assignment 1
/* Assignment 1 - A Sensor Platform
*
* A PHYSICAL COLOUR PICKER
*
This sketch does a couple of different things:
- Uses an APDS9600 sensor to detect changes in hand gesture direction to choose a colour
- A hand gesture toward the right loops over a set of colours (red, green, blue, yellow, purple, aqua)
- The colour name is logged to an 128x32 I2C OLED, to an Adafruit IO dashboard and to an RGB LED
- On the Adafruit dashboard, you can hit a "Pick a random colour button". That button press is
logged and sent back to the Feather Huzzah to display the colour on an RGB LED
@savannahostrowski
savannahostrowski / sensors.ino
Last active July 18, 2020 23:56
HCDE 598 - In-Class Exercise #3
/*In-Class Exercise #3
*
A simple sketch to log DHT22 temperature and relative humidity data and MPL115A2 pressure data
to a 128x32 I2C OLED and Adafruit IO dashboard (https://io.adafruit.com/sostrows/dashboards/ice-3)
Savannah Ostrowski
*/
/************************** Configuration ***********************************/
@savannahostrowski
savannahostrowski / simple_atlas_setup.md
Last active April 24, 2018 15:25
A Simple Bash Script to Setup and Run Atlas Checks

The following script will delete the build folder for your atlas-checks repo, set the ISO country code, and gradle run.

1. Create a file in your Atlas Checks directory called run_checks.sh either by using touch and vi, or manually.
2. Copy the following bash code into the new run_checks.sh file and replace the path_to_build to where you have your build folder located, and the path_to_gradle_props to where you have the gradle.properties file located. Make sure that there are no spaces around =.
 #!/bin/bash
 path_to_build=~/Documents/code/atlas-checks/build
 path_to_gradle_props=~/Documents/code/atlas-checks/gradle.properties
 path_to_data=~/Documents/code/atlas-checks/data