Skip to content

Instantly share code, notes, and snippets.

View Empact's full-sized avatar

Benjamin Woosley Empact

View GitHub Profile
I'm verifying ownership of [email protected] at EarnCarrot.

Keybase proof

I hereby claim:

  • I am Empact on github.
  • I am empact (https://keybase.io/empact) on keybase.
  • I have a public key whose fingerprint is 1E5F 8BEA 13FE 9B1D 3301 9873 6EE5 F378 5F78 B345

To claim this, I am signing this object:

@Empact
Empact / iwyu_cstring
Created July 9, 2018 21:56
bitcoin iwyu output
This file has been truncated, but you can view the full file.
# created with https://github.com/Empact/include-what-you-use/tree/llvm-mac-os, 55bcf5e151aef4c1d73a116ef84e6920c6bae60e
# from https://github.com/Empact/bitcoin/tree/cstring, a505ca9d8b06de6d97628d76badb812dea0f4cdc
$ make -k CXX="~/Development/OpenSource/include-what-you-use/build/include-what-you-use -Xiwyu --max_line_length=300"
Making all in src
CXX crypto/libbitcoinconsensus_la-aes.lo
CXX crypto/libbitcoinconsensus_la-chacha20.lo
CXX crypto/libbitcoinconsensus_la-hmac_sha256.lo
CXX crypto/libbitcoinconsensus_la-hmac_sha512.lo
CXX crypto/libbitcoinconsensus_la-ripemd160.lo
gem 'rails', '3.2.13'
require 'active_record'
puts "Active Record #{ActiveRecord::VERSION::STRING}"
ActiveRecord::Base.establish_connection(
adapter: 'sqlite3',
database: ':memory:'
)
gem 'rails', '3.2.13'
require 'active_record'
puts "Active Record #{ActiveRecord::VERSION::STRING}"
ActiveRecord::Base.establish_connection(
adapter: 'sqlite3',
database: ':memory:'
)
@Empact
Empact / README.markdown
Created April 3, 2012 08:15 — forked from gudbergur/README.markdown
Bootstrap's Typeahead plugin extended (allowing for AJAX functionality) among other things

This is a fork of Bootstrap Typeahead that adds minimal but powerful extensions.

For example, process typeahead list asynchronously and return objects

  # This example does an AJAX lookup and is in CoffeeScript
  $('.typeahead').typeahead(
    # source can be a function
    source: (typeahead, query) ->
 # this function receives the typeahead object and the query string
@Empact
Empact / callback_disabler.rb
Created March 23, 2012 05:51 — forked from justinko/callback_disabler.rb
Disable raw filter callbacks in RSpec
# In spec/support/callback_disabler.rb
module CallbackDisabler
def self.store_callbacks(model, filters)
model = constantize(model)
filters.each do |filter|
model.send("_#{filter}_callbacks").each do |callback|
stored_callbacks[model] << {
filter: filter, kind: callback.kind, raw_filter: callback.raw_filter
}
@Empact
Empact / delayed_job.monitrc.example
Created February 10, 2012 10:39 — forked from johankok/delayed_job.monitrc.example
Monitoring delayed_job with monit under rvm
# an example Monit configuration file for delayed_job
#
# To use:
# 1. copy to /var/www/apps/{app_name}/shared/delayed_job.monitrc
# 2. replace {app_name} and {environment} as appropriate
# 3. add this to your /etc/monit/monitrc
#
# include /var/www/apps/{app_name}/shared/delayed_job.monitrc
check process delayed_job with pidfile /var/www/apps/{app_name}/shared/pids/delayed_job.pid
# an example Monit configuration file for delayed_job
#
# To use:
# 1. copy to /var/www/apps/{app_name}/shared/delayed_job.monitrc
# 2. replace {app_name} and {environment} as appropriate
# 3. add this to your /etc/monit/monitrc
#
# include /var/www/apps/{app_name}/shared/delayed_job.monitrc
check process delayed_job with pidfile /var/www/apps/{app_name}/shared/pids/delayed_job.pid

Creative and Technical Services Agreement

This CREATIVE AND TECHNICAL SERVICES AGREEMENT (“Agreement”) is an agreement between Joshua Priddle, (“Developer”) and the party set forth in the Project Estimate (“Customer” or “you” or “your”) incorporated herein by this reference and applies to the purchase of all services ordered by Customer (collectively, the “Services”). The parties understand, acknowledge and agree that this is an online agreement which is being entered into in conjunction with the Services.