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
/** | |
* Object.prototype.watch polyfill | |
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch | |
* | |
* Known limitations: | |
* - `delete object[property]` will remove the watchpoint | |
* | |
* Based on Eli Grey gist https://gist.github.com/eligrey/384583 | |
* Impovements based on Xose Lluis gist https://gist.github.com/XoseLluis/4750176 | |
* This version is optimized for minification |
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
#[...] | |
# Default language to English | |
export LANG=en_US.UTF-8 | |
export LANGUAGE=en_US | |
export LC_ALL=en_US.UTF-8 | |
#export LC_MESSAGES=en_US | |
#export LC_MESSAGES=C | |
# GIT PS1 FTW |
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
{ | |
"name": "parseDuration", | |
"version": "0.0.1", | |
"main": "./parseDuration.es5.js" | |
} |
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
@import url('https://fonts.googleapis.com/css?family=Roboto'); | |
button { | |
cursor: pointer; | |
} |
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
https://github.com/CaoKha/tenisu-app | |
+ playwright (getByRole) | |
+ vite / vitest: template ? | |
+ vercel <3 | |
+ minimal css global (:root / variables / fontfaces) | |
? tenis-card: onClick -> Link router, className ?, css-in-js vs css variables DX (autocomplete?) | |
? searchbar.spec: filterPlayer = pure -> test without duplication, use import, refactor to use store | |
? store: context <3, API low level, why not move app logic to context? | |
? detailPage: DRY components, Architecture refactor: embed API call or data retrieval (refresh error message is a limitation) |
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
<?php | |
//set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__); // optional | |
spl_autoload_register(function ($class) { | |
$file = preg_replace('#\\\|_(?!.+\\\)#','/', $class) . '.php'; | |
if (stream_resolve_include_path($file)) | |
require $file; | |
}); |
OlderNewer