This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Twitter::UsersController < ApplicationController | |
def authorize | |
request_token = twitter_consumer.get_request_token(:oauth_callback => oauth_callback) | |
save_twitter_request_token(request_token) | |
redirect_to request_token.authorize_url(:oauth_callback => oauth_callback) | |
end | |
def callback | |
request_token = load_twitter_request_token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
stages { | |
stage('Checkout') { | |
steps { | |
git url: 'https://github.com/ylecuyer/attendize', branch: 'master' | |
} | |
} | |
} | |
agent { dockerfile true } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.4.0 | |
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs && apt-get clean | |
WORKDIR /usr/src/app | |
ENV BUNDLE_PATH /ruby_gems | |
ENV GEM_PATH /ruby_gems | |
ENV GEM_HOME /ruby_gems |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ylecuyer on github. | |
* I am ylecuyer (https://keybase.io/ylecuyer) on keybase. | |
* I have a public key whose fingerprint is 5170 326B 14AD 446B 7F10 A478 3D85 320F 6651 2A24 | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler' | |
Bundler.require(:default) | |
include GPX | |
class OMH < BinData::Record | |
endian :little | |
uint32 :distance | |
uint16 :duration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LocationRow.swift | |
// bicimapa | |
// | |
// Created by Yoann Lecuyer on 16/01/16. | |
// Copyright © 2016 Bicimapa. All rights reserved. | |
// | |
import UIKit | |
import Eureka |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// LocationRow.swift | |
// bicimapa | |
// | |
// Created by Yoann Lecuyer on 16/01/16. | |
// Copyright © 2016 Bicimapa. All rights reserved. | |
// | |
import UIKit | |
import Eureka |