Pinned Repositories
cache
Defines a simple interface to multiple cache-like storage engines by wrapping common Ruby client libraries like memcached, redis, memcache-client, dalli. Handles each underlying library's weirdnesses, including forking.
cache_method
Cache based on arguments AND object state; store in memcached, redis, or in-process. Like alias_method, but it's cache_method! One step beyond memoization.
data_miner
Download, unpack from a ZIP/TAR/GZ/BZ2 archive, parse, correct, convert units and import Google Spreadsheets, XLS, ODS, XML, CSV, HTML, etc. into your ActiveRecord models. Uses RemoteTable gem internally.
fuzzy_match
Find a needle (a document or record) in a haystack using string similarity and (optionally) regular expression rules. Uses Dice's Coefficient (aka Pair Similiarity) and Levenshtein Distance internally.
lock_and_cache
Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
mysql2xxxx
Gives you binaries like mysql2csv, mysql2json, and mysql2xml, and Ruby classes to match.
remote_table
Open local or remote XLSX, XLS, ODS, CSV (comma separated), TSV (tab separated), other delimited, fixed-width files, and Google Docs. Returns an enumerator of Arrays or Hashes, depending on whether there are headers.
unix_utils
Like FileUtils, but provides zip, unzip, bzip2, bunzip2, tar, untar, sed, du, md5sum, shasum, cut, head, tail, wc, unix2dos, dos2unix, iconv, curl, perl, etc.
upsert
Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
xlsx_writer
Writes XLSX files. Simple, clean XML and style. Supports autofilters and headers/footers with images and page numbers if you're willing to do a little Excel hacking.
seamusabshere's Repositories
seamusabshere/fuzzy_match
Find a needle (a document or record) in a haystack using string similarity and (optionally) regular expression rules. Uses Dice's Coefficient (aka Pair Similiarity) and Levenshtein Distance internally.
seamusabshere/upsert
Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
seamusabshere/cache_method
Cache based on arguments AND object state; store in memcached, redis, or in-process. Like alias_method, but it's cache_method! One step beyond memoization.
seamusabshere/lock_and_cache
Most caching libraries don't do locking, meaning that >1 process can be calculating a cached value at the same time. Since you presumably cache things because they cost CPU, database reads, or money, doesn't it make sense to lock while caching?
seamusabshere/eat
A (better?) replacement for open-uri. Lets you open local and remote files by immediately returning their contents as a string.
seamusabshere/to_regexp
Provides String#to_regexp
seamusabshere/py-upsert
Python library to make it easy to upsert on MySQL, PostgreSQL, and SQLite3.
seamusabshere/database_url
Convert back and forth between Heroku-style ENV['DATABASE_URL'] and Rails/ActiveRecord-style config/database.yml hashes.
seamusabshere/pg-hstore
A principled Postgres HStore parser/deparser for Ruby.
seamusabshere/pg_trgm
Ruby trigram similarity that is identical to Postgres's (almost)
seamusabshere/json_to_csv_to_json
csv_to_json and json_to_csv
seamusabshere/geocode_records
As long as you do very specific things... quickly re-geocode tables.
seamusabshere/cube.js
📊 Cube.js - Open Source Analytics Framework
seamusabshere/dbcrossbar
Copy tabular data between databases, CSV files and cloud storage
seamusabshere/docker-selenium
Docker images for Selenium Standalone Server
seamusabshere/encoding_rs
A Gecko-oriented implementation of the Encoding Standard in Rust
seamusabshere/examples
Examples of WhizzML scripts
seamusabshere/google-cloud-ruby
Google Cloud Client Library for Ruby
seamusabshere/httpclient
'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
seamusabshere/incident-response-docs
PagerDuty's Incident Response Documentation.
seamusabshere/pasqual
Ruby interface for postgres utilities, including DATABASE_URL interpolation
seamusabshere/quilt
A loosely related set of packages for JavaScript / TypeScript projects at Shopify
seamusabshere/sdk-bigquery
seamusabshere/seamusabshere.github.com
seamusabshere/secret_garden
Access secrets via ENV or some backend service like vault
seamusabshere/Signal-Desktop
Signal — Private Messenger for Windows, Mac, and Linux
seamusabshere/simple-postgres
a minimal postgres interface for node
seamusabshere/this-week-in-rust
Data for this-week-in-rust.org
seamusabshere/tokio
Asynchronous I/O for Rust
seamusabshere/vault-helm
Helm chart to install Vault and other associated components.