Skip to content

Instantly share code, notes, and snippets.

Who we are

Founded in 2011, Zipmark is a fintech startup focused on simplifying business payments. We originally focused on a branded, mobile business-to-business ("b2b") payment application, but subsequently pivoted to a white-label SaaS application called Zipmark Deposit.

Today, we have a portfolio of a dozen or so customers that using Deposit in order to move money through the banking system. As an example, an online lending company might use Deposit to send out their weekly loan issuances directly to their customers' bank accounts. Our software handles the complexities, intricacies, and general headaches associated with ACH transfers. We also provide end-to-end support to our business customers ("merchants") in the event that an issue arises downstream with one of their customers ("sub-merchants" or just "customers").

What we’re building

While we found some success with Zipmark Deposit, over time we realized that 'ACH as a service' had become commoditized and that there would be persiste

# when I tried to start postgres, I had an error telling me there were no postgres clusters created
# so I had to create one using the `pg_createcluster` command, like the following
pg_createcluster 9.1 main --start
#after creating the cluster, it will start the server because of `--start`
#so I had to change to postgresql user
sudo su - postgres
#to change it's pasword, doing `psql -d <database_name> -U <username>
psql -d postgres -U postgres
@kurko
kurko / gist:4243372
Created December 9, 2012 04:50 — forked from terryjray/gist:3296171
Enabling hstore for new postgresql 9.1 and rails 3 install on ubuntu 12.04
RAILS_ENV=production rake db:setup
# produces the error below.....hmmm.....it's a no-worky
psql:/yourprojectpath/yourproject/db/structure.sql:29: ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/hstore.control": No such file or directory
# hstore postgresql extension needs to be installed, so....
sudo apt-get install postgresql-contrib-9.1
# now your extension should be available to enable so log in with psql
psql -d yourproject_production -U yourdbuser -W
@kurko
kurko / user_creation_callbacks.rb
Created September 26, 2012 03:07 — forked from lucashungaro/gist:3784008
removing conditional and working with provided callbacks
class UsersController < ApplicationController
def create
@user_creation = UserCreation.new(self)
@user_creation.on_success { redirect_to users_path }
@user_creation.on_failure { render :new }
@user_creation.please_create_an_user_as_admin(params[:user])
end
end
# A controller
class PostsController < ActionController::Base
def create
@context = PostManagementContext.new(params[:posts])
if @context.save
# redirect
end
end
def search
@kurko
kurko / intercept_ivars.rb
Created February 12, 2012 01:11 — forked from myronmarston/intercept_ivars.rb
Crazy hack to intercept all changes to instance variables
module IVarInterceptor
def self.included(klass)
def klass.new(*args, &block)
super.extend IVarInterceptor
end
end
def self.extended(object)
object.singleton_class.class_eval do
original_methods = instance_methods.each_with_object({}) do |method_name, hash|