Skip to content

Instantly share code, notes, and snippets.

View smiley717's full-sized avatar
😀
Focusing & Smiling

smiley717

😀
Focusing & Smiling
View GitHub Profile
@smiley717
smiley717 / GitCommitEmoji.md
Created May 15, 2023 09:47 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@smiley717
smiley717 / frontend-ws-connection.ts
Created March 21, 2021 19:47 — forked from jsdevtom/frontend-ws-connection.ts
kubernetes-ingress websockets with nodejs
export const ws = webSocket<WebsocketMessage>(`wss://${location.hostname}:${location.protocol === 'https:' ? 443 : 80}/ws/`);
export const wsObserver = ws
.pipe(
retryWhen(errors =>
errors.pipe(
delay(1000)
)
)
);