Skip to content

Instantly share code, notes, and snippets.

View stephanpavlovic's full-sized avatar

Stephan Pavlovic stephanpavlovic

View GitHub Profile
Verifying my Blockstack ID is secured with the address 1spADS9XtekniMmXcRhfsu2KYR4GFC5sQ https://explorer.blockstack.org/address/1spADS9XtekniMmXcRhfsu2KYR4GFC5sQ
<div class='wrapper'>
<div class='box'>
Hi
</div>
<div class='box'>Hi</div>
<div class='box'>Hi</div>
<div class='box'>Hi</div>
</div>
<div class='wrapper'>
<div class='box'>Hi</div>
<div class='box'>Hi</div>
<div class='box'>Hi</div>
<div class='box'>Hi</div>
</div>
config.middleware.insert_before(Rack::Runtime, Rack::Rewrite) do
r301 '/tim_schneider', '/tim'
r301 '/jan_kus', '/jan'
r301 '/lars_brillert', '/lars'
r301 '/michael_bumann', '/michael'
r301 '/jakob_hilden', '/jakob'
r301 '/stephan_pavlovic', '/stephan'
r301 '/paul_wittmann', '/paul'
r301 '/max_schulz', '/max'
r301 '/isabell_slowik', '/isa'
0:0:0:0:0:0:0:1%0 - - 29/05/2013:16:58:40 +0200 "POST /splink_sgdb/api/users/login HTTP/1.1" 200 1384
POST /splink_sgdb/api/users/login HTTP/1.1
X-Splinkuser: 0
Host: localhost:8080
Accept: application/json
Content-Length: 53
Content-Type: application/json
X-Splinkapp: 1087e5f7b5d74875a747f3a58813492e
Connection: close
User-Agent: Splink SGDB API client
@stephanpavlovic
stephanpavlovic / gist:4259284
Created December 11, 2012 15:22
domain spec
require 'spec_helper'
require_relative '../../../app/domain/geocoder_wrapper'
describe 'GeocoderWrapper' do
describe '.geocode' do
it 'geocodes'
end
describe '.distance' do
it "calculates nothing if params not present" do
PGError: ERROR: relation "cities" does not exist
LINE 4: WHERE a.attrelid = '"cities"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"cities"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum
(ActiveRecord::StatementInvalid)
Identity added: /Users/stephan-pavlovic/.ssh/id_rsa (/Users/stephan-pavlovic/.ssh/id_rsa)
* executing `deploy:migrations'
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@codebasehq.com:eightpitch/eightpitch/eightpitch.git master"
* executing "if [ -d /var/www/loudsquare/shared/cached-copy ]; then cd /var/www/loudsquare/shared/cached-copy && git fetch -q origin && git reset -q --hard 3039c855c43bfc0d2b5a9d82a24014510ca7781a && git clean -q -d -x -f; else git clone -q git@codebasehq.com:eightpitch/eightpitch/eightpitch.git /var/www/loudsquare/shared/cached-copy && cd /var/www/loudsquare/shared/cached-copy && git checkout -q -b deploy 3039c855c43bfc0d2b5a9d82a24014510ca7781a; fi"
servers: ["178.77.97.81"]
[178.77.97.81] executing command
** [178.77.97.81 :: out] remote: Counting objects: 1
** [178.77.97.81 :: out] remote: Counting objects: 37, done.