TechnoApple Blogs
Developer's daily notes, blogs, and tutorials about software development, C#, Node.js, Javascript, AWS.
How to Manage Traffic with Cloud Function and Manage Revision
2022/9/12·3 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/9/10·3 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.
How to Change DNS Nameservers from Godaddy to Point to AWS Route 53
2022/8/9·1 min readThis blog shows how to change your DNS Nameservers from Godaddy to point to the AWS Route 53. Assume you have registered a DNSdomain at Godaddy, but you want to host a website at AWS, here will provide steps on how to achieve this goal.
Use Prettier to Format VS Code to Enforce Consistent Style
2022/8/1·3 min readInstall nvm for Running Different Node.js Version Locally
2022/7/9·3 min readHow to Configure Apple Sign-In with Apple
2022/11/3·7 min readThis tutorial shows how to integrate sign in with Apple account
How to Update Host File at MacOS
2022/11/3·1 min readThis is simple memo of how to change host file at MacOS
Sign In with Google at Next.js and Next-Session
2022/11/2·5 min readThis tutorial shows how to integrate sign in with Google account, and how to handle callback response from Google Sign-In.
How to Setup Node.JS Web Server to AWS with ECS and Fargate
2022/10/11·10 min readThis blog will focus on how to create simple Node.js by using Docker, then later push the docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js Web Server.
How to Setup Node.JS Web Server to AWS with ECS
2022/10/11·10 min readThis blog will focus on how to create simple Node.js by using Docker, then later push the docker image to AWS ECR and ECS and use AWS Fargate to serve this Node.js Web Server.
How to Configure Google Sign-In with Google
2022/10/11·10 min readThis tutorial shows how to integrate sign in with Google account, focus on how to setup at the GCP.
How to Use Next-Auth with Google Sign-In
2022/10/11·10 min readThis tutorial shows how to use Next-Auth to integrate sign in with Google under Next.js web application.
Use TypeScript with Google CloudFunction and Deploy locally
2022/10/1·3 min readThis blog show how to setup TypeScript with CloudFunction and Deploy to Google Cloud locally
CRUD with Cloud Firestore and Node.js by Google Cloud Function
2022/10/06·6 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·5 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·5 min readTHis blog show couple example code/command that how to interact with google cloud functions.
How to Create Firestore database by Node.js
2022/10/01·5 min readCloud Firestore is cloud-based, NoSQL database, this article shows how to get start wth Node.js
How to Set User Properties in GA4
2022/03/20·5 min readUser scoped custom demensions in GA4, this blog show how to set user properties in GA4 by using gtag or google tag manager.
How to create GCP Monitoring Alert
2022/03/18·6 min readThis blog shows how to create monitoring alert with GCP and provide few examples.
Get Start with Docker with Next.js
2022/03/18·5 min readA Simple Tutorial about how to get start with Docker by using Next.js as Web Server.
Get Start with Docker with Node.js
2022/03/18·5 min readA Simple Tutorial about how to get start with Docker by using Node.js as Web Server.
Few Tips & Tricks of Using 2nd Gen of Cloud Function
2022/03/16·3 min readThis blog show few tips of using the 2nd Gen of the cloud function.
About GA4 Configuration fields
2022/03/16·5 min readView Simple Steps to Setup Google Universal Analytics at Your Web Site.
How to Setup Universal Analytics and GA4 via Google Tag Manager
2022/03/16·5 min readMost of the site already using the Universal Analytics, this blog show how to setup both Universal Analytics and GA4 from Google Tag Manager.
How to Setup Google Analytics 4 with Google Tag Manager
2022/03/12·5 min readGoogle Tag Manager provide easy way to setup Google Analytics 4, this blog provide steps to walk through how to setup GA4 via GTM.
Async Defer Inline or External Script Tag in JavaScript
2022/03/10·6 min readThe difference between async, defer inline and external script tag execution order.
Setup Google Universal Analytics
2022/03/05·5 min readView Simple Steps to Setup Google Universal Analytics at Your Web Site.
How to Use dataLayer to fire GA4 Custom Events via Google Tag Manager
2022/03/01·5 min readGoogle Tag Manager provide easy way to setup GA4, and GA4 custom events. This blog provide steps to walk through how to setup GA4 custom events via GTM.
Setup GA4 with existing Google Universal Analytics
2022/02/10·5 min readSteps to setup GA4 property with your existing Google Universal Analytics.
How to Setup Swagger with Next.js
2021/9/9·8 min readThis blog walk through how to use Swagger / OpenAPI to add API document to Next.js, a node.js framework. It will cover how tocreate to API at Next.js and add API Document with Swagger by swagger-jsdoc and swager-ui-react.
How to Auto Remediate AWS resources By Using AWS Config
2021/9/11·1 min readAWS Config is a service that will record and evaluate all the changes at your AWS services, it will also provide remediate thechanges. This blog will demo how to use AWS Config to auto remediate S3 bucket to enable the versioning.
How to Delete GCP Projects
2021/7/8·1 min readThis is a quick note on how to delete unused GCP Projects to save money.
How to Setup Swagger OpenAPI with Express.js
2021/7/1·13 min readThis blog walk through how to use Swagger / OpenAPI to add API document to the Express.js, node.js framework, it will cover how tocreate to API at Express.js and add API Document with Swagger by using OpenAPI 3.0 specification.
Use Lambda with Node.js to Insert Data Into DynamoDB
2021/6/1·3 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 Deploy Lambda with Node.js with Package Dependencies
2021/5/6·4 min readAWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry aboutyour code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js withpackage dependencies, the code will include one dependency module util, it'll will use zip to compress the index.js andnode_modules folder.
How to Deploy Lambda with Node.js without Dependencies
2021/5/3·3 min readAWS Lambda is serverless compute service and let you run code at AWS's managing servers on the cloud, you will only worry aboutyour code and AWS will manage the underneath servers. This blog is trying to show how to get start with Lambda by use Node.js withNo package dependencies.
How to Self-Hosted Sentry.io at AWS EC2
2021/5/1·3 min readThis blog shows how to self-hosted Sentry.io with AWS EC2.
How to Getting Started with Sentry Error Tracking
2021/4/1·2 min readThis blog shows how to get started with Sentry.io for tracking JavaScript errors and performance.
List of AWS CloudTrail Record Fields
2021/3/7·3 min readAWS CloudTrail helps you record all API call at your AWS account, it enables you to detect who is making what kind of changes tothe AWS environment.
How to Send MongoDB Logs to CloudWatch Logs
2021/3/5·1 min readThis blog shows how to send MongoDB log files to AWS CloudWatch logs, you can spend multiple logs to the AWS CloudWatch logs bydefining the awslogs.config file.
How to Use CloudWatch Logs Insights to Analyze Logs
2021/3/5·1 min readHere, I provide examples of how to use CloudWatch Insights to search or analyze log data in CloudWatch logs. You can query to oneLog group or multiple logs together to analyze the data, you can also save the query and save the result to the CloudWatchdashboard as well.
WebSite Performance Improvement - Lighthouse
2021/3/4·1 min readHow to Collect Memory Disk Usage By Using CloudWatch Agent
2021/3/20·2 min readThis blog provides a quick guide on how to set up CloudWatch Agent manually on EC2 Linux Instance, CloudWatch Agent enables you tocollect system or custom metrics from Amazon EC2 instances across operating systems. You can install CloudWatch Agent on AWS Cloudor on-promise server, Linux, or Windows as well.
How to Send Application Logs from EC2 to CloudWatch Logs
2021/3/2·3 min readThis blog shows how to send application logs from Amazon Linux 2 EC2 Instance to AWS CloudWatch logs, it'll include how to set upand configure.
How to Pass AWS Certified SysOps Administrator - Associate SOA-C02 - Study Question List
2021/3/1·5 min readStarting from July 27, 2021, the AWS Certified SysOps Administrator - Associate exam has been updated, the exam changed fromSOA-C01 to SOA-C02. This blog will help to prepare for the exam base on their exam guide. Below are setlist of question during thereview for the exam guide, these are just a few questions when we reading the guide, it won't guarantee to pass the exam if youknow all but at least will help you better to prepare the exam.
How to Setup Swagger with Nest.js
2021/3/1·3 min readThis blog is about how to setup Swagger / OpenAPI with Nest.js, a progressive Node.js framework, it will cover how to define fewsample API and how to enable Swagger UI at Nest.js.
How to Setup a HTTPS Node JS Server on Amazon EC2
2021/3/1·10 min readThis blog is a complete guide that shows how to set up HTTPS node.js web server on EC2 from beginning to end. It'll include how to set up a simple Express.js web app on EC2, how to create an SSL/TSL certificate by using AWS Certificate Manager, how to setup AWS application load balancer and create redirect rule from non-www to www, HTTP to HTTPS, and how to use Route 53 to configure a route from your custom domain to the AWS application load balancer. This blog will assume using example.com, at the end of the blog, we'd like all the `http://example.com`, `http://www.example.com`, `https://example.com` redirect to `https://www.example.com`.
How to Build Private REST API with Lambda and Used By EC2
2021/2/8·6 min readThis blog shows how to create a private REST API, and then will consume by the EC2 Linux Instance. It will use the AWS API Gatewayto build a private REST API and use the existing VPC endpoint to communicate from EC2 to REST API. The traffic from EC2 to RESTAPI will not go through the public internet.
How to Get Start with Python
2021/2/8·1 min readI'm an experienced developer with C# and Javascript but haven't done any work with Python yet, my main motivation for learningPython is part of learning AL, ML lots of courses require you to have basic Python knowledge. So as a beginner who starts learningPython, I'm searching around to see where are good resources to learn and will share at here as well.
How to Setup MongoDB on Windows
2021/2/3·1 min readThis blog shows how to set up MongoDB 4.4 Community version on windows 10 as a local development environment, create a simpledatabase, table, and collection, and how to backup and store data by using mongoexport and mongoimport.
How To Enable S3 Bucket Access With IP Address
2021/2/23·4 min readS3, Amazon Simple Storage Service is an object cloud storage service can store data on the cloud and designed of 99.999999999 (119's ) of durability. For example you can host image files, you can eitehr make the S3 bucket public so the images is publicavailable so you can access to the file, or you can keep the remain the S3 as private but use the CloudFront to access the S3file, this blog just shows how to make it public with specific IP Address.
Design Principles in Software Development Part 1
2021/2/20·9 min readThis blog is talking about design principles in software development. It includes DRY, Soc, DIE and few more wildly used designprinciple and provide example code.
Design Principles in Software Development Part 2
2021/2/17·8 min readThis blog is talking about design principles in software development. It includes DRY, Soc, DIE, SOLID and few more wildly useddesign principle and provide example code.
How Much does CloudWatch Logs Cost
2021/2/15·2 min readSo CloudWatch logs are not free, but there's no up-front cost and the price is cheap to get started. Here are few things you canpay attention for the CloudWatch logs.
How to Backup DynamoDB Data to Different AWS Account
2021/2/13·5 min readThis blog shows how to migrate DynamoDB data between different AWS Account. You can migrate DynamoDB by using differentapproaches. 1. AWS S3 with AWS Glue. 2. Data Pipeline. 3. Amazon EMR, here, we'll use S3 and focus on how to move DynamoDB backupdata into different AWS account.
How to Sync S3 Bucket to Different AWS Account
2021/2/11·4 min readThis blog shows how to move S3 Bucket content from one AWS account to another AWS account.
PubSub to BigQuery via Dataflow with GCP
2021/11/16·3 min readGCP Pub/Sub is managed messaging service provide by GCP, this blog demo how to create Pub/Sub and use dataflow to subscribe datainto BigQuery.
Quick Start to Install Google Cloud Cli
2021/11/1·1 min readThis blog shows a quick memo on how to get started with GCP cloud cli.
Setting Up Next.js on AWS EC2 Instance
2021/10/2·1 min readNext.js is a React-based web application framework built on top of Node.js web application, AWS EC2 is Amazon AWS Service's cloudcomputing which hosts the VM in the cloud. In this tutorial, we will manually create an EC2 instance and then SSH into theinstance and install and set up the Next.js.
How to Use API Gateway with AWS Lambda Versioning and Aliases
2021/1/3·5 min readThis blog shows how to build a simple API Gateway REST API with AWS Lambda. We'll also use AWS Lambda versioning and aliases toswitch to a different version by using Node.js.
Upload to AWS S3 By Using Node.js
2021/1/16·1 min readThis blog is to show some sample code that how to upload files to AWS by Node.js.
Few Useful Command for Git Log Commit
2021/1/11·1 min readHere a few commands if you want to get a list of git commit information.
How to Squash All Git Commits into One
2021/1/11·1 min readA quick note to show how to squash all git local commits into one.
How to Find Record from MongoDB with Node.js and Mongoose
2020/9/11·1 min readThis blog will show a tutorial about how to find data into MongoDB by using Node.js with Mongoose.
How to Delete Data from MongoDB with Node.js and Mongoose
2020/8/11·1 min readThis blog will show a tutorial about how to delete data from MongoDB by using Node.js with Mongoose.
How to Update MongoDB Data with Node.js and Mongoose
2020/8/11·3 min readHow to Insert Data into MongoDB with Node.js and Mongoose
2020/7/11·1 min readThis blog will show a tutorial about how to insert data into MongoDB by using Node.js with Mongoose.
How to Setup MongoDB on Mac
2020/7/11·1 min readThis blog shows how to set up MongoDB 4.4 Community version on Mac OS, also will create a simple database, table, and collection,and how to backup and store data by using mongoexport and mongoimport.
How to Redirect HTTP to HTTPS on Amazon Linux with Node.js
2020/5/2·3 min readThis blog shows how to redirect from HTTP to HTTPS by using Nginx at Amazon Linux EC2 Instance.
Use AWS Elastic IP Address
2020/4/9·1 min readThis blog will show how to use AWS elastic IP to assign to EC Instance.
How to Backup EC2 EBS Volume
2020/4/1·1 min readThis blog shows how to backup EC2 instance and create another instance to the same region or different region.
How to Retrieve EC2 Instance Meta Information
2020/4/1·1 min readFew commands to get information for EC2 meta information.
Create AWS Classic Load Balancer
2020/3/4·1 min readThis blog shows how to use AWS classic Load Balancer from scratch, first we need to do some preparation. At the end of the setup,you'll set up 2 EC2 instances with the public subnet.
How to Use nconf for Environment Configuration at Node.js
2020/3/2·1 min readThis blog shows how to use nconf for Node.js environment configuration.
Blocking Traffic from Specific IP Address with AWS Network ACL
2020/3/2·1 min readThis blog shows few ways of use AWS Network ACLs to block traffic to your site.
Use VPC Flow Logs
2020/3/11·1 min readThis blog shows how to set up VPC flow logs.
How to Setup AWS Application Load Balancer
2020/2/4·1 min readThis blog will show how to create an AWS application load balancer with custom VPC's EC2 instances.
Javascript Splice vs Slice
2020/2/3·1 min readThis blog compares how to use Splice versus using Slice at JavaScript.
VPC End Point - Use S3 from Private EC2 Instance
2020/2/20·1 min readHow to Create VPC with Public and Private Subnet
2020/2/12·1 min readThis blog shows how to create AWS VPC from scratch.
How to Setup MongoDB on Amazon Linux EC2
2020/2/11·1 min readThis blog shows how to set up a MongoDB database environment on the cloud, AWS EC2 with Amazon Linux.
How to Create AWS Organization - For Consolidated Billing
2020/2/11·1 min readIf you just have 1 AWS account, you could just use that account for billing and development. However, if you have multiple AWSaccounts, it is hard to manage each account's billing, so AWS has a way that is using AWS Organizations to consolidate billing.
Backup AWS DynamoDB Table to Local
2020/12/31·1 min readThis blog shows how to backup your AWS DynamoDB table (on the cloud) to your local DynamoDB environment.
Move DynamoDB Table from Local to AWS Cloud
2020/12/31·1 min readThis blog shows how to move DynamoDB local table and data to the DynamoDB Web Service, unlike SQL Database, you can use the backupfile to restore to a different environment.
Create DynamoDB Table Locally
2020/12/30·1 min readThis blog will show how to create a DynamoDB table in your local environment.
How to Setting up DynamoDB Locally
2020/12/12·1 min readThis blog I'll show how to set up DynamoDB locally, also show a few simple codes to access local DynamoDB.
How to Use C# Enum Flag
2020/12/11·1 min readHow to Increase AWS EBS Volume Size
2020/12/11·1 min readThis quick note shows how to increase AWS EC2 Linux's EBS volume size.
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.
Javascript Push Pop Shift and Unshift
2020/1/5·2 min readThis blog show difference between the JavaScript Array's method push, pop, shift and unshift usage.
Provision AWS EC2 Instance
2020/1/23·1 min readThis blog shows how to create EC2 instance.
SSH to EC2 Instance from Mac OS
2020/1/23·1 min readThis blog shows how to connect to AWS Linux or Ubuntu from Mac OS
How to do S3 Cross Region Replication
2020/1/21·1 min readThis blog shows how to using s3 replication within your current AWS account.
SSH to EC2 Instance via Chrome Extension Secure Shell
2020/1/19·1 min readThis blog shows how to ssh to EC2 Instance via Chrome Extension Secure Shell.
SSH to EC2 Instance via EC2 Instance Connect
2020/1/18·1 min readThis blog shows how to use AWS Instance Connect to SSH to AWS EC2 Instance.
How to Set Up Billing Alarm in AWS
2020/1/14·1 min readThis blog shows how to set up billing alarms in AWS.
Share S3 Bucket Between AWS Account
2020/1/13·1 min readThis blog shows how to share an s3 bucket cross different AWS account.
Build and Deploy with AWS CodePipeline
2019/3/1·4 min readDetect Breakpoint at Angular
2019/2/1·1 min readSample code about how to detect breakpoint at Angular.
Scroll Event at Angular Universal
2019/2/1How to Deploy Node.js App to the AWS Elastic Beanstalk
2019/1/1·1 min readHow to deploy a Node.js app to AWS Elastic Beanstalk.
Use Team Foundation Version Control(TFVC) at Visual Studio Code
2017/7/5·2 min readGit with Visual Studio
2017/6/30Web Caching - Sample Code in ASP.NET MVC
2017/6/30·3 min readUse Mobile Center to Build
2017/5/6·1 min readThis blog is shows how to use mobile center to manage Xamarin Build.
Setup Nginx and SQL Server with Docker
2017/5/3·1 min readThis blog shows how to set up docker with Nginx and SQL server.
Use vue-i18n for Localization at Vue
2017/5/3·3 min readDeploy Mobile App to Google Play Store with Xamarin
2017/3/31·1 min readHow to deploy mobile app to Google Play Store with Xamarin.
Use Mobile Azure Center for Mobile Analytic Crash Reports and More
2017/3/31·2 min readUse Sqllite at Xamarin.Form
2017/3/31·1 min readThis blog provides how to set up an Environment to use SQLite.
Few Xamarin Better Practice Tips
2017/3/31·1 min readXamarin Troubleshooting Tip
2017/3/31Get Start with Xamarin.Form
2017/2/28·1 min readInformation to get started with Xamarin.
How to Install Sitecore 9
2017/12/3·1 min readThis blog will focus on How to set up the local development environment for Sitecore 9.
How to Create Sitecore Mvc Layout and Controller Rendering
2017/12/15·1 min readThis blog demo how to create use MVC Layout and Controller with Sitecore Layout and Controller Rendering. The final source you canget from here [https://github.com/keke78ui9/SitecoreSampleSite].
Install Sitecore via SIM (Sitecore Instance Manager)
2017/11/29·1 min readThis article will describe how to use SIM to install default Sitecore 8 site.
A tip About Visual Studio Nuget Ignore Packages Folder
2017/1/5·1 min readFew Notes about add files, folders to ignore nuget packages folder.
SQL Server Full Text Search Example
2017/1/4·1 min readExample of how to setup the full-text search on SQL Server.
Xamarin- How to Create Master and Detail Page
2017/1/31·1 min readXamarin - Setup Xamarin on Windows
2017/1/31·3 min readXamarin - Use Google Map
2017/1/31·1 min readThis blog shows how to set up Google Map at Xamarin.Form project.
Start Angular2 with Angular2-Webpack-starter
2016/9/3·1 min readGet start with Angular2 with Angular2-webpack-starter
Start Angular2 with angular-cli
2016/9/1·1 min readThis blog will show how to get start with Angular2 with angular-cli.
Get Start with PowerShell
2016/8/3·1 min readInformation to get started with PowerShell.
Pokemon API Development Info
2016/8/2·1 min readInformation about Pokemon API.
Generate PokemonGo RPC Protos to Csharp
2016/7/13·1 min readHow to generate Pokemon Proto API to Csharp Type
Angular2 HelloWorld
2016/6/30·1 min readUse Angular2 to create a Simple Sample App.
Angular2 Route Example with 2.0.0.-rc.1 version
2016/6/30·1 min readAngular2 Route example code.
Get Start with Visual Studio Code
2016/6/30·1 min readGet started with Visual Studio Code.
Windows 10 Block Untrusted Fonts
2016/6/1Angular2 - Quickstart Angular2 with angular.io
2016/5/31·1 min readSo I'm trying to learn Angular by checking angular.io's QuickStart Example. Once you get all the files as following,index.html,package.json,styles.css,systemjs.config.js,tsconfig.json,typings.json. Also, you'll need main.ts and app.component.ts,but you can get all these files at Angular quickstart [https://angular.io/docs/ts/latest/quickstart.html]. I'll list my files herewhich I copied from angular.io because the code here you can reference what's file are using.
Start Angular2 - Resources
2016/5/31·1 min readFew resources to learn Angular2.
Angular2 StackOverflow List
2016/5/28Angular2 - Try angular.io's tutorial
2016/5/28·1 min readA code snippet about how to use Angular2.
Getting Start with TypeScript
2016/4/30·1 min readThis blog shows how to get started with TypeScript.
module is not Recognized as an Internal or External Command
2016/4/2·1 min readHow to fix 'XXX' is not recognized as an internal or external command, operable program or batch file.
Few Useful Command Line Commands for Node.js
2016/4/15Gulp ASP.NET MVC 4.5.2 Template and Browserify
2016/4/1·1 min readHow to Use Gulp ast ASP.NET MVC 4.5.2 Template.
Start Use Gulp and Browserify to Build Angular App with Node.js
2016/4/1·5 min readFew Commands About Use Git to Commit to GitHub
2016/4/1·2 min readHow to Setup and Customize Swagger with ASP.NET MVC
2016/3/4·15 min readThis walkthrough tutorial is about how to set up Swagger with ASP.NET MVC API by using Visual Studio 2015, also provides steps ofhow to customize the swagger UI.
How to Use npm live-server
2016/3/3·1 min readHow to use npm package live-server.
How to Setup MongoDB Text Search with Node.js
2016/3/19·12 min readUpgrade Visual Studio 2013 v4 to Visual Studio 2015
2016/3/1Choose CSS Foundation Template
2016/2/3Get Start with Azure WebJob
2016/2/3·1 min readThis blog shows how to use Azure WebJob.
ASP.NET Web API 2 with Autofac Owin
2016/2/29How to setup ASP.NET Web API 2 with Autofac and Owin
List of Resources to Learn .NET
2016/2/2·1 min readResource to learn .NET
Google Plus Share
2016/2/1How to implement Google Plus share into your Web Appliation.
How to Use Grunt with Keystone.js for Minify CSS, Javascript and HTML
2016/2/1·8 min readHow to Use Grunt to setup task at Keystone.js for minify CSS, Javascript, HTML
Get Start with Xamarin for iOS, Android and Windows App
2016/12/31·1 min readSimple Guide to getting started with Xamarin on PC.
Keyboard Shortcut for Developer
2016/12/31·1 min read.NET Compiler Roslyn
2016/12/31·1 min readFew tips about .NET Compiler Roslyn.
Phonegap Icon and Splash Generator
2016/12/31Use Microsoft Stuff at Mac
2016/12/31·1 min readXamarin - Can't Connect to Mac From Windows with Xamarin
2016/12/31·1 min readPhonegap can't Access My Own Api Service
2016/11/30Get Start with PhoneGap to Build Mobile Apps
2016/11/1Migrate Source Code
2016/10/13·1 min readMigrate source code.
SEO - Robots and Sitemap.xml
2016/1/7·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.
iOS Development Information
2016/1/7·1 min readHow to add Facebook Share Button to the Page
2016/1/31·11 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/1/31How to debug node.js app in visual studio.
How to Use gigya to Share and Comments
2016/1/31·2 min readHow to use Gigya to share and comment
Cross-Origin Resource Sharing Example with ASP.NET
2015/9/5·1 min readSimple example of how to achieve cross domain access at asp.net.
Python Hello World
2015/7/9·1 min readGet start with Python with simple Hello world.
Tips About How to Deploy ASP.NET Web Application
2015/7/31·2 min readDeployment of ASP.NET Web APP
How to Run Keystone.js within IIS
2015/7/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/7/31architecture of ghost in windows system.
List of Useful Links about Ghost Blog Platform
2015/7/31·1 min readList of links and tips for Ghost Blog Platform.
How to Use Ghost Blog CRM Platform
2015/7/31·1 min readThis blog provides basic information about how to use Ghost Platform, after how to install Ghost.
Install Windows 10
2015/7/31·1 min readIf you can't install windows 10, hopefully following download link from microsoft could help you!
How to Compile Bootstrap Sass in Visual Studio 2013
2015/7/31How to compile bootstrap sass to css in visual studio 2013.
How to Run Ghost Blog Platform at IIS
2015/7/31·3 min readThis is about how to setup Ghost to run at IIS Web Server.
How to Setup Ghost as Intranet Network
2015/7/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.
Sample Code - Google Map API - Get Location Info by Zipcode
2015/7/3·1 min readSample Code Snippet to get location info by zipcode from Google Map API.
Few Free Node.js Web Application for Web Developers
2015/7/2·1 min readFew List of web application framework build on top of node.js
How to Install Node.js Ghost Blog Platform
2015/6/2·1 min readShows how to install Ghost [https://ghost.org/download/] node.js platform
Angular Directive for Check Number Input
2015/5/1·4 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/5/1How to make placeholder at IE9 use angular works, yes just make it work.
Example Code - How to Use Angular.js Location Hash
2015/5/1angular location hash example code
How to Config NLog to Log to File, Database and Send Email
2015/5/1·2 min readThis blog will show a example of how to config NLog so able to log to file, database and call class.
Code Snippet - Sample Code for Beautify Json
2015/5/1·1 min readOverride Connectionstring at NLog Config Setting
2015/5/1You can define log to database at NLog, but you can't change connection string depend on your enviroment. This blog shows how tochange connectionstring at C# side depend on your enviroment.
How to Add Item in Sitecore
2015/5/1·1 min readSample Code about how to add item in C#.
Few Tips About Windows Hosts File
2015/3/31·1 min readWith changing hosts file, you can mapping specific hostname to point to your own ip address, or let hostname to point to specificip address at your current computer. For example, I want dev-mysite.com to point to my local machine will be following.
Few Memo about ECMAScript 5
2015/12/4C# RSS Reader Publish Date Issue
2015/12/31·1 min readC# RSS reader publishes date issue.
Fix Google Crawl Errors 404
2015/12/31·1 min readHTML i Tag Closing Tag
2015/12/31·2 min readTroubleshoot IIS - Service Not Available 503 Issue
2015/12/31·1 min readInfo about the IIS 503 issue.
Stop Using Visual Studio 2013 with Node.js Project
2015/12/31Stop using Visual Studio with Node.js Project
Code Snippet - Use T-SQL to Search Table Name by Column Name
2015/12/31·1 min readUse IIS Url Rewrite Module to Redirect from Http to Https
2015/12/31·1 min readHow to use IIS Rewrite module for redirect from http to https.
About Browsers Market Share
2015/12/30About Javascript on the browser.
About Javascript Best Practices, ECMAScript 5
2015/12/29·8 min readEverything about Javascript ECMAScript 5.
How to Create a Simple Angular Contact Form at Keystone.js
2015/11/1·11 min readAngular.js with keystone.js
Few Useful Visual Studio Extensions for .NET
2015/10/31Few very nice visual studio extensions.
Sample Code - Use ASP.NET MVC With Razor
2015/10/31Encrypt Decrypt Web.config ConnectionString by Use aspnet_regiis
2015/10/31·2 min readHow to Encrypt/Decrypt Web.config connectionString
How to Hightlight Code Block by Use Prism
2015/10/31·1 min readPrism is very nice javascript, css library for syntaxhight your code.
ASP.NET Route All Url Go to Single Action
2015/10/31asp.net mvc route for all the url
Windows Authentication
2015/10/31·2 min readSetup windows authentication
Few Sample Applications for Angular.js
2015/10/2·1 min readList of angular app example, template from github or other open source.
How to Use Bootstrap SCSS at Visual Studio 2015
2015/10/2How can I use Bootstrap Sass at Visual Studio?There're many way to achieve this, but you can just use Nuget with visual studio to do this.Nuget + Web Compiler
List of Useful Commands for Nuget
2015/10/2·1 min readNuget is dependency management system for web development, if you use it you'll already familiar with following command. The firstnuget command is install angular, second one is uninstall nuget package.
Javascript Unit Test With Jasmine, Angular and Chutzpah with Visual Studio
2015/10/2·1 min readEnable javascript unit test at Visual Studio Test Explorer window
How to Load Multiple Google Fonts into One Single Request
2015/10/2If you page need more than one google fonts, instead of request multi times. You can try using | to seperate them.
How to add Google Fonts to Your WebSite
2015/10/2How to get start using Google Font API
T-SQL Paging Sample
2015/10/1·1 min readA Sample code for T-SQL pagination.
Fix 404 Issues to Load Bootstrap Icons on IIS
2015/1/31·1 min readFix 404 error when request bootstrap fonts.
How To Implement Mongodb TextSearch with C#
2015/1/31·2 min readSimple code snippet to use mongoC# text search
Troubleshooting - Windows Server Task Scheduler Didn't Run Properly
2015/1/31So you setup windows server 2010 / 2012 task scheduler to run your application and you didn't see anything updated. However, when you run the application manually and finish successfully. It might many different issue that cause the applicationnot run but you can read this blog as reference to try few way here.
Sample Code for Creating ASP.NET MVC
2015/1/3·1 min readSimple Code to create ASP.NET MVC module.
Few Useful Commands for Connect to FTP
2015/1/3·1 min readFew useful info about Connect to FTP Server by command line.
Troubleshooting Issue When Deploy ASP.NET MVC5 to Windows Server
2015/1/3·1 min readIf you getting error as following at IIS when deploying ASP.NET, then this blog might help you. Could not load the file orassembly....
List of Resources to Learn Foundation CSS Framework
2015/1/3·1 min readlist of foundation based templates, plugins and UI controls.
Customize Bootstrap Breakpoint for Show/Hide Nav Icon
2014/9/6·1 min readDefault for boostrap nav to show is 760px, if you want to change it, following is the setting you could do to customize thebootstrap. Following screen example show how to show or hide the nav icon at 1024px.
CSS Add Content Between Links
2014/9/6·1 min readsample code for apply style only for tablet, mobile, inserting cotent between links by css.
How to Deploy Orchard CMS Open Source to IIS
2014/9/5·1 min readOpenSource Orchard is awesome, this blog demo how to donwload the source code and setup at IIS.
Few Useful Links for Starting Python Framework
2014/9/27·1 min readFew Visual Studio 2013 Helpful Settings
2014/8/3113 Intranet Application for Use By Back-end Office System
2014/8/2·3 min readEvery company need a backend-office system, either SCM, ERP and others. You can build everything from scratch or start fromsomething already exist to save your time. Here, I tried to provide list of site provide Intranet functions will good content.
How to perform Geospatial Queries by Using MongoDB with C#
2014/8/2·2 min readTHis blog shows a example of how to use C# location query to MongoDB
Javascript default behavior of load method
2014/8/2·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/8/2·1 min readThis blog shows how to use nohup + repawn.js to keep node.js web application running. Node.js/Express.js is great for Web API’sand applications. In contrast to known enterprise technologies, Node.js is very special. It’s a single process/threadedenvironment. If an unhanded exception occurs, the Node.js virtual machine simply stops, leaving the application in an unresponsivestate. Due to the async nature of Node.js, try/catch doesn't always work, even with domains and stuff you have a chance that theapplication crashes on production while you sleep. from http://java.dzone.com/articles/how-keep-nodejs-processes. This's node.js,it's different.
Mongodb 2.6 upgrade
2014/8/2·1 min readhow to upgrade mongodb from 2.4 to 2.6
How to Setup MongoDB on Windows Service
2014/8/2·1 min readThis blog shows how to install simply install and use mongoDB.
Use Git with Visual Studio2012
2014/8/2·1 min readThis is a memo about how to use Git with Visual Studio 2012.
How to Use MongoDB TextSearch by Mongoose
2014/8/2·1 min readHow to use MongoDB text search
Few Ways to Handler Environment Config at Express.js
2014/8/1·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.
How to Get Start With Orchard to Create Module
2014/8/1·3 min readThis blog shows how to create a HelloWorld module to Orchard, ASP.NET MVC open source application, also how to add the module asrole at create role page.
Crawl Postponed Because Robots.txt was Inaccessible
2014/7/5·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/7/5·2 min readfew very useful seo tools and tools could improve your site's SEO.
Few Useful Links About JavaScript Best Practices
2014/7/5·1 min readFew collections about best practices of JavaScript.
Code Snippet - How to do Async Programming in Node.js
2014/7/5A 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/7/5·1 min readA Sample Code Snippet for creating API return JSON object.
Code Snippet - How to Find Items by ObjectId with Mongoose
2014/7/5·1 min readGet all records where the Ids contain specific object Id with Mongoose.
Set MongoDB GMT Time in C#
2014/6/7How to Get Start by Using Express.js
2014/6/7·1 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/6/7Get 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 Mongoose
2014/6/21This article provide information for you to get start with mongoose.
How to Handler 500 Error at Express.js
2014/6/14·1 min readSample code about how to handler 500 error at Express.js
How to Use Forever in Linux for Node.js
2014/5/31·1 min readForever is an npm package, this blog shows how to use it.
How to Get Start with Node.js
2014/5/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/5/31Code Snippet - How to Use Variable with Jade
2014/5/31JADE VARIABLE EXAMPLEfollowing h1 will show's the "hello, h1 will be this."- foo = "hello, h1 will be this." h1=fooMORE EXAMPLE YOU CAN FIND AT HERE.Jade Variable example [http://naltatis.github.io/jade-syntax-docs/#variables]
How to Log All WebAPI Request Response at ASP.NET MVC
2014/5/31·4 min readEXAMPLE OF LOG WEBAPI MVC3 CONTROLLERExample code of logging every request/response/exception when access to ASP.NET MVC 3 controller.
Few Commands about How to Export/Import MongoDB Collections
2014/5/31·1 min readThis blog shows few commands about how to export/import MongoDB Collections.
Code Snippet about T-SQL Query
2014/5/31·1 min readSample code snippet for SQL.
Simple Code to Setup WebApi with OData
2014/5/31·1 min readThis section show how to setup OData Web api
Few GUI App to Use MongoDB at Windows
2014/5/3·1 min readList of Free Mongodb Management tools.
Code Snippet - How to Use Extension with Enum
2014/5/3In C# you sometime have to convert enum to Int value. Like following example
How to Use Different Environment Config with Node.js
2014/5/3·1 min readHow to use environment config with Node.js.
Code Snippet - How to Access Query String at Node.js
2014/5/2·1 min readSample Code snippet how to access querystring at Node.js.
Few Tips for MongoDB
2014/5/2·1 min readFew mongo DB script/command note
Code Snippet - How to Handler Redirect within Node.js
2014/5/2·2 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.
Few Links About Convert Jade to Html and Vice Versa
2014/5/10Few Commands about Import/Export Mongo Database
2014/5/10·1 min readWith mongodb's mongodump & mongorestore command, you can achieve export and import data to your mongo database.
How to Use Ninject as Dependency Injection with ASP.NET MVC
2014/4/5·5 min readHow to use Dependency Injection in Ninject at ASP.NET MVC application
How to Run Node.js as Background by Using Forever
2014/4/30·1 min readHow to use forever to run Node.js as background.
Useful Linux Command
2014/4/30Code Snippet - How to Add Index to Document at MongoDB C#
2014/3/1·1 min readSetup index to MongoDB document with C#.
How to Find Deadlock Information from SQL Server
2014/2/1·1 min readDo you know Random will generator same result?
2014/11/1·4 min readMVC Bundle and Minification at Sitecore
2014/11/1This blog is trying to show how to enable ASP.NET Bundle & Minification for Javascript and CSS.
Pack.net javascript css bundling and minification
2014/11/1This is about .NET Library I build for Javascript, CSS Bundling and Minification
How to Use CSS3 Media Query
2014/10/4·1 min readFew tips about CSS3 Media Query.
Few Useful links About How to Customize Bootstrap
2014/10/4·1 min readFew useful information about how to customize Bootstrap.
How to Embedded Video on Your Site
2014/10/4·2 min readfew tips for embedded video to your site
Few Useful Links About How to Test Responsive UI
2014/10/4·1 min read11 tools for responsive UI.
Few Useful Links for Responsive Web UI Frameworks
2014/10/4·2 min readThis blog, I'm trying to list few UI framework if you choose the
How to Turn off Browser Link for Visual Studio
2014/10/4·1 min readTurn off the Browser Link features (Visual Studio 2013).You might already know, but if don’t and noticed following request poll?transport= [GET] is annoy, which keep fire request at yourbrowser.
List of Useful Links to Learn Sitecore
2014/10/31·1 min readFew list to learn sitecore. Athough, I don't like Sitecore, but just in case if I have to do it, following are list of resourcefor reference.
How to Create Your First Nuget Package
2014/10/3·2 min readHow to create and publish nuget package