Year | Tag | Name | Author |
---|---|---|---|
2013 | Statistic | Estat | Johnson / Kuby |
2017 | Data | Designing Data-Intensive Applications | Martin Kleppmann |
2022 | Data | Data Mesh | Zhamak Dehghani |
2012 | Data | Big Data: Principles and Best Practices of Scalable Realtime Data Systems | Nathan Marz |
2009 | Statistical | The Elements of Statistical Learning | Trevor Hastie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Preact</title> | |
</head> | |
<body> | |
<script type="module"> | |
import { | |
html, | |
render, |
Useful
Troubleshoots
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function stripParameters(str) { | |
// Split parameters or split folder separator | |
if (str.indexOf('?') > -1) { | |
return str.split('?')[0] | |
} else if (str.indexOf('/') > -1) { | |
return str.split('/')[0] | |
} | |
return str | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { createServer } = require('https') | |
const { parse } = require('url') | |
const next = require('next') | |
const selfsigned = require('selfsigned') | |
// const fs = require('fs') | |
const dev = process.env.NODE_ENV !== 'production' | |
const app = next({ dev }) | |
const handle = app.getRequestHandler() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$custom-checkbox-color: $color-brand-wcag-3-1; | |
$custom-checkbox-size: 24px; | |
.custom-checkbox { | |
.custom-control-input { | |
opacity: 0; | |
width: $custom-checkbox-size; | |
height: $custom-checkbox-size; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$grid-breakpoints: ( | |
xs: 0, | |
sm: 576px, | |
md: 768px, | |
lg: 992px, | |
xl: 1200px, | |
xxl: 1400px | |
); | |
$utilities: ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const template = function (tpl, data) { | |
if (typeof tpl !== 'string') return '' | |
if (typeof data !== 'object') return tpl | |
const interpolate = new RegExp('{{(.+?)}}', 'gi') | |
let result = tpl | |
result = result.replace(interpolate, (...args) => { | |
const values = args[1] ? args[1].trim().split('||') : '' |
Class
class Star {
constructor(name) {
this.name = name;
}
getMessage(message) {
return this.name + message;
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
const url = require('url'); | |
const path = require('path') | |
const fs = require('fs'); | |
const mimeTypes = { | |
"html": "text/html", | |
"mp3":"audio/mpeg", | |
"mp4":"video/mp4", | |
"jpeg": "image/jpeg", |
NewerOlder