Skip to content

Instantly share code, notes, and snippets.

View ksylvest's full-sized avatar

Kevin Sylvestre ksylvest

View GitHub Profile
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
source "https://rubygems.org"
# Activate the gem you are reporting the issue against.
@ksylvest
ksylvest / example.m
Last active October 30, 2015 23:57
Layer Authentication Idea
LYRLayer *client = [LYRLayer new];
NSString *userID = @"...";
LYRLayerNonceAuthenticationChallenge nac = ^(NSString *nonce, LYRLayerNonceAuthenticationChallengeCompletion completion) {
// The integrator would fill make the approriate server calls here then call the completion block with a token or NULL if a problem occurred.
// [ get:@"/layer/authenticate" completion:^(NSDictionary *parameters){
// completion(parameters["layer_identity_token"]);
// }];
};
### Keybase proof
I hereby claim:
* I am ksylvest on github.
* I am ksylvest (https://keybase.io/ksylvest) on keybase.
* I have a public key whose fingerprint is 98A6 A9C7 FDD3 7289 DAF0 3093 FA9A 1F11 4A62 1F66
To claim this, I am signing this object:
@ksylvest
ksylvest / setup.sh
Created April 25, 2012 03:21
Setup
#!/bin/sh
VERSION=2.0.0-p0
# Step 1. Initialize Profiles
if [ ! -f ~/.profile ]
then
touch ~/.profile
fi