View output_with_apollo_proxy
time="2017-10-26T14:24:42-02:00" level=debug msg="Got to backend... about to start query"
Started POST "/graphql" for ::1 at 2017-10-26 14:24:42 -0200
Processing by GraphqlController#execute as */*
Parameters: {"query"=>"query{organization(id:\"1\"){name}}", "variables"=>{"input"=>{"duration"=>"1h", "imageUrl"=>"", "location"=>"Jedi", "points"=>50, "startedAt"=>"2017-05-12", "title"=>"Woot"}, "organizationId"=>"1"}, "operationName"=>"", "extensions"=>nil, "graphql"=>{"query"=>"query{organization(id:\"1\"){name}}", "variables"=>{"input"=>{"duration"=>"1h", "imageUrl"=>"", "location"=>"Jedi", "points"=>50, "startedAt"=>"2017-05-12", "title"=>"Woot"}, "organizationId"=>"1"}, "operationName"=>"", "extensions"=>nil}}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
time="2017-10-26T14:24:42-02:00" level=debug msg="Capturing trace." bucket=93 isError=true signature="que
View implicit_resolver_instrumentation.rb
class ImplicitResolverInstrumentation
def instrument(_type, field)
implicit_resolver = "Resolvers::#{}".safe_constantize
if implicit_resolver && default_or_connection_resolver?(field)
field.redefine do
resolve implicit_resolver
View resolver.rb
module Resolvers
class CreateEvent
include Pundit
attr_reader :current_user
View gist:542a43389de768b3af8a
tell application "System Events"
key code 144 using {command down}
end tell

AngularJS + Rails Asset Pipeline updated to Sprockets 3 + other changes


  • Sprockets 3 doesn't seem to need me to inject JavascriptHelpers.
  • Using environment[file].to_s to fetch the compiled sources.
  • Everything in my app (templates and scripts) is inside an app/ folder which is my angular app, so I leave that path part out on the $templateCache key
  • I'm only supporting slim templates because I only use slim, but it should fairly easy to add other template engines.
  • The previous script broke on files like course-link.directive.slim. We just remove the .slim extension now.
View importantfix.diff
diff --git a/app/assets/javascripts/angular/apps/teachers/controllers/ b/app/assets/javascripts/angular/apps/teachers/controllers/
index 0bc054e..0e616ab 100644
--- a/app/assets/javascripts/angular/apps/teachers/controllers/
+++ b/app/assets/javascripts/angular/apps/teachers/controllers/
@@ -25,10 +25,20 @@ NotificationCtrl = ($scope, $timeout, $analytics, Notification, ErrorParser)->
course = $scope.$parent.course
notification.course_id = course.uuid
notification.abbreviation = course.abbreviation
View petroleo.lua
p = 20 -- 1 segundo
maparuim = 0
voltadinhe = 0
emergencia = 0
segundo = 0
dinhe = 0
b = 0
perfuracao = 0
pressaoboa = 0.7
View lunks.pp
class people::lunks {
include macvim
include adium
include caffeine
include chrome
include dropbox
include gitx::dev
include iterm2::stable
include karabiner
include mou
View gist:a00652cafbeb6797c240
#!/usr/bin/env lua
-- This file:
-- (find-angg "fbcache/urls.lua")
-- 2014sep07
-- (defun u () (interactive) (find-angg-upload-links "fbcache/" "urls.lua"))
-- (find-lua51manualw3m "")
View without_oj.json
{"id":43,"content":"Some message here","created_at":"2014-10-09T03:33:30.355-03:00","updated_at":"2014-10-09T03:33:30.355-03:00","student_id":192,"uuid":"b4a9d16e-5846-4ec8-8793-3d834a1a3c1b"}