I hereby claim:
- I am lawrencejones on github.
- I am lawrjone (https://keybase.io/lawrjone) on keybase.
- I have a public key ASC_POuZ6Yv_kHIVgyJgyScCvx_GKtO0Yw0AxEP1c7zjDgo
To claim this, I am signing this object:
#!/usr/bin/env stack | |
-- stack --resolver lts-9.8 --install-ghc runghc --package http-conduit --package xml | |
{-# LANGUAGE OverloadedStrings #-} | |
import System.Environment (getArgs) | |
import Network.HTTP.Simple | |
import Data.ByteString.Char8 (pack) | |
import Text.XML.Light | |
import Data.Maybe | |
import Data.List (intercalate) |
vagrant@vagrant-ubuntu-trusty-64:~/skylight-ruby$ bundle | |
Fetching gem metadata from http://rubygems.org/.............. | |
Fetching version metadata from http://rubygems.org/... | |
Fetching dependency metadata from http://rubygems.org/.. | |
Resolving dependencies.... | |
Using rake 12.0.0 | |
Using i18n 0.6.11 | |
Using multi_json 1.12.1 | |
Using builder 3.0.4 | |
Using erubis 2.7.0 |
gem 'excon' | |
require 'excon' | |
require 'json' | |
# This is an example of a query that you might execute against Kibana, to find all logs | |
# that contain the string "Refusing to cancel" | |
# | |
# You should probably execute this script piping the output to jq, like so: | |
# | |
# $ ruby query.rb /path/to/query.json | jq '.[0]' |
func TestSupervise_ensureServiceRunning_cannotCheckMoreThanOnceConcurrently(testing *testing.T) { | |
authServiceOne := createAuthService() | |
authServiceTwo := createAuthService() | |
lockfile, err := generateTempLockfile(); if err != nil { | |
testing.Fatalf("failed to generate testing lockfile: %s\n", err) | |
return | |
} | |
// We need to use Name() here so that each lock is associated with a different |
I hereby claim:
To claim this, I am signing this object:
.PHONY: clean | |
TEX_FILES:=$(shell find . -name "*.tex" -type f) | |
RESOURCE_FILES:=$(shell find ./res -type f) | |
report.pdf: $(TEX_FILES) $(RESOURCE_FILES) libtex/report.bbl | |
cd libtex && ( \ | |
pdflatex -shell-escape report \ | |
) && \ | |
mv report.pdf ../ |
[ | |
{ | |
"min_support": 30, | |
"duration": 2.53 | |
}, | |
{ | |
"min_support": 29, | |
"duration": 2.56 | |
}, | |
{ |
lawrencejones at MacBookPro in .../lawrencejones/Projects/rails on (master) | |
λ ~> time g log --oneline -- README.md | |
7bbc6d6 Fix links in README for code [ci skip] | |
051b00c Merge pull request #17264 from claudiob/add-activejob-to-readme | |
b0ecbc8 Link to ActiveModel’s README in "Welcome to Rails" | |
8d66866 Add ActiveJob to "Welcome to Rails" section | |
d9b1c9b Update README.md | |
57fe5fd [ci skip] update wiki link for MVC | |
752e7a1 Use SVG version of travis build status badge [skip ci] | |
4f5aff9 updated Travis build status image url |
require 'oauth' | |
require 'uri' | |
require 'sinatra/base' | |
require 'pry' | |
require 'unirest' | |
require 'strava/api/v3' | |
module Strava | |
class Authorizer < Sinatra::Base | |
TOKEN_FILE = File.join(ENV['HOME'], '.strava_token') |
var CryptoAPI = (function() { | |
var encoding = { | |
a2b: function(a) { }, | |
b2a: function(b) { } | |
}; | |
var API = { | |
sha1: { | |
name: 'sha1', | |
identifier: '2b0e03021a', |