Category Archives: operating system

Notes on Azure

Some notes on Microsoft Azure

3 type of services provided

  1. App Service –  Scalable Web Apps, Mobile Apps, API Apps, and Logic Apps for any device
  2. Cloud Service – Highly available, scalable n-tier cloud apps with more control of the OS
  3. Virtual Machines – Customized Windows and Linux VMs with complete control of the OS

Important steps you should know in creating an application

  1. Create a “resource group”. All your services will be grouped under this resource group
  2. Create a “app service plan” – package of data center location, cpu and memory size
  3. Create a “app service” – based on plan and under resource group created in step 1 and 2

More info on services

Azure calculator

VM sizing options – compute, memory

Summary of Azure services (click to enlarge)

Other readings/resources:

  1. Running a High Volume Website on Azure Infrastructure Services
  2. Azure documentation
  3. Step by step PHP on azure (starting from create resource, web app, transfer file via git, mysql etc)

Setting PATH in Mac OSX

In order for any executable to run anywhere in terminal, we need to set the $PATH to the directory.

You can check which directory can be globally accessed by typing this command

echo $PATH

  1. To add that path to the file, login as root
  2. Type nano /etc/paths
  3. Edit the file to add another path
  4. Save and exit
  5. You need to restart the terminal in order for change to take effect

 

Show notification icon on android status bar

Showing up the notification icons on android status bar is very helpful for you to manage the pending items.  e.g. unread messages etc.

So you don’t have to swipe down everytime to see whether there are any new messages, emails etc.

To set (this settings is based on Android version 6 marshmallow)

  1. Go to Settings
  2. Choose “Notifications & status bar”
  3. Enable “Show notification icons”

android