Skip to content

Instantly share code, notes, and snippets.

@ffos
ffos / list.txt
Created May 29, 2024 23:16 — forked from shortjared/list.txt
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
@ffos
ffos / snipsWavenet.sh
Created December 22, 2018 02:37 — forked from Psychokiller1888/snipsWavenet.sh
Give access to Google Wavenet to your Snips assistant
#!/usr/bin/env bash
# Shell script to use Google Wavenet as Snips TTS
# Install mpg123: sudo apt-get install mpg123
# Install Google SDK: https://cloud.google.com/text-to-speech/docs/quickstart-protocol.
# Follow point 6. to initialize the sdk after creating your service account. There is an apt-get install procedure!!
# Set the correct path to your googlecredentials.json file
export GOOGLE_APPLICATION_CREDENTIALS=""
# Set your cache path
cache=""
# Edit /etc/snips.toml
@ffos
ffos / AppSync-Example.yaml
Created October 27, 2018 06:44 — forked from adrianhall/AppSync-Example.yaml
An example CloudFormation template for AWS AppSync
---
Description: AWSAppSync DynamoDB Example
Resources:
GraphQLApi:
Type: "AWS::AppSync::GraphQLApi"
Properties:
Name: AWSAppSync DynamoDB Example
AuthenticationType: AWS_IAM
PostDynamoDBTableDataSource:
@ffos
ffos / understanding-word-vectors.ipynb
Created April 25, 2018 23:13 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ffos
ffos / LinkWrapper.java
Last active December 6, 2016 12:54
[Experiment] Bytecode instrumentation to add "links" to pojos
@ffos
ffos / Main.elm
Last active July 31, 2016 20:44
[Learning / Scratchpad] Using JS DataTables library, and (unidiomatic) Elm 0.17 with ports to create an infinitely scrolling fixed-header table. (I dislike infinitely scrolling tables, but may need it anyways)
port module Main exposing (..)
import Html exposing (..)
import Html.App as App
import Html.Attributes exposing (..)
import Html.Events exposing (..)
type alias Model = List (String, String)