Skip to content

Instantly share code, notes, and snippets.

Zack Angelo zackangelo

Block or report user

Report or block zackangelo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
zackangelo / TracingExecutionContext.scala
Created Dec 6, 2016
Executor that propagates Brave tracing context
View TracingExecutionContext.scala
package com.bigcommerce.core.metrics.tracing
import com.github.kristofa.brave.{ServerSpan, ServerSpanThreadBinder}
import scala.concurrent.ExecutionContext
* Created by zack.angelo on 12/5/16.
class TracingExecutionContext(wrapped:ExecutionContext,

Keybase proof

I hereby claim:

  • I am zackangelo on github.
  • I am zackangelo ( on keybase.
  • I have a public key whose fingerprint is AED8 4A64 B8DF 8BBC 2900 B34E FCE7 ACBB 9786 8D1C

To claim this, I am signing this object:

View gist:61ddde3345b9b1b1999a
//One of these will make for a very bad day... Can you tell which one?
import scala.slick.session.Database
val db:Database = _ //connection pool (e.g., c3p0)
//Option A
def fetchResultsA = future {
db.withSession { implicit session =>
val query = for (c <- coffees) yield
View configure.rb
include_recipe 'redis'
Chef::Log.debug('Writing Redis configuration file...')
template "/etc/redis.conf" do
source "redis.conf.erb"
owner "root"
group "root"
mode "0644"
notifies :restart, resources(:service => "redis"), :delayed
zackangelo / ember-master.js
Created Jan 7, 2013
Ember.js latest master
View ember-master.js
// Version: v1.0.0-pre.2-311-g668783a
// Last commit: 668783a (2013-01-06 21:10:55 -0800)
(function() {
/*global __fail__*/
Ember Debug
zackangelo / ember-master-min.js
Created Jan 7, 2013
Ember.js latest master (minified)
View ember-master-min.js
// ==========================================================================
// Project: Ember - JavaScript Application Framework
// Copyright: ©2011-2012 Tilde Inc. and contributors
// Portions ©2006-2011 Strobe Inc.
// Portions ©2008-2011 Apple Inc. All rights reserved.
// License: Licensed under MIT license
// See
// ==========================================================================
You can’t perform that action at this time.