- This answer on the StackOverflow question: How do I access cookie-session middleware in socket.io on NodeJS?
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
<img srcset="assets/output/icon.png, | |
assets/output/icon@2x.png 2x, | |
assets/output/icon@3x.png 3x" | |
src="assets/output/icon.png" alt="Icon alt"> |
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
{ | |
"input": "assets", | |
"output": "assets/output", | |
"watch": true, | |
"filters": [ | |
{ | |
"glob": "**/*.*", | |
"use": [ | |
{ | |
"name": "lepto.jpeg", |
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 fetch from 'node-fetch'; | |
import twilio from 'twilio'; | |
const { | |
NOTIFICATION_PREFIX, | |
TELEGRAM_CHAT_ID, | |
TWILIO_ACCOUNT_SID, | |
TWILIO_FROM_NUMBER, | |
TWILIO_TO_NUMBER | |
} = require('../../../config'); |
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 React from 'react'; | |
import { Helmet } from 'react-helmet'; | |
import { REACAPTCHA_PUBLIC } from '../config'; | |
const Page = () => { | |
return ( | |
<React.Fragment> | |
<Helmet> | |
<script src={`https://www.google.com/recaptcha/api.js?r=${Math.random()}`} async defer></script> |
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
2gua.rainbow-brackets | |
bierner.markdown-preview-github-styles | |
bpruitt-goddard.mermaid-markdown-syntax-highlighting | |
bungcip.better-toml | |
christian-kohler.npm-intellisense | |
chrmarti.regex | |
cssho.vscode-svgviewer | |
DavidAnson.vscode-markdownlint | |
dbaeumer.vscode-eslint | |
dimitrinicolas.landmannalaugar |
- skeleton-screens-concept - A Skeleton Screens implementation for SPA first load in CSS
- overflow-color - Automatically switch css html background color to bring a smooth user experience
- semantic.css - Classless CSS framework for building quick semantic HTML pages prototypes
- use-mouse-action - React Hooks to listen to both mouse down or up and click events with a once called function
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
temp1.textContent.replace(/\u200c/g, ''); |
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 { useRef, useEffect, EffectCallback, DependencyList } from 'react'; | |
/** | |
* @param {EffectCallback} effect | |
* @param {DependencyList} [deps] | |
*/ | |
export const useEffectNotFirst = (effect, deps) => { | |
const firstUpdate = useRef(true); | |
useEffect(() => { |
OlderNewer