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
###################################################### | |
# Copyright (c) 2006 Matthew Ford # | |
# This software is licenced under the CC-GNU GPL # | |
# http://creativecommons.org/licenses/GPL/2.0/ # | |
###################################################### | |
class ColoursAlt | |
pcolours = ["red","blue","green"] | |
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
/Users/matthewford/.gem/ruby/1.9.3/gems/therubyracer-0.12.0/lib/v8/init.bundle: [BUG] Segmentation fault | |
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-darwin13.0.2] | |
-- Control frame information ----------------------------------------------- | |
c:0055 p:-17525605849258 s:0177 b:0177 l:000176 d:000176 TOP | |
c:0054 p:---- s:0175 b:0175 l:000174 d:000174 CFUNC :require | |
c:0053 p:0010 s:0171 b:0171 l:000163 d:000170 BLOCK /Users/matthewford/.gem/ruby/1.9.3/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251 | |
c:0052 p:0071 s:0169 b:0169 l:000168 d:000168 METHOD /Users/matthewford/.gem/ruby/1.9.3/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236 | |
c:0051 p:0019 s:0164 b:0164 l:000163 d:000163 METHOD /Users/matthewford/.gem/ruby/1.9.3/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251 | |
c:0050 p:0035 s:0159 b:0159 l:000158 d:000158 TOP /Users/matthewford/.gem/ruby/1.9.3/gems/therubyracer-0.12.0/lib/v8.rb:4 |
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
#!/bin/bash | |
mkdir tmp/curl-ca-bundle | |
cd tmp/curl-ca-bundle | |
wget http://curl.haxx.se/download/curl-7.36.0.tar.gz | |
tar xzf curl-7.36.0.tar.gz | |
cd curl-7.36.0/lib/ | |
./mk-ca-bundle.pl | |
echo | |
echo "Done! Check lib/ca-bundle.crt" |
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
dependencies: | |
post: | |
- curl -Ls https://install.convox.com/linux.zip > convox.zip | |
- sudo unzip convox.zip -d /usr/local/bin | |
deployment: | |
staging: | |
branch: master | |
commands: | |
- convox login console.convox.com | |
- convox switch org/rack |
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
# frozen_string_literal: true | |
class SessionLeakError < StandardError | |
end | |
Warden::Manager.after_authentication do |record, warden, opts| | |
request = ActionDispatch::Request.new(warden.env) | |
SessionActivityTracker.clear(request, opts) | |
warden.cookies.signed["#{opts[:scope]}.id"] = warden.session["signed_user_id"] = record.id |
OlderNewer