Skip to content

Instantly share code, notes, and snippets.

View steve-ochoa's full-sized avatar
🏠
Working from home

Steve O. steve-ochoa

🏠
Working from home
View GitHub Profile
@plinyar
plinyar / FirehoseTransformer.kt
Last active September 5, 2018 16:56
Sample AWS Kinesis Firehose lambda transformation in Java (Kotlin indeed)
import com.amazonaws.services.lambda.runtime.Context
import com.amazonaws.services.lambda.runtime.LambdaLogger
class FirehoseTransformer {
private lateinit var logger: LambdaLogger
fun handler(event: KinesisFirehoseEvent, context: Context): KinesisFirehoseResponse {
logger = context.getLogger()
logger.log("Lambda started. Got messages ${event.records.size}.")
@patpohler
patpohler / Big List of Real Estate APIs.md
Last active April 17, 2024 16:39
Evolving list of Real Estate APIs by Category

Big List of Real Estate APIs

Listings / Property Data

####Rets Rabbit http://www.retsrabbit.com

Rets Rabbit removes the nightmare of importing thousands of real estate listings and photos from RETS or ListHub and gives you an easy to use import and Web API server so you can focus on building your listing search powered website or app.

@udzura
udzura / td-agent.service
Created December 3, 2015 06:49
systemd環境でのtd-agentのUnitファイル
[Unit]
Description=Fluentd: data collector for Treasure Data
Documentation=http://docs.fluentd.org/
After=network-online.target consul_agent.service
Wants=network-online.target
[Service]
Type=forking
PIDFile=/var/run/td-agent/td-agent.pid
ExecStart=/etc/rc.d/init.d/td-agent start
@erikbern
erikbern / install-tensorflow.sh
Last active June 26, 2023 00:40
Installing TensorFlow on EC2
# Note – this is not a bash script (some of the steps require reboot)
# I named it .sh just so Github does correct syntax highlighting.
#
# This is also available as an AMI in us-east-1 (virginia): ami-cf5028a5
#
# The CUDA part is mostly based on this excellent blog post:
# http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/
# Install various packages
sudo apt-get update