Front-End
Share experience about front end technology
Deploy GCP Cloud Function with Event Trigger via PubSub
2023/04/06·2 min readThis blog create simple Node.js and deploy to GCP Cloud Function as PubSub Event Trigger.
Deploy GCP Cloud Function with Http Trigger
2023/04/06·1 min readThis blog create simple Node.js and deploy to GCP Cloud Function as Http Trigger.
How to Publish NPM Package to npmjs.com
2023/02/05·1 min readHow to Publish NPM Package to Github
2023/02/01·1 min readCRUD with Cloud Firestore and Node.js by Google Cloud Function
2022/10/06·4 min readThis blog show how to do CRUD operation with Firestore and Google Cloud Function
How to Deploy Cloud Functions with Node.js
2022/10/03·3 min readThis blog demo how to get start with Cloud Function with Node.js and how to deploy to the Cloud
Use .gcloudignore to Ignore files deploy to the Cloud Functions
2022/10/02·1 min readTHis blog show couple example code/command that how to interact with google cloud functions.
Use TypeScript with Google CloudFunction and Deploy locally
2022/10/01·4 min readThis blog show how to setup TypeScript with CloudFunction and Deploy to Google Cloud locally
How to Create Firestore database by Node.js
2022/10/01·3 min readCloud Firestore is cloud-based, NoSQL database, this article shows how to get start wth Node.js
How to Manage Traffic with Cloud Function and Manage Revision
2022/09/12·2 min readIf you have used the Google Cloud Function, you'll notice how easy it can deploy code and without worry the backend managed services by Google, so you can focus on development, at this blog will focus on how to manage traffic and revision once you have to deploy more different version.
How to Lock Node.js Project Version
2022/09/10·2 min readIf you use Node.js with different project in your development environment, you might get error depend on different Node.js version with different package.
Use Prettier to Format VS Code to Enforce Consistent Style
2022/08/01·2 min readAsync Defer Inline or External Script Tag in JavaScript
2022/03/10·2 min readThe difference between async, defer inline and external script tag execution order.
Use Lambda with Node.js to Insert Data Into DynamoDB
2021/06/01·2 min readThis blog show how to create AWS Lambda with Node.js and insert record into DynamoDB, also shows manully deploy Lambda as packageto AWS from the your local develop environment.
How to Getting Started with Sentry Error Tracking
2021/04/01·2 min readThis blog shows how to get started with Sentry.io for tracking JavaScript errors and performance.
Angular2 Master/Detail Page Example
2020/12/11·1 min readThis blog demo how to build angualr2 master/detail page, following is the template page for now.
How to Find Record from MongoDB with Node.js and Mongoose
2020/09/11·2 min readThis blog will show a tutorial about how to find data into MongoDB by using Node.js with Mongoose.
How to Update MongoDB Data with Node.js and Mongoose
2020/08/11·2 min readHow to Insert Data into MongoDB with Node.js and Mongoose
2020/07/11·2 min readThis blog will show a tutorial about how to insert data into MongoDB by using Node.js with Mongoose.
How to Redirect HTTP to HTTPS on Amazon Linux with Node.js
2020/05/02·3 min readThis blog shows how to redirect from HTTP to HTTPS by using Nginx at Amazon Linux EC2 Instance.
How to Use nconf for Environment Configuration at Node.js
2020/03/02·1 min readThis blog shows how to use nconf for Node.js environment configuration.
Javascript Splice vs Slice
2020/02/03·1 min readThis blog compares how to use Splice versus using Slice at JavaScript.
Javascript Push Pop Shift and Unshift
2020/01/05·2 min readThis blog show difference between the JavaScript Array's method push, pop, shift and unshift usage.
Detect Breakpoint at Angular
2019/02/01·1 min readSample code about how to detect breakpoint at Angular.
Start Angular2 with Angular2-Webpack-starter
2016/09/03·1 min readGet start with Angular2 with Angular2-webpack-starter
Start Angular2 with angular-cli
2016/09/01·2 min readThis blog will show how to get start with Angular2 with angular-cli.
Angular2 HelloWorld
2016/06/30·1 min readUse Angular2 to create a Simple Sample App.
Angular2 - Quickstart Angular2 with angular.io
2016/05/31·2 min readGetting started with Angular2 using the angular.io QuickStart example, covering all the required files and setup.
Start Angular2 - Resources
2016/05/31·3 min readFew resources to learn Angular2.
Angular2 StackOverflow List
2016/05/28·1 min readAngular2 - Try angular.io's tutorial
2016/05/28·1 min readA code snippet about how to use Angular2.
Few Useful Command Line Commands for Node.js
2016/04/15·1 min readStart Use Gulp and Browserify to Build Angular App with Node.js
2016/04/01·3 min readHow to add Facebook Share Button to the Page
2016/01/31·4 min readThis blog show how to use facebook share in 3 ways. Contains code snippet in HTML, Javascript.
How to Debug Node.js Code with Visual Studio
2016/01/31·1 min readHow to debug node.js app in visual studio.
How to Use gigya to Share and Comments
2016/01/31·1 min readHow to use Gigya to share and comment
SEO - Robots and Sitemap.xml
2016/01/07·1 min readEasiest improvement for robots is add file robots.txt and following content. It means allow any robots engine to crawl your site,and don't index your /keystone and /admin root folder. One of the reason you do that is then these engine won't check your page sofirst your page speed is better.
Fix Google Crawl Errors 404
2015/12/31·1 min readHTML i Tag Closing Tag
2015/12/31·1 min readStop Using Visual Studio 2013 with Node.js Project
2015/12/31·1 min readStop using Visual Studio with Node.js Project
About Javascript Best Practices, ECMAScript 5
2015/12/29·3 min readEverything about Javascript ECMAScript 5.
A Memo for ECMAScript 5 - The Good, Bad, and Awful Parts
2015/12/04·4 min readA comprehensive guide to JavaScript quirks, pitfalls, and best practices based on Douglas Crockford's JavaScript - The Good Parts.
How to Create a Simple Angular Contact Form at Keystone.js
2015/11/01·4 min readAngular.js with keystone.js
How to Hightlight Code Block by Use Prism
2015/10/31·1 min readPrism is very nice javascript, css library for syntaxhight your code.
Few Sample Applications for Angular.js
2015/10/02·1 min readList of angular app example, template from github or other open source.
How to add Google Fonts to Your WebSite
2015/10/02·1 min readHow to get start using Google Font API
How to Run Keystone.js within IIS
2015/07/31·2 min readA instruction of how to install node.js keystone at windows 7 IIS as web application.
A Simple Design to Use Ghost Blog Platform with Visual Studio
2015/07/31·1 min readarchitecture of ghost in windows system.
List of Useful Links about Ghost Blog Platform
2015/07/31·1 min readList of links and tips for Ghost Blog Platform.
How to Use Ghost Blog CRM Platform
2015/07/31·2 min readThis blog provides basic information about how to use Ghost Platform, after how to install Ghost.
How to Run Ghost Blog Platform at IIS
2015/07/31·3 min readThis is about how to setup Ghost to run at IIS Web Server.
How to Setup Ghost as Intranet Network
2015/07/31·1 min readSo following How to setup Ghost(node.js) at window server [../blog/post/run-ghostnodejs-at-iis], you could setup Ghost atProduction server or use as local development. This blog show how to setup as Production but use inside the company's network asIntranet.
Few Free Node.js Web Application for Web Developers
2015/07/02·1 min readFew List of web application framework build on top of node.js
How to Install Node.js Ghost Blog Platform
2015/06/02·1 min readShows how to install the Ghost Node.js blogging platform.
Angular Directive for Check Number Input
2015/05/01·1 min readA simple angular directive input text only accept number as 10 digits, but also length is configurable at view.
How to Support IE9 Input Placeholder for Angular.js
2015/05/01·1 min readHow to make placeholder at IE9 use angular works, yes just make it work.
Example Code - How to Use Angular.js Location Hash
2015/05/01·1 min readangular location hash example code
Code Snippet - Sample Code for Beautify Json
2015/05/01·1 min readHow to Use CSS3 Media Query
2014/10/04·1 min readFew tips about CSS3 Media Query.
CSS Add Content Between Links
2014/09/06·1 min readsample code for apply style only for tablet, mobile, inserting cotent between links by css.
Javascript default behavior of load method
2014/08/02·1 min readWas curious and although I think I kind of know the result just want to do a check what's default javascript behavior to load themethod. Should I always put the method to the beginning of the script or the end of the script.
How to Keep Node.js Running at Linux Server
2014/08/02·2 min readHow to use nohup and respawn.js to keep a Node.js web application running on a Linux server.
Few Ways to Handler Environment Config at Express.js
2014/08/01·1 min readConfig for your application is very important, because your testing, development and production is going to have differentenviroment variable. This blog show few choice of using config at Node.js.
Crawl Postponed Because Robots.txt was Inaccessible
2014/07/05·2 min readWhen you see the error message "Crawl postponed because robots.txt was inaccessible" at your web master page. It is telling youthat google can't crawl your site, something wrong with your robots.txt. That means, your site's SEO is dead, unless somebody knowyour site go to your site directly, otherwise google will not showing your site to search.
Few Very Useful Links to Help Improve the SEO
2014/07/05·2 min readfew very useful seo tools and tools could improve your site's SEO.
Few Useful Links About JavaScript Best Practices
2014/07/05·1 min readFew collections about best practices of JavaScript.
Code Snippet - How to do Async Programming in Node.js
2014/07/05·1 min readA shot sample code to describe how to use npm async module waterfall process.Since node.js, mongoose is async, if want to process your logic like, update step 1 do setup 2 and more. Use async module is oneway.
Code Snippet - Return Json Response for Express.js
2014/07/05·1 min readA Sample Code Snippet for creating API return JSON object.
How to Get Start with Mongoose
2014/06/21·1 min readThis article provide information for you to get start with mongoose.
How to Handler 500 Error at Express.js
2014/06/14·1 min readSample code about how to handler 500 error at Express.js
How to Get Start by Using Express.js
2014/06/07·3 min readThis blog will show how to use Express.js default template on your local machine. Also deploy it to the cloud to verify itworking. The IDE using at this blog is Sublime Text and Cloud9 IDE.
How to Use Yeoman, Brower, Grunt, Angular.js and Node.js
2014/06/07·2 min readGet Start Yeoman, Grunt and Brower with AngularJS, NodeJS I really like work with this fast, modern web development after try a simple html template provide by Yeoman. Run the buildtask with Grunt, search additional library with Brower. All that make the web development very simple and fast. In additional withclient side technology AngularJS and backend-side NodeJS.
How to Get Start with Node.js
2014/05/31·2 min readA sample code about how to use Node.js to create a simple web server.
Code Snippet - How to Add CSS Class to Jade
2014/05/31·1 min readCode Snippet - How to Use Variable with Jade
2014/05/31·1 min readA quick example of how to use variables in Jade (Pug) templates.
Few Links About Convert Jade to Html and Vice Versa
2014/05/10·1 min readHow to Use Different Environment Config with Node.js
2014/05/03·1 min readHow to use environment config with Node.js.
Code Snippet - How to Access Query String at Node.js
2014/05/02·1 min readSample Code snippet how to access querystring at Node.js.
Code Snippet - How to Handler Redirect within Node.js
2014/05/02·1 min readat node.js server side, you want to redirect to another url after you success get response from one api.you can try use request module.
How to Run Node.js as Background by Using Forever
2014/04/30·3 min readHow to use forever to run Node.js as background.