Content CMS
Content processor
Content Publish
Content CMS
Content processor
Content Publish
javascript key/value database that store the values in multiple directores where the key is used to calcula the partition dire / file name
[GitHub] c0d3r111/json.db.js - A flat key value json store
[GitHub] c0d3r111/kv.db - A simple node.js embedded key value database
import * as React from 'react'; | |
export interface ComponentNameProps { | |
className?: string; | |
// other properties | |
} | |
export const ComponentName: React.FunctionComponent<ComponentNameProps> = ({ className }) => { | |
// internal logic | |
import * as React from 'react'; | |
import { useRouter } from 'next/router'; | |
//----------------------------------------------------------------------------// | |
const isBrowser = window !== undefined; | |
type Gtag = (...args: any[]) => void; | |
export interface IGoogleAnalyticsPageView { |
// Type level bubble sort algorithm | |
// https://twitter.com/anuraghazra | |
type BubbleSort< | |
A extends any[], | |
Curr extends number = A["length"] | |
> = Curr extends 1 | |
? A | |
: A extends [infer F, infer S, ...infer Rest] | |
? BubbleSort< |
about the commit messages used, it follows the pattern
{TICKED ID} {type}(optional scope): short description
optional body
optional footer
useful tools to generate fake or do mock data
Random users - Generate random user profile pictures and names to use them as placeholders for your prototypes and design projects
The goal: Make the code editor get the expected types definitions while I'm coding
Good morning
// | |
document.querySelector('#info-strings yt-formatted-string.style-scope.ytd-video-primary-info-renderer').innerText | |
// or | |
document.querySelector('meta[itemprop="datePublished"]').content | |
// or |