Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gemp on github.
  • I am gemp (https://keybase.io/gemp) on keybase.
  • I have a public key ASAmBNNHOg-BJ4QeL2RgOrIugKnQTsva7slYsLLJqUB8cAo

To claim this, I am signing this object:

// ==UserScript==
// @name Forums ASI
// @namespace none
// @author gemp
// @description Une extension pour les forums du site Arrêt sur Images
// @version 2.4.3
// @run-at document-end
// @include http://*.arretsurimages.net/forum*
// @include https://*.arretsurimages.net/forum*
// @require https://gemp.ch/forums-asi/firefox/jquery-v2.js
// ==UserScript==
// @name ASI beta
// @version 0.7
// @description On se refait pas
// @author gemp
// @match https://beta.arretsurimages.net/*
// @updateURL https://gist.github.com/gemp/c88ff33c6e81e472c88d4d9b0025082c/raw/beta-asi.user.js
// @downloadURL https://gist.github.com/gemp/c88ff33c6e81e472c88d4d9b0025082c/raw/beta-asi.user.js
// @grant none
// ==/UserScript==
Started GET "/pools/list.json" for 127.0.0.1 at 2020-07-19 12:44:25 +0200
Processing by PoolsController#list as JSON
User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2 [["id", 1], ["LIMIT", 1]]
Role Load (1.1ms) SELECT "roles".* FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = $1 [["user_id", 1]]
Edition Load (0.7ms) SELECT "editions".* FROM "editions" WHERE "editions"."id" = $1 LIMIT $2 [["id", 22], ["LIMIT", 1]]
Rendering pools/list.json.streamer
(7.2ms) SELECT COUNT(*) AS "size", MAX("users"."updated_at") AS timestamp FROM "users" WHERE ("roles"."name" IN ('admin', 'previewer') OR "roles"."name" IS NULL) AND "users_pools"."edition_id" = $1 [["edition_id", 22]]
Rendered pools/list.json.streamer (16.1ms)
Completed 500 Internal Server Error in 33ms (ActiveRecord: 11.2ms)
(0.7ms) BEGIN
Comment Create (2.4ms) INSERT INTO "comments" ("user_id", "movie_id", "score", "created_at", "updated_at", "selections", "cached_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["user_id", 1], ["movie_id", 5064], ["score", 2], ["created_at", "2020-07-22 11:00:59.097679"], ["updated_at", "2020-07-22 11:00:59.097679"], ["selections", "{\"selection\":[\"\"]}"], ["cached_at", "2020-07-22 11:00:59.097340"]]
(0.9ms) ROLLBACK
User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 11]]
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 11]]
Completed 500 Internal Server Error in 1397ms (ActiveRecord: 109.8ms)
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 11]]