I hereby claim:
- I am abel0b on github.
- I am abel0b (https://keybase.io/abel0b) on keybase.
- I have a public key whose fingerprint is 9314 D1AD B327 B2D3 EA8C D38A 3BE0 2A92 7CB2 7ACC
To claim this, I am signing this object:
function (request, response, next) { | |
let html = ReactDOMServer.renderToString(React.createElement( | |
StaticRouter, | |
{ | |
location: request.url, | |
context: {} | |
}, | |
React.createElement(App) | |
)); | |
response.send(` |
import express from "express" | |
import ArticleController from "controller/ArticleController" | |
const app = express() | |
app.get("/articles", ArticleController.index) | |
app.get("/articles/create", ArticleController.create) | |
app.get("/articles/:slug", ArticleController.show) | |
app.get("/articles/:slug/edit", ArticleController.edit) | |
app.patch("/articles/:slug", ArticleController.update) |
# in gitlab Settings > CI/CD > General pipelines > Test coverage parsing | |
/Coverage: (\d+\.\d+)% \(\d+\/\d+\)/ |
async function call(method, path, body) { | |
const response = await fetch(apiRoot + path, { | |
method, | |
body | |
}) | |
return response | |
} |
# Show all hosts in lan | |
arp -n | |
# Show hostname | |
nslookup xxx.xxx.xxx.xxx |
function expand_home() { | |
echo "${1/#\~/$HOME}" | |
} |
start=$(date +%s%3N) | |
sleep 42 | |
end=$(date +%s%3N) | |
echo done in $((end-start))ms |
echo $(git rev-list --all --count).$(git rev-parse --short HEAD)$([[ -z "$(git status --porcelain --untracked-files=no)" ]] || echo "+") |
I hereby claim:
To claim this, I am signing this object:
cat /proc/cpuinfo
Get number of cores
grep "cpu cores" /proc/cpuinfo
Get cpu topology