Skip to main content

BLOG / TECHNOLOGY

Ideas put into practice.

AI, engineering, and tools. Notes on things I use, build, and test in real projects.

35–51 of 76 articles

Generating CSV with JavaScript and Fixing Chinese Encoding Issues
Tech
Aug 22, 2017

Generating CSV with JavaScript and Fixing Chinese Encoding Issues

This post explains how to generate CSV files on the frontend using JavaScript, addressing common issues like Chinese encoding, comma escaping, and custom file names via BOM, data URIs, and the download attribute.

Reads11kComments8
Read the full story
Understanding Viewport Units: vw, vh, vmin, vmax
Tech
Apr 11, 2016

Understanding Viewport Units: vw, vh, vmin, vmax

Master responsive font sizes and heights with just a few CSS lines by harnessing the power of viewport units.

Reads7.6kComments5
Read the full story
ES6 Modules
Tech
Aug 20, 2015

ES6 Modules

Discover the essentials of JavaScript modular management with a clear guide to export and import in ES6.

Reads7.1kComments2
Read the full story
JavaScript Object Conversion: toString and valueOf Explained
Tech
Apr 20, 2015

JavaScript Object Conversion: toString and valueOf Explained

Explore how JavaScript objects convert to primitive values using toString and valueOf, uncovering the rules and common pitfalls.

Reads8.2kComments10
Read the full story
WebGL Learning Notes | WebGL Tutorial (Part 2)
Tech
Dec 3, 2014

WebGL Learning Notes | WebGL Tutorial (Part 2)

Dive into WebGL rendering flow and shaders to easily grasp the core concepts and code of vertex and fragment shaders.

Reads8.8kComments0
Read the full story
WebGL Learning Notes | WebGL Tutorial (Part 1)
Tech
Nov 16, 2014

WebGL Learning Notes | WebGL Tutorial (Part 1)

Join the author on a beginner-friendly journey through WebGL basics and learn how to draw your first red rectangle.

Reads11kComments2
Read the full story
How I Manage Version Releases Efficiently
Tech
Aug 13, 2014

How I Manage Version Releases Efficiently

A practical guide to an automated, fast, and safe version release process that simplifies deployment risks and rollbacks.

Reads7.0kComments10
Read the full story
HTML Input Color Picker (HTML5 Color Input)
Tech
Jul 2, 2014

HTML Input Color Picker (HTML5 Color Input)

Easily invoke the system color picker, respond to color changes in real-time, and offer color options to enhance user interaction.

Reads17kComments2
Read the full story
How to Get Server System Time Using JavaScript
Tech
Jun 24, 2014

How to Get Server System Time Using JavaScript

Easily obtain server time by reading the Date field from HTTP response headers, avoiding risks of tampered local time.

Reads12kComments6
Read the full story
Comprehensive Guide to Flexbox Layout
Tech
Jun 12, 2014

Comprehensive Guide to Flexbox Layout

Explore the core concepts and key properties of Flexbox to master modern web layout techniques with ease.

Reads14kComments2
Read the full story

Coding, and living with intention.

Subscribe
© 2012–2026 Mofei·Privacy·Terms
Life compiled in code