Skip to content

Instantly share code, notes, and snippets.

View evanvin's full-sized avatar
:shipit:

Evan Vinciguerra evanvin

:shipit:
View GitHub Profile
@evanvin
evanvin / api.yml
Created January 26, 2024 16:39
w api openapi schema
openapi: '3.0.0'
info:
version: '1.0.0'
title: 'Wordalike API'
description: Base wordalike endpoints
paths:
/words/:
get:
summary: Retrieves the two daily hydrated words
@evanvin
evanvin / git.md
Created August 1, 2023 13:54
Helping tips for getting used to the Github fork flow

In the following text, anything mentioned as upstream is the remote name I use for my non-fork git remote

Start

git checkout -b ‘newFeatureBranch’

# do work  

git add files
import requests, json
webhook = "https://hooks.slack.com/services/XXXX/XXXX/XXXX"
payload = {"text": "Anomaly detected!"}
requests.post(webhook, json.dumps(payload))

Keybase proof

I hereby claim:

  • I am evanvin on github.
  • I am evanvin (https://keybase.io/evanvin) on keybase.
  • I have a public key ASBgQn3vpIKvIjtLF7JHsC0s1KLgeaqA09jGYJ6eF-Rftgo

To claim this, I am signing this object:

@evanvin
evanvin / cloudspeech_demo.py
Last active July 28, 2019 13:04
Google AIY cloud speech demo with added command using Google's tutorial (https://aiyprojects.withgoogle.com/voice/#makers-guide--custom-voice-user-interface)
#!/usr/bin/env python3
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@evanvin
evanvin / face_detection_with_servo.py
Created July 28, 2019 12:57 — forked from aallan/face_detection_with_servo.py
A Python script using the AIY Projects Vision Kit to turn a servo motor in the direction of detected face.
#!/usr/bin/env python3
import argparse
from aiy.vision.inference import CameraInference
from aiy.vision.models import face_detection
from aiy.vision.annotator import Annotator
from picamera import PiCamera
from gpiozero import Servo