Skip to content

Instantly share code, notes, and snippets.

View reset's full-sized avatar

Jamie Stormbreaker reset

View GitHub Profile
@reset
reset / keybase.md
Created December 6, 2016 19:56
keybase.md

Keybase proof

I hereby claim:

  • I am reset on github.
  • I am reset (https://keybase.io/reset) on keybase.
  • I have a public key whose fingerprint is 49D2 1EB1 5B5A BD75 8D1D 581A A3D6 61E7 5334 E988

To claim this, I am signing this object:

@reset
reset / main.rs
Created February 7, 2016 21:22
Static Mutex in stable Rust
#[macro_use]
extern crate lazy_static;
use std::sync::Mutex;
lazy_static! {
static ref MY_MUTEX: Mutex<()> = Mutex::new(());
}
fn main() {
{
asset = github_asset "my-archive.tar.gz" do
repo "reset/mysoftware"
release "1.0.0"
github_user "reset"
github_token "my_token"
end
libarchive_file "my-archive.tar.gz" do
path asset.asset_path
extract_to "/some/path"
@reset
reset / gist:7049e7477e544e1aa225
Created August 21, 2014 18:27
Oranges From the President - EP pre-release tour

Oranges From the President - Faulty

Dates

  • 8/21 Portland, OR @ Ash St. Saloon
  • 8/23 Cupertino, CA @ X Bar
  • 8/24 Redlands, CA @ Katz Alley
  • 8/25 San Francisco, CA @ Bottom of the Hill
  • 8/26 TBA
@reset
reset / gist:ae2679f06e05d8a1de4c
Last active August 29, 2015 14:02
Open positions at Undead Labs
  • Programmer (focus on engine and tech)
  • Automation Programmer (build system, automated testing, patching and distribution infrastructure)
  • Animator (contract or internal)
  • Producer
  • Artist (focus on environment modeling, ZBrush skills)
  • Tech Artist
  • UI Artist (contract with option for internal)

([email protected])

@reset
reset / gist:54024097da2c190d7e88
Created June 10, 2014 22:51
Dependencies in OTP releases

I have an umbrella application which contains a router and a number of different services. Currently everything is deployed as a single OTP release and on a single machine. Now I'm splitting everything apart to live on separate nodes.

A few of these services depend on each other for 1) testing purposes, 2) "public helper" functions are exposed for how to send messages to an erlang process. This works well when you want all of the services started on the same node, but what if you don't want to start the dependant application? Just listing the module in the .app file will ensure that it is started.

Do people typically not depend on an application just to have access to those "public helper" functions? Here is an example to try and explain what I mean:

%
% Public API
%

brevity isn't my strongest skill but I'm seriously going to try here

Questions first

  • Is berkshelf becoming a core chef dep?

    JW: No, but it is going to be packaged with something called "ChefDK" which is going to be announced tomorow. It is an official tool that Chef (the organization) supports and distributes.

  • Is berkshelf becoming a core chef workflow dep?

commit 3528e23e961ea7bfaccea0b4f402b79d6838e2d6
Merge: 547730d a9c041c
Author: Jamie Winsor <[email protected]>
Date: Fri Apr 4 17:14:56 2014 -0700
Merge pull request #35 from berkshelf/remove-ruby-solver
Remove Ruby Solver
commit a9c041c259eafb804067c609d0c61acc74683379
~ ᐅ cd code/solve
~/code/solve (remove-ruby-solver ✔) ᐅ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.1.0)
Using ffi (1.9.0)
Using childprocess (0.3.9)
Using coderay (1.0.9)
Using coolline (0.4.2)
self = this;
this.store.find('account', {name: this.get('accountName')}).then(function(account) {
Ember.Logger.log(account.get('name'));
Ember.Logger.log(account.get('id'));
self.transitionToRoute('accounts.account', account.get('id'));
})