Skip to content

Instantly share code, notes, and snippets.

interface RequestHandler {
(req: Request, res: Response, next: NextFunction): any;
}
// where Request...
interface Request extends http.ServerRequest, Express.Request {
// ...
}
@Nepoxx
Nepoxx / app.html
Created September 30, 2016 17:59 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from="keys"></require>
<require from="stringTypeOf"></require>
<require from="titlerize"></require>
<form class="form-horizontal form-label-left input_mask">
<div class="form-group" repeat.for="key of data | keys">
Key: ${key}, Value: ${data[key]}
<br>
<label class="control-label col-md-3 col-sm-3 col-xs-12">Title: ${key | titlerize}</label>
@Nepoxx
Nepoxx / bumpme
Last active October 3, 2017 20:12
Tue Oct 3 20:12:41 UTC 2017
@Nepoxx
Nepoxx / journal.log
Created October 30, 2018 14:31
black screen boot
-- Logs begin at Thu 2018-10-25 14:44:55 EDT, end at Tue 2018-10-30 10:26:29 EDT. --
Oct 30 10:18:42 plgagnon-laptop kernel: Linux version 4.18.16-arch1-1-ARCH (builduser@heftig-28760) (gcc version 8.2.1 20180831 (GCC)) #1 SMP PREEMPT Sat Oct 20 22:06:45 UTC 2018
Oct 30 10:18:42 plgagnon-laptop kernel: Command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=c7d128cc-5358-426c-8af9-6cb4487cfa16 rw cryptdevice=/dev/disk/by-uuid/9f858e00-b4e7-458e-8a1c-53a55f0015e8:crypt quiet resume=UUID=d0bd4d41-c0d1-4422-b3b0-062516f6ccbc mem_sleep_default=deep
Oct 30 10:18:42 plgagnon-laptop kernel: KERNEL supported cpus:
Oct 30 10:18:42 plgagnon-laptop kernel: Intel GenuineIntel
Oct 30 10:18:42 plgagnon-laptop kernel: AMD AuthenticAMD
Oct 30 10:18:42 plgagnon-laptop kernel: Centaur CentaurHauls
Oct 30 10:18:42 plgagnon-laptop kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Oct 30 10:18:42 plgagnon-laptop kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Oct 30 10:18:42 plgagnon