Skip to content

Instantly share code, notes, and snippets.

View mikoloism's full-sized avatar
💻
@ry 🥇

mikoloism mikoloism

💻
@ry 🥇
View GitHub Profile
@mikoloism
mikoloism / calendar-generator.md
Last active July 2, 2021 18:14
Calendar Generator

Calendar Generator

list of way, we can generate calendar (month, week, or other views)

@mikoloism
mikoloism / deploy-create-react-app-with-gh-pages.md
Last active June 4, 2021 13:44
How deploy create-react-app with gh-pages

How deploy create-react-app with gh-pages

gh-pages is a npm packge help developers to deploy they app on github-pages

steps

1. install

TIPS : this installation should be on home path folder (cd ~ or cd)

npm i -g create-react-app
@mikoloism
mikoloism / nodemailer-checklist.md
Last active June 4, 2021 14:09 — forked from jonathandavidpollock/nodemailer.js
how use nodemailer (checklist)

nodemailer checklist

Install

npm install nodemailer

Coding

@mikoloism
mikoloism / how-record-audio-with-javascript(html).md
Last active June 4, 2021 14:30 — forked from bryanjenningz/record-stop.html
how record audio with javascript (html)

How record audio with javascript in browser(html)

Coding

HTML Elements

<div class="recorder__container">
  <button class="recorder__button recorder__button--record" id="recorder-record-button">Record</button>
  <button class="recorder__button recorder__button--paly" id="recorder-play-button">Play</button>
@mikoloism
mikoloism / read-write-mysql-blob.md
Last active June 10, 2021 04:16 — forked from akirattii/example-read-write-mysql-blob.js
node-mysql example: How to write & read BLOB (forked)

How Read and Write Blob on MySQL using NodeJS

this gist forked from @akirattii

@mikoloism
mikoloism / chrome-extension.md
Last active June 4, 2021 15:03 — forked from akirattii/background.js
an example of chrome extension, which can be opened as new tab by click its browser icon.

Chrome Extension opener

an example of chrome extension, which can be opened as new tab by click its browser icon.

forked from @akirattii

Coding

@mikoloism
mikoloism / barcode-scanner(reader).md
Last active April 2, 2023 13:44 — forked from akirattii/BarcodeScanner.js
HTML: Barcode Scanner on modern browser
@sindresorhus
sindresorhus / esm-package.md
Last active April 26, 2025 12:29
Pure ESM package

Pure ESM package

The package that linked you here is now pure ESM. It cannot be require()'d from CommonJS.

This means you have the following choices:

  1. Use ESM yourself. (preferred)
    Use import foo from 'foo' instead of const foo = require('foo') to import the package. You also need to put "type": "module" in your package.json and more. Follow the below guide.
  2. If the package is used in an async context, you could use await import(…) from CommonJS instead of require(…).
  3. Stay on the existing version of the package until you can move to ESM.
@mikoloism
mikoloism / md-cheatsheet.md
Last active April 25, 2021 17:07
Markdown cheat sheet

Markdown cheatsheet ⭐

Headings

Markdown Markup Preview
# Heading 1 <h1>HEADING 1</h1>

HEADING 1

# Heading 2 <h2>HEADING 2</h2>

HEADING 2

# Heading 3 <h3>HEADING 3</h3>

HEADING 3

# Heading 4 HEADING 4 HEADING 4
@mikoloism
mikoloism / 1-Destructure_Object.md
Last active April 2, 2023 13:39
HOW-WRITE-CLEAN-CODE?

Destructure Javascript Object

Object for Destructuring

// common-base
const object = {
  name: {
  first: 'john',
  last: 'doe',
},