Open in app

Sign In

Write

Sign In

Allen Kim
Allen Kim

308 Followers

Home

About

Mar 22

Chrome Browser Test with Karma

Karma test runner with Headless Chrome — Init and install packages Create karma.conf.js Create a test, my-test.spec.js, which requires a browser Run Karma tests Init and install packages $ npm init -y $ npm i chai karma karma-chai karma-chrome-launcher karma-mocha mocha -D $ cat package.json { "name": "karma-with-chrome", "devDependencies": { "chai": "^4.3.7", "karma": "^6.4.1"…

Test

2 min read

Chrome Browser Test with Karma
Chrome Browser Test with Karma
Test

2 min read


Mar 3

Resize <div> by draggable Handle

Create resizable handles like <textarea> — Summary Build a resize-handle with CSS only Define actions when mouse down Define actions when mouse move Define actions when mouse up Code #1 — #4 with VanillaJS custom element Build a resize-handle with CSS

JavaScript

2 min read

Resize <div> by draggable Handle
Resize <div> by draggable Handle
JavaScript

2 min read


Feb 15

Scrum is Communism

I have been certified as a scrum master twice, and right now, I am in a meeting to learn scrum. This is my idea about scrum.

1 min read

Scrum is Communism
Scrum is Communism

1 min read


Feb 6

CMS/PKCS7 Sign Contents With NodeJS

To sign contents, you need to have the following A certificate A private key (associated with #1) If you don’t have a certificate, let’s create one with openssl . This is the command to generate. $ openssl req -config example-com.conf -new -x509 -sha256 -newkey rsa:2048 -nodes -keyout example-com.key.pem …

Pkcs7

2 min read

CMS/PKCS7 Sign Contents With NodeJS
CMS/PKCS7 Sign Contents With NodeJS
Pkcs7

2 min read


Feb 6

Accessing Public SMTP with username and password

With smtp2go and mail.com — Assuming you are a developer and you send emails from your code. Then you need an SMTP server, but you don’t want to run your own server. What should you do? You can have a SMTP server by paying for it. Or you can have a free one using smtp2go.com…

Smtp

3 min read

Accessing Public SMTP with username and password
Accessing Public SMTP with username and password
Smtp

3 min read


Feb 6

Run a Simple SMTP server locally for Mac users

Install MailHog

Smtp

1 min read

Run a Simple SMTP server locally for Mac users
Run a Simple SMTP server locally for Mac users
Smtp

1 min read


Dec 1, 2022

React Library With Typescript and Storybook in 5 minutes

The minimal React library template with visible components with Storybook — This tutorial is to experience a minimal React Typescript library with storybook in 3 steps; initialize, create, and run. Initialize npm packages, Typescript, and Storybook Create a Button component and a story Run storybook and build At the end, you will see the files exactly like this. % tree -I…

React

3 min read

React Library With Typescript and Storybook in 5 minutes
React Library With Typescript and Storybook in 5 minutes
React

3 min read


Nov 30, 2022

Getting Started With Angular and Storybook in 5 minutes

A Tutorial with commands — While you are coding, have you ever wondered how my UI component look and work? To see a UI component to work, you have to start a demo. app. server, which requires initial coding, then you have to code more like the following; importing statement updating modules updating html Storybook…

Storybook

2 min read

Getting Started With Angular and Storybook in 5 minutes
Getting Started With Angular and Storybook in 5 minutes
Storybook

2 min read


Published in

Technology Hits

·Nov 15, 2022

Coding Angular and React Together

To use any React component in an Angular project — Imagine your company is using Angular and you need to import React components into your Angular project. Furthermore, you need to make use of a React library, such as Reactflow, to build a part of your Angular application written in React. This tutorial is to write React code in Angular. …

React

2 min read

Coding Angular and React Together
Coding Angular and React Together
React

2 min read


Nov 11, 2022

Express Typescript Webpack Build

Build NodeJS Express application to a single output file — This is to quickly get started with Webpack using Express and TypeScript. Setup and install npm packages $ mkdir test $ cd test $ mkdir src $ npm init -y $ npm i typescript@4 ts-node@10 nodemon@2 -D $ npm i express@4 @types/express@4 -D $ npm i webpack@5 webpack-cli@4 ts-loader@9 copy-webpack-plugin@11 -D ts-loader is TypeScript loader…

Express

2 min read

Express Typescript Webpack Build
Express Typescript Webpack Build
Express

2 min read

Allen Kim

Allen Kim

308 Followers

Software Developer

Following
  • Jason Knight

    Jason Knight

  • Nicholas Cunningham

    Nicholas Cunningham

  • Entreprogrammer

    Entreprogrammer

  • Mónica Rodrigues

    Mónica Rodrigues

  • Ana Morales

    Ana Morales

See all (46)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech