<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Blogs on My Notes</title><link>https://harryho.github.io/blogs/</link><description>Recent content in Blogs on My Notes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 11 Oct 2017 11:59:31 +1100</lastBuildDate><atom:link href="https://harryho.github.io/blogs/index.xml" rel="self" type="application/rss+xml"/><item><title>Try Minikube</title><link>https://harryho.github.io/blogs/k8s-on-vm/</link><pubDate>Wed, 11 Oct 2017 11:59:31 +1100</pubDate><guid>https://harryho.github.io/blogs/k8s-on-vm/</guid><description>&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Install KVM or VirtualBox&lt;/li&gt;
&lt;li&gt;Install Ubuntu / Debian on KVM or VirtualBox&lt;/li&gt;
&lt;li&gt;Install Minikube&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="check-k8s-version-and-config"&gt;Check K8s version and config&lt;a class="anchor" href="#check-k8s-version-and-config"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;kubectl version
kubectl config
kubectl cluster-info
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="get--describe-command"&gt;Get / Describe command&lt;a class="anchor" href="#get--describe-command"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;pre&gt;&lt;code&gt;kubectl get ndoes
kubectl get pods
kubectl get deployments
kubectl get services

kubectl describe pods
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="deploy-hello-world-node-demo-app"&gt;Deploy hello-world node demo app&lt;a class="anchor" href="#deploy-hello-world-node-demo-app"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Deploy a demo app&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl run kubernetes-bootcamp --image&lt;span style="color:#0550ae"&gt;=&lt;/span&gt;gcr.io/google-samples/kubernetes-bootcamp:v1 --port&lt;span style="color:#0550ae"&gt;=&lt;/span&gt;&lt;span style="color:#0550ae"&gt;8080&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#57606a"&gt;# View deployments and pods&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl get deployments
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;kubectl get pods&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Pods that are running inside Kubernetes are running on a private, isolated network. By default they are visible from other pods and services within the same kubernetes cluster, but not outside that network.&lt;/p&gt;</description></item><item><title>Angular vs React vs Vue</title><link>https://harryho.github.io/blogs/vue-ng-react/</link><pubDate>Wed, 07 Jun 2017 16:56:21 +1100</pubDate><guid>https://harryho.github.io/blogs/vue-ng-react/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;Angular, React, Vue as most popular JavaScript frameworks at present, we just discuss Angular 1.x, Angular 2 / 4, React 15+ (Redux), and Vue 2+ here. There is no Angular 3, if you have not noticed before.&lt;/p&gt;
&lt;/blockquote&gt;&lt;h2 id="client-side-is-a-battle-field"&gt;Client side is a battle field&lt;a class="anchor" href="#client-side-is-a-battle-field"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;In past 6–8 years, the Restful API has been accepted as one of standard web interfaces for most web applications, solution architect can simply add REST API on the top of existing web layer or business layer to provide REST API and support multiple client devices. So the developers can continue to develop or maintain system with their favorite programming language, framework or technical stacks.&lt;/p&gt;</description></item><item><title>Create a blog site on GitHub Pages</title><link>https://harryho.github.io/blogs/create-a-blog-on-github/</link><pubDate>Wed, 15 Feb 2017 14:59:31 +1100</pubDate><guid>https://harryho.github.io/blogs/create-a-blog-on-github/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;If you use Unix-style system, I recommend you to follow the &lt;a href="https://gohugo.io/overview/quickstart/"&gt;Hugo Quick Start&lt;/a&gt; and &lt;a href="https://gohugo.io/tutorials/github-pages-blog"&gt;Hosting on GitHub Pages&lt;/a&gt; to create a blog to GitHub pages within 5 mins.&lt;/p&gt;
&lt;/blockquote&gt;&lt;blockquote class='book-hint '&gt;
&lt;p&gt;When I decided to use hugo to create a blog on GitHub pages from my windows machine, it took me over 30 mins. I hope this blog can help someone want to do sth similar within Windows environment.*&lt;/p&gt;
&lt;/blockquote&gt;&lt;h3 id="step-1---plan-and-prepare"&gt;Step 1 - Plan and prepare&lt;a class="anchor" href="#step-1---plan-and-prepare"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;h4 id="prerequisite"&gt;Prerequisite&lt;a class="anchor" href="#prerequisite"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;You already have &lt;em&gt;Hugo&lt;/em&gt; on your computer. If not, please follow the instruction to &lt;a href="https://gohugo.io/tutorials/installing-on-windows"&gt;install hugo on Windows&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="manage-your-github-repositories"&gt;Manage your github repositories&lt;a class="anchor" href="#manage-your-github-repositories"&gt;#&lt;/a&gt;&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;You will have two repositories &lt;strong&gt;blog-hugo&lt;/strong&gt; and &lt;code&gt;&amp;lt;username&amp;gt;.github.io&lt;/code&gt; repositories to hold your hugo content and blog site respectively.&lt;/p&gt;</description></item><item><title>Build mobile app with web tech</title><link>https://harryho.github.io/blogs/build-mobile-app/</link><pubDate>Sun, 10 Jul 2016 14:59:31 +1100</pubDate><guid>https://harryho.github.io/blogs/build-mobile-app/</guid><description>&lt;h2 id="what-is-mobile-app"&gt;What is mobile app&lt;a class="anchor" href="#what-is-mobile-app"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;em&gt;A mobile application, basically, is a computer generated program designed and developed to run on iPhone, Android Smartphone, and many other mobile devices. In a nutshell, there are three types of apps&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Native apps&lt;/strong&gt; are specific to a given mobile platform (iOS or Android) using the development tools and language that the respective platform. Usaully it looks and performs the best.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;HTML5 apps&lt;/strong&gt; use standard web technologies—typically HTML5, JavaScript and CSS. This write-once-run-anywhere approach to mobile development creates cross-platform mobile applications that work on multiple devices.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Azure Practices</title><link>https://harryho.github.io/blogs/azure-notes/</link><pubDate>Sun, 10 Apr 2016 14:59:31 +1100</pubDate><guid>https://harryho.github.io/blogs/azure-notes/</guid><description>&lt;blockquote class='book-hint '&gt;
&lt;p&gt;&lt;em&gt;Here we are going to explore how to deploy web applications to Azure. From sep 2015, Microsoft launched new portal for Azure. To be honest, new portal is amazing, IMO, it is one of best changes from Microsoft.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;You have experience with .net web applications.&lt;/li&gt;
&lt;li&gt;You have experience with website or web app deployment.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;a class="anchor" href="#getting-started"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Register a Microsoft account. e.g. live.com, outlook.com, etc.&lt;/li&gt;
&lt;li&gt;Start free trial account on Azure cloud&lt;/li&gt;
&lt;li&gt;Install Azure powershell, Azure CLI, Azure SDK for Visual Studio&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="app-service"&gt;App Service&lt;a class="anchor" href="#app-service"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="web-app"&gt;Web app&lt;a class="anchor" href="#web-app"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Create a website from portal&lt;/p&gt;</description></item><item><title>JavaScript and OOP</title><link>https://harryho.github.io/blogs/javascript-oop/</link><pubDate>Thu, 20 Mar 2014 14:59:31 +1100</pubDate><guid>https://harryho.github.io/blogs/javascript-oop/</guid><description>&lt;h2 id="prerequisites"&gt;Prerequisites&lt;a class="anchor" href="#prerequisites"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;You should have basic knowledge of Javascript and Object Oriented Programming.&lt;/li&gt;
&lt;li&gt;You should know how to test sample code on Chrome or Firefox. It is simple, just open your browser and click &lt;code&gt;F12&lt;/code&gt;, copy the code to console and then press &lt;code&gt;Enter&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-is-javascript"&gt;What is JavaScript?&lt;a class="anchor" href="#what-is-javascript"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;JavaScript, not to be confused with Java, was created in 10 days in May 1995 by Brendan Eich, then working at Netscape and now of Mozilla. The original name of this language was Mocha, in September of 1995 it was changed to LiveScript, then in December of the same year, the name JavaScript was adopted, because of very popular Java around then.&lt;/p&gt;</description></item></channel></rss>