Skip to content

Instantly share code, notes, and snippets.

View ifuller1's full-sized avatar

Ian ifuller1

View GitHub Profile
#!/usr/bin/env python3
"""
Voice Enrollment Tool
Records voice samples and generates a speaker embedding (.npy file).
Copy the resulting .npy to your Wyoming bridge's voice_profiles/ directory.
"""
import argparse
import sys
import wave
#!/usr/bin/env python3
"""
Wyoming Protocol to HTTP Bridge
Translates Wyoming protocol requests to HTTP API calls for Metal-accelerated services.
Includes speaker identification via voice embeddings (resemblyzer).
Identified speaker name is prepended to the transcript as [SpeakerName].
"""
from __future__ import annotations
@ifuller1
ifuller1 / workflow.json
Last active July 30, 2024 10:19
Investa Workflow Example
[
{
"equity-pricing": {
"steps": [
{
"check-out-of-hours": {
"steps": [
{
"get-current-time": {
"assign": [
@ifuller1
ifuller1 / Code.gs
Last active February 16, 2023 21:23
For copying events between calendars
//import "google-apps-script";
const doCleanup = false;
const doSync = true;
const isProduction = true;
const debug = false;
const id = "source@email.com";
const tagName = "sourceId";
const copyTitle = true;
const preappendString = `Booked for ${id} - `;
import logging
import datetime
import json
import glob
from airflow import DAG
from airflow import models
from airflow.hooks.http_hook import HttpHook
from airflow.operators.slack_operator import SlackAPIPostOperator
from airflow.operators.python_operator import PythonOperator
import logging
import datetime
import json
from airflow import DAG
from airflow import models
from airflow.hooks.http_hook import HttpHook
from airflow.operators.python_operator import PythonOperator
SYMBOLS = ['AAPL', 'GOOGL', 'SNAP']
import logging
import datetime
from airflow import DAG
from airflow import models
from airflow.operators.python_operator import PythonOperator
YESTERDAY = datetime.datetime.combine(
datetime.datetime.today() - datetime.timedelta(1),
datetime.datetime.min.time())
#!/bin/zsh
if [[ $1 == "" ]]; then
echo "Please provide a project id e.g. ./scripts/setup your-project-id"
exit
fi
#define variables
PROJECT_ID=$1
COMPOSER_ID="$1-composer"
#!/bin/zsh
if [[ $1 == "" ]]; then
echo "Please provide a project id e.g. ./scripts/setup your-project-id"
exit
fi
#define variables
PROJECT_ID=$1
COMPOSER_ID="$1-composer"
At Trail we've been using [Pentaho's open source data integration (Kettle) app]
(http://community.pentaho.com/projects/data-integration/) to design ETL jobs that are used to provide our partner
integrations. As we integrate with more partners we've found some of the more complex integrations harder to achieve.
Using a GUI to design jobs provides a useful abstraction when they're made up of basic joins and transformations
but, as some of our jobs have become more complex, working with and understanding the tooling has produced diminishing returns.
### AWS Lambda
[AWS Lambda](https://aws.amazon.com/lambda/) is a stateless computation-as-a-service (CaaS?) platform, or as Amazon put it:
> AWS Lambda is a compute service where you can upload your code to AWS Lambda and the service can run the code on your behalf using
> AWS infrastructure. After you upload your code and create what we call a Lambda function, AWS Lambda takes