Skip to content

Instantly share code, notes, and snippets.

View lapin-b's full-sized avatar

l4p1n (Mathias B.) lapin-b

View GitHub Profile
mars 06 17:24:55 nerandel gitea[1310]: [Macaron] 2019-03-06 17:24:55: Started POST /user/activate for <client IP address>
mars 06 17:24:55 nerandel gitea[1310]: [Macaron] PANIC: runtime error: invalid memory address or nil pointer dereference
mars 06 17:24:55 nerandel gitea[1310]: /usr/local/go/src/runtime/panic.go:513 (0x430e08)
mars 06 17:24:55 nerandel gitea[1310]: /usr/local/go/src/runtime/panic.go:82 (0x42ff5d)
mars 06 17:24:55 nerandel gitea[1310]: /usr/local/go/src/runtime/signal_unix.go:390 (0x446ef1)
mars 06 17:24:55 nerandel gitea[1310]: /go/src/code.gitea.io/gitea/routers/user/auth.go:1041 (0x10c6f7e)
mars 06 17:24:55 nerandel gitea[1310]: /usr/local/go/src/runtime/asm_amd64.s:522 (0x45f89a)
mars 06 17:24:55 nerandel gitea[1310]: /usr/local/go/src/reflect/value.go:447 (0x4c7813)
mars 06 17:24:55 nerandel gitea[1310]: /usr/local/go/src/reflect/value.go:308 (0x4c72a3)
mars 06 17:24:55 nerandel gitea[1310]: /go/src/code.gitea.io/gitea/vendor/github.com/go-macaron/inject/inject.go:177 (0x962e23)
[366] ./app/javascript/packs/about.js 650 bytes {37} [built]
[809] ./tmp/packs/locale_io.js 325 bytes {61} [built]
[842] ./tmp/packs/locale_sl.js 325 bytes {49} [built]
[845] ./tmp/packs/locale_sr-Latn.js 335 bytes {48} [built]
[847] ./tmp/packs/locale_sr.js 325 bytes {47} [built]
[849] ./tmp/packs/locale_sv.js 325 bytes {46} [built]
[852] ./tmp/packs/locale_te.js 325 bytes {45} [built]
[855] ./tmp/packs/locale_th.js 325 bytes {44} [built]
[858] ./tmp/packs/locale_tr.js 325 bytes {43} [built]
[861] ./tmp/packs/locale_uk.js 325 bytes {42} [built]

Keybase proof

I hereby claim:

  • I am lapin-b on github.
  • I am l4p1n (https://keybase.io/l4p1n) on keybase.
  • I have a public key whose fingerprint is B662 E39E 8971 8E6B 8960 893C 4577 D41D 2F68 4552

To claim this, I am signing this object:

@lapin-b
lapin-b / laravel_method_spoof.js
Created March 9, 2016 09:04
Spoofs a request method for RESTful controllers
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min)) + min;
}
var links = document.querySelectorAll('a[data-method]');
var csrf = document.querySelector('meta[name=csrf]').content; // Change if needed
var body = document.querySelector('body');
// Spoof delete method
// USAGE: <a href="..." data-method="<method>">...</a>
@lapin-b
lapin-b / amendement.md
Created December 8, 2015 00:05 — forked from Nainterceptor/amendement.md
Amendement projet de loi "prorogation de l'état d'urgence" (Loi n° 2015-1501)

Amendement

Article 1 :

Insérer un alinéa ainsi rédigé :

Dans le cas où le dit état d'urgence ne garanti pas la sécurité des citoyens, la Banque de France, sous mandat de la direction générale des finances publiques, se doit de rembourser l'intégralité des impots payés par les citoyens durant l'année en cours.

@lapin-b
lapin-b / gist:81bc314a777455b3977a
Created November 4, 2014 11:47
ZenCode syntax for Bootstrap's panels
div.panel.panel-default>div.panel-heading>h3.panel-title^div.panel-body