Skip to content

Instantly share code, notes, and snippets.

View pandemicsyn's full-sized avatar
🌮
everyday is taco tuesday.

Florian Hines pandemicsyn

🌮
everyday is taco tuesday.
View GitHub Profile
@pandemicsyn
pandemicsyn / create_function_plv8_cuid.sql
Created March 13, 2024 02:07 — forked from notakaos/create_function_plv8_cuid.sql
cuid for PostgreSQL with PL/v8
-- original code: https://github.com/ericelliott/cuid
-- Add the "plv8" extension
create extension if not exists "plv8";
-- Add the "pgcrypto" extension
create extension if not exists "pgcrypto";
\dx
-- Connect a database
@pandemicsyn
pandemicsyn / README.md
Last active December 12, 2022 20:24
Random Gist Example

Random gist demo

Listing a gist via gh

# GitHub CLI api
# https://cli.github.com/manual/gh_api

gh api \
 -H "Accept: application/vnd.github+json" \
@pandemicsyn
pandemicsyn / mappers.md
Created February 24, 2022 17:24
stream maps demo
theme
/home/syn/.glamour/dracula.json

meltano run stream map transforms demo

Stream map support for meltano run landed via a new Singer compatible Mapper plugin type! Like meltano run itself it needs testing/feedback.


@pandemicsyn
pandemicsyn / sa.md
Last active April 16, 2018 16:08
Solutions Architect

Solutions Architect

At Keen IO, we build a highly flexible and customizable analytics platform that can quickly make teams and projects smarter and more successful. We collect and process billions of events from (and return query results to) anything that can connect to the internet.

Our customers are in nearly every field including media, advertising, gaming, SaaS, and hardware. Their business needs are diverse, but the challenges of their data requirements are similar. Whether they want to provide internal reports, feed data into core systems, or provide highly valuable insights directly to their own customers - we can help!

About the Job

Solutions Architect at Keen IO is a bit different than some companies. There are now numerous options for analytics that make strong assumptions on behalf of the user. Because our analytics platform provides general purpose building blocks to solve such a wide variety of challenges, we rely heavily on discovery and a deep level of analytics expertise to help ou

@pandemicsyn
pandemicsyn / .bashrc
Created May 5, 2016 17:51
.bashrc for "the" aio
# ~/.bashrc: executed by bash(1) for non-login shells.
# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
@pandemicsyn
pandemicsyn / .vimrc
Created December 2, 2013 00:38
vim theme and crap
if has("gui_running")
colorscheme flat2
else
colorscheme desert
endif
call pathogen#runtime_append_all_bundles()
filetype off
let g:neocomplcache_enable_at_startup = 1
set nocompatible
filetype plugin indent on
package main
import (
"bytes"
"compress/gzip"
"crypto/md5"
"encoding/binary"
"encoding/json"
"fmt"
"bufio"
#https://github.com/caius/fio/tree/master/examples
# Do some important numbers on SSD drives, to gauge what kind of
# performance you might get out of them.
#
# Sequential read and write speeds are tested, these are expected to be
# high. Random reads should also be fast, random writes are where crap
# drives are usually separated from the good drives.
#
# This uses a queue depth of 4. New SATA SSD's will support up to 32
#!/bin/bash
TARGET="$GOPATH/src/github.com/pandemicsyn/$1/*"
INSTALL_ARG="github.com/pandemicsyn/$1"
md5sum_now=`md5 $TARGET`
md5sum_last=`md5 $TARGET`
echo "Attempting build/install of $TARGET"
var wg sync.WaitGroup
for i := 0; i < 200; i++ {
wg.Add(1)
go blastSwift("images", token, url, &wg)
}
fmt.Println("Waiting on survivors")
wg.Wait()