Posts in 2019
-
macOS: Setup New Elixir Project
Tuesday, April 02, 2019 in macOS
less than a minute
Pre-Requisites: Brew Erlang Database Engine (CloudSQL, Postgres, MySQL, . . . ) Install Elixir: brew install elixir Create new project: mix phx.new <project_name> phx.new - pre-bakes Phoenix into the Elixir project. mix new - will only create …
-
Running Nginx using Docker Compose
Friday, February 01, 2019 in Linux
less than a minute
Pre-Requisites: Docker: Install Using Convenience Script: curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh Docker-Compose: Install Using: sudo apt-get install docker-compose Steps Create docker-compose.yaml file …
Posts in 2018
-
Linux Process Manager: Upstart
Monday, October 22, 2018 in Linux
2 minute read
Definiation: Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running. Upstart Processes reside in …
-
macOS High Sierra: Fix Elixir+Phoenix Issues
Wednesday, August 15, 2018 in macOS
less than a minute
Issue: ** (Mix) The task “phx.new” could not be found Elixir version elixir v1.7.2 Solution Install latest phx using terminal command: mix archive.install https://raw.githubusercontent.com/phoenixframework/archives/master/phx_new.ez Run …
-
macOS Mojave: Guides
Friday, June 08, 2018 in macOS
2 minute read
Upgrading to macOS Mojave (Beta) 1. Pre-Requisites: Free/Paid Apple Developer account 2. Steps: Download and install configuration file from Developer Portal: …
-
macOS High Sierra: Setup Ruby on Rails
Thursday, January 11, 2018 in macOS
2 minute read
Pre-Requisites: * Homebrew Install rbenv using: brew install rbenv Add the following to your terminal profile (.bash_profile or .zshrc etc): # rbenv export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" Relaunch the Terminal or …
-
Monitoring with Nagios and Nginx
Saturday, January 06, 2018 in Linux
5 minute read
Nagios provides enterprise-class Open Source IT monitoring, network monitoring, server and applications monitoring. We’ll cover Linux (Ubuntu) Server Monitoring. Update your system. apt update and optionally upgrade using apt upgrade Install …
Posts in 2017
-
macOS root user security issue and how to fix it
Thursday, November 30, 2017 in macOS
3 minute read
What is root User? Root user is a special user account used for System Administration in Unix and Linux distros. The name of the account (root) is not the determining factor always. In Unix for example is UID. any account with UID = 0 is the …
-
iOS: Password Autofill and Suggestions
Sunday, November 12, 2017 in iOS
3 minute read
About Password Autofill iOS 11+ introduces Password Autofill and Suggestions like Safari accessing them from keychain using apple-app-site-association. You can now enable your apps to suggest the specific credentials at your login screen to reduce …
-
Understanding Crontab Syntax
Saturday, October 07, 2017 in Linux
2 minute read
What is a Cron? A Cron is a time-based job scheduler in Unix Operating Systems. It is driven by Crontab (cron table) - a configuration file that specifies shell commands to run periodically on a given schedule. Crontab files are usually stored …