Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jercylew's full-sized avatar
🏠
Working from home

Yuming Liu jercylew

🏠
Working from home
View GitHub Profile
@jercylew
jercylew / ls-ble-mesh-services.md
Created December 7, 2021 06:33
Leng Shuo Ble Mesh API Specification

Lengshuo Ble Mesh Service Api (Version 1.0.0)

Copyright (2021) Shenzhen Lengshuo Technology Co., Ltd

Introduction

This api is for lengshuo ble devices, the customers currently may get status of devices and other host info with this api. Modification (i.e, PUT/DELETE and POST except login and commands) services are disabled.

Current supported services can be classified as following categories:

@jercylew
jercylew / minification.md
Created August 16, 2019 14:27 — forked from gaearon/minification.md
How to Set Up Minification

In production, it is recommended to minify any JavaScript code that is included with your application. Minification can help your website load several times faster, especially as the size of your JavaScript source code grows.

Here's one way to set it up:

  1. Install Node.js
  2. Run npm init -y in your project folder (don't skip this step!)
  3. Run npm install terser

Now, to minify a file called like_button.js, run in the terminal: