Launch the node TCP server for FastAGI:
~$ node path/to/fastagi.js
Add a context for FastAGI testing:
[fastagi-test]
var db = mongoose.connect('mongodb://localhost:27017/DB'); | |
// In middleware | |
app.use(function (req, res, next) { | |
// action after response | |
var afterResponse = function() { | |
logger.info({req: req}, "End request"); | |
// any other clean ups |
{ | |
"extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"], | |
"linterOptions": { | |
"exclude": ["node_modules/**/*.ts"] | |
}, | |
"rules": { | |
"interface-over-type-literal": false, | |
"jsx-boolean-value": [true, "never"], | |
"jsx-no-lambda": false, | |
"no-console": false, |
Launch the node TCP server for FastAGI:
~$ node path/to/fastagi.js
Add a context for FastAGI testing:
[fastagi-test]
No need to click on an a tag to see the equation, just hover on any <a>
tag created using \eqref{label}
and that's it!
# Windows XSrv config | |
export $(dbus-launch) | |
export LIBGL_ALWAYS_INDIRECT=1 | |
export WSL_VERSION=$(wsl.exe -l -v | grep -a '[*]' | sed 's/[^0-9]*//g') | |
export WSL_HOST=$(tail -1 /etc/resolv.conf | cut -d' ' -f2) | |
export DISPLAY=$WSL_HOST:0 |
# Windows XSrv config | |
export $(dbus-launch) | |
export LIBGL_ALWAYS_INDIRECT=1 | |
export WSL_VERSION=$(wsl.exe -l -v | grep -a '[*]' | sed 's/[^0-9]*//g') | |
export WSL_HOST=$(tail -1 /etc/resolv.conf | cut -d' ' -f2) | |
export DISPLAY=$WSL_HOST:0 |
Common steps :
(Tested with Quartus 16 and Verilator 3.912)
Assign a value to an enumerated type without specifying width:
typedef enum logic[3:0] {
FOO = 0,
BAR = 1
} my_enum_t;
/* | |
* Verilog Simulator checker by predefined macro. | |
* | |
* Copyright (C) 2017 MURAMATSU Atsushi <[email protected]> | |
* | |
* Permission is hereby granted, free of charge, to any person | |
* obtaining a copy of this software and associated documentation files | |
* (the "Software"), to deal in the Software without restriction, | |
* including without limitation the rights to use, copy, modify, merge, | |
* publish, distribute, sublicense, and/or sell copies of the Software, |
Um exemplo de css para usar no GitBook