I hereby claim:
- I am belison on github.
- I am bartimus (https://keybase.io/bartimus) on keybase.
- I have a public key ASBroV0TEng73CCYPo5cH8v71_MJvafBgOesHPxe1VCCtQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
mv ~/code/dev/projects/postgres/data ~/code/dev/projects/postgres/data.old | |
initdb -D ~/code/dev/projects/postgres/data | |
pg_upgrade -d ~/code/dev/projects/postgres/data.old -D ~/code/dev/projects/postgres/data -b ~/code/dev/vendor/asdf/installs/postgresql/9.5.2/bin -B ~/code/dev/vendor/asdf/installs/postgresql/10.16/bin |
[ | |
{ | |
"enabled": 1, | |
"state": "Utah", | |
"lat": 40.378326, | |
"long": -111.795186, | |
"address": "125 E Main St", | |
"city": "American Fork", | |
"lastHeartbeat": "2021-01-29T19:25:33.000Z", | |
"name": "American Fork", |
I hereby claim:
To claim this, I am signing this object:
iex(2)> {:ok, r} = Api.Service.Recommendation.get(q, %{feature_mixes: true}, 8, nil, ["prod"]) | |
{:ok, | |
[%{author: 207719, | |
canonical_url: "http://onpurple.com/blog/which-famous-person-shares-sleeping-habits-quiz/", | |
featured_priority: 1, id: 253597, | |
image: "https://movement-prod.imgix.net/uploads/6d/8d89d730e148af8e9123d1bb403b86/upload.jpeg", | |
organization: 849, | |
title: "Which famous person shares your sleeping habits?", type: "quiz"}, | |
%{author: 207719, | |
canonical_url: "https://www.boombox.com/c/quiz/252084/what-s-your-olympic-sport-cde0a5a8-d227-4fd9-823e-01b900741df4", |
POST | |
↳ Input: %{"value" => ["290670"]} | |
↳ Resource: Api.Resource.Quizzes.Sessions.Answer | |
↳ Params: %{"quiz" => "24566", "session" => "AJqjecHLwMDOBUC4lAAAw5rOAAEbMc4AARsyzgABGzPOAAEbNM4AARs1zgABG27OAAEbb84AARtzzgABG3TOAAEbdcAA"} | |
⇇ Redirect: ws://api.movementventures.com.dev:3500/quizzes/24566/sessions/AJqjecHLkc4ABG9uw84FQLiUAQDDms4AARsxzgABGzLOAAEbM84AARs0zgABGzXOAAEbbs4AARtvzgABG3POAAEbdM4AARt1wBA | |
Sent 303 in 6ms | |
GET | |
↳ Resource: Api.Resource.Quizzes.Sessions.Read | |
↳ Params: %{"quiz" => "24566", "session" => "AJqjecHLkc4ABG9uw84FQLiUAQDDms4AARsxzgABGzLOAAEbM84AARs0zgABGzXOAAEbbs4AARtvzgABG3POAAEbdM4AARt1wBA"} | |
%Api.Service.Quiz.Session.Graded.V1{_id: <<121, 193, 203>>, answers: ["290670"], |
POST | |
↳ Resource: Api.Resource.Quizzes.Sessions | |
↳ Params: %{"quiz" => "5769"} | |
⇇ Redirect: ws://api.movementventures.com.dev:3500/quizzes/5769/sessions/AZejZuNDwM4FP0B1AMCbzSGJzSGKzSGLzSGMzSGNzSGOzSGPzSGQzSGRzSGSzgACqqjA | |
Sent 303 in 92ms | |
GET | |
↳ Resource: Api.Resource.Quizzes.Sessions.Read | |
↳ Params: %{"quiz" => "5769", "session" => "AZejZuNDwM4FP0B1AMCbzSGJzSGKzSGLzSGMzSGNzSGOzSGPzSGQzSGRzSGSzgACqqjA"} | |
Sent 200 in 132ms | |
POST |
Internal Server Error | |
2016-03-02T21:53:36.535861+00:00 app[web.1]: ** (FunctionClauseError) no function clause matching in Mazurka.Protocol.HTTP.Router.Handler.handle_resource_resp/2 | |
2016-03-02T21:53:36.535880+00:00 app[web.1]: lib/mazurka/protocol/http/router/handler.ex:10: Mazurka.Protocol.HTTP.Router.Handler.handle_resource_resp({:error, :timeout, %Plug.Conn{adapter: {Plug.Adapters.Wait1.Conn, :...}, assigns: %{}, before_send: [], body_params: %{"assign_to_organization" => false}, cookies: %{"__cfduid" => "dad7d5f0fef16f9a6d0b9f7ecdf2f28c01429139933", "__utma" => "191296694.206228913.1434498041.1453928129.1456417195.8", "__utmc" => "191296694", "__utmz" => "191296694.1434498041.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)", "_uid" => "-f0fDKf8w64XiU3BlgN4vECLhZv3-xs4LCvHXlrnAjXvXI8c2m0Xjk8To3etY-Qcdlhyb6SfrttRhxwVxJoDR2eM6owrHaNwb8FDPE_ZSaOyrlCiNzdkiXJKUFsGZIZY"}, halted: false, host: "staging-api.movementventures.com", method: "POST", owner: #PID<0.16211.7>, params: %{"assign_to_organization" => |
function theNameOfYourCallbackFunction(quiz){ | |
quiz.on('question:enter', function(){ | |
refreshAdWhenQuestionChanges(); | |
}); | |
quiz.on('result:enter', function(result){ | |
if (result.title == 'My Result') { | |
handleMyResultSpecial(); | |
} else if (result.score < 25) { | |
handleTerribleScore(); | |
} else { |
Ember.Application.initializer({ | |
name: 'currentUser', | |
initialize: function(container, application) { | |
var user, | |
store = container.lookup('store:main'), | |
attributes = $('meta[name="current-user"]').attr('content'); | |
if (attributes) { | |
var serializer = store.serializerFor(App.User); |