Thursday, April 15, 2021

How do I build a website on Mac, Windows or Linux?

Download the following software on your local machine Mac,Windows or Linux machine.

MAMP - Mac Apache MySQL PHP
XAMPP - Cross-Platform Windows/Mac - Apache MySQL Php and Perl
WAMP - Windows Apache MySQL PHP
LAMP - Linux Apache MySQL PHP - Comes default in Linux OS

 Apache - WebServer 

PHP/Perl - Service side Programming language that is used in combination with browser based a.k.a client client languages HTML,CSS and Javascript for your website look and feel

MySQL - database - store data

Once you build your website and have it running on your machine, you could 

  • Buy domain name
  • Buy a domain hosting space and configure LAMP installed on the host.
  • Use FTP to move files from local machine to server host 

Viola! done

 Additional Info read here

 

Wednesday, April 14, 2021

What is Ansible?

What is Ansible  - Configuration Management Tools - Alternatives to- Chef and Puppet
It is used in Devops.
Business Users: System Admin - infrastructure
Configuration of : N servers x Type of servers(Webserver, Apache, MySQL)

Is is an automation tool? Yes
Yes it helps in IT Automation
Business Scenario : Configuration - 100 apache servers and database servers

Mechanism:
1) Pull Configuration - 2) Push Configuration ( no client installed on nodes, Server pushes)

Core Elements of Ansible:
1st part Core - Playbook
Playbook - instructions to confiugure the node
Written in YAML to describe the data
YAML - YAML ain't a mark up language
...
name: play1
hosts: webserver
tasks:
    -name:install apache
    yum:
        name:apache
        state:present
    -name: start apache
    service:
        name: apache
        state: start
    -name: play 2
    hosts: databaseserver
    tasks:
        -name:install MySQL
2nd Part : inventory


[webserver]
web1.machine
web2.machine

[databaseserver]
db1.machine

 

How it works?
Ansible is installed on the local machine
Connects to different nodes - agentless
Playbook - How to setup remote nodes
Uses SSH to connect to nodes
and Push the Playbook to the node
Create environment that is consistent

 Ansible is a command line tool
Ansible Tower - RedHat - Framework

Usecase: Hootsuite
Business: Social media platform
Problem Statement:
Rebuild their servers
Now they write Playbooks to deploy servers providing a standardization

Take away:
IT Automation consistent configuration

Source:
https://www.youtube.com/watch?v=wgQ3rHFTM4E

Friday, April 17, 2020

Armenian Duduk, Chello, Hammered Dulcimer & Percussion instruments

Armenian Duduk
                       Chello
 
Hammered Dulcimer - used in game of thrones
Chines Zither instrument

The most commonly used system divides instruments into string instruments, woodwind instruments, brass instruments and percussion instruments;




Thursday, February 5, 2015

Read a nice article on pin drop

Can you hear a pin drop?

What is the meaning of pin drop silence?

Following are some instances when silence could speak louder than voice.

Take 1:

Field Marshal Sam Bahadur Maneckshaw once started addressing a public meeting at Ahmedabad in English.

The crowd started chanting, "Speak in Gujarati.  We will hear you only if you speak in Gujarati."

Field Marshal Sam Bahadur Maneckshaw stopped. Swept the audience with a hard stare and replied,

"Friends, I have fought many a battle in my long career.

I have learned Punjabi from men of the Sikh Regiment; Marathi from the Maratha Regiment; Tamil from the men of the Madras Sappers; Bengali from the men of the Bengal Sappers; Hindi from the Bihar Regiment; and even Nepali from the Gurkha Regiment.

Unfortunately there was no soldier from Gujarat from whom I could have learned Gujarati."

You could have heard a pin drop.

----

Take 2:

JFK'S Secretary of State, Dean Rusk, was in France in the early 60's when Charles DeGaule, the French President, decided to pull out of NATO.
 
DeGaule said he wanted all US military out of France as soon as possible.

Rusk responded, "Does that include the 180,000 who are buried here ?"

DeGaule could not respond.

You could have heard a pin drop.

----

Take 3:

Robert Whiting, an elderly US gentleman of 83, arrived in Paris by plane.

At French Customs, he took a few minutes to locate his passport in his carry on.

"You have been to France before, Monsieur?", the Customs officer asked sarcastically.

Mr. Whiting admitted that he had been to France previously.

"Then you should know enough to have your passport ready."

The American said, “The last time I was here, I didn't have to show it."

"Impossible. Americans always have to show their passports on arrival in France !", the Customs officer sneered.

The American senior gave the Frenchman a long, hard look.

Then he quietly explained.

"Well, when I came ashore at Omaha Beach, at 4:40am, on D-Day in 1944, to help liberate your country, I couldn't find a single Frenchman to show a passport to"

You could have heard a pin drop.

Saturday, January 31, 2015

Sunday hyms for 31-jan-2015

Enter his gates

Lord god have mercy on us all. Have mercy lord and hear our prayer
Ballad Accoustic 01 099

Glory to god in the highest and peace to his people on earth poprock p1 05 113

Praise god praise god  ballroom p2 04 102

B39 take our bread ballad p3 80sepballad 02  092

Holy holy lord earth is full of your glory. Glory filla the heavens too ballroom p2 9-8 walz 05 124

Jesus name above all names

Lamb of god o jesus christ take away our sons we pray

Sing them over again to me ballroom p2 9-8walz 04 126

Masi tu hamse batadey exp user p2 3-4-folk.8 03 140

He abides swing&jazz p2 morswing 05 110

Saturday, January 10, 2015

Android Studio


Setting up an Environment:
  1. Download Android Studio.
  2. Download the latest SDK tools and platforms using the SDK Manager.




License clauses:

"You will protect the privacy and legal rights of those users.
If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users.


If your application stores personal or sensitive information provided by users, it must do so securely


If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.

You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party."


References:
http://developer.android.com/training/basics/firstapp/index.html

Summary : Firefox Extensions and Themes

What is a firefox add-on?


Add-ons add new functionality to Gecko-based applications such as Firefox, SeaMonkey, and Thunderbird.

There are two main types of add-on:  
  1. Extensions add new features to the application
  2. Themes modify the application's user interface.[UI]

Mozilla operates a repository at addons.mozilla.org, also known as AMO

You don't have to submit add-ons to AMO, but if you do, users can take confidence in the fact that they have been reviewed, and you can benefit from AMO's visibility as a source for useful add-ons.

As a developer one needs to follow a set of guidelines to help ensure that they provide a good experience to users.

There are three different techniques you can use to build extensions:
  1. Add-on SDK-based extensions, 
  2. Manually bootstrapped restartless extensions
  3. Overlay extensions.

References:
https://developer.mozilla.org/en-US/Add-ons

Saturday, January 3, 2015

Book Review: "Beginning Responsive Design with HTML and CSS3" by Jonathan Fielding

I had this thought of reading about responsive design.
I was able to quick read about 107 pages an ebook on Beginning Responsive Design with HTML and CSS3 and it was worth it.

The Author Jonathan Fielding has wonderfully compiled the necessary meal required for an aspiring Web Developer.

The book gives you an insight of how well the HTML and CSS have advanced to reduce features once web developers dreamed off considering the complexity of screensize across devices and browsers.

It covers subject knowledge behind Responsive Design across Web Browsers across devices. Some new takeways are the Viewports, additions in HTML5, power of CSS3, limitations of CSS implementation and existing solutions that overcome them.

The book also covers multiple columns, Gradient Panels, Device simulators for Blackberry, Android,FirefoxOS et.,.

The examples are neatly driven that allow a developer to practice as they move.
This has been the best learning curve in understanding the concepts in practice.


I do want to highlight about "Media Queries". It saved me a traditional approach that i had wanted to implement.
I suggest people glance through the book that clearly breaks down logically and architecturally what a thinking developer should understand to save time and effort.

I reached 100+ pages admiring the topic Layouts (Fixed, Fluid and Elastic) and its technical reference and application in designing. I feel really wonderful and its one of my fastest reads. I'd love to finish this book and complete my review.

Thursday, January 1, 2015

Layout sizes of Various Devices (Pixels and Resolution)

I found this wonderful site while reading a book.
Do take a look at the link if you want to understand what layout each mobile version support!

http://viewportsizes.com/

Saturday, November 29, 2014

Relationships:Men prefer Men as "Punch bags" - Women ponder WHY?

It came to today morning, I thought I should write this out.

Reflection:

Why is it that my friend complains of his married life and prefers to be with his friends than spend time with his wife ?


Probably this could also be a question in a lady love's i.e., a woman's mind as to "Why my husband/boy friend spends so much time with this particular friends and not me?"

Description

Men and Women life different lives before they come together as one. Each of their complains are valid, its the element of love that dies.

My perspective for this situation is that "Men need to be respected and honored before they could open up their complaint box for a solution". "Women need to find out Man's close friend who's offering the love element to understand what is missing in their relationship".

There are some factors women need to keep in their mind before they do so. First, never ever let her husband find out the inputs she received from the friend. Second, the person sharing this has to a trustworthy who will no make situations work".

Alright, enough of disclaimers, let's get going :

Woman offer solutions to men with love, men are offended as they never asked for their opinion.
Man never shared the problem because he assumed or never conveyed his feelings were to be respected and he would ask if he needed.

Why does a man rush to his close buddy?
Men understand Men in the same manner as a woman would understand a man.
Men are close because they understand when to offer advice and when to listen.
One of them is unknowingly listening and empathizing playing the role of a Woman which his wife or girl friend wouldn't do. That person playing the listener is a man when to offer an advice and when not. He knows the pulse of his mate because of the considerable time he has spent.
Men share their weaknesses with men or men realize their weakness because of the saying "Birds of the same feather flock together". They have been brought up the same way, share the similar habits, know how to socialize, understand the strengths and weakness and build a love and hate relationship despite being together".

Men love freedom, they know when to let go things, when to listen and when not to listen to let the comfort zone among them active. They may fight and reunite the next day with the blessed gift of "amnesia". They may carry forward their differences only as lessons- learnt to build a stronger bonding than ruin their relationship for a petty difference.

They would flower in compliments of success and achievement of goals to keep each others confidence levels high to keep that bond alive.

Learnings about men:

Learn to let go - Learn to not suggest
Listen like a woman, learn his pulse.

Understand a man's behavior with his friends - he will speak frequently to very few men most of the time. They are his punching bags.
Respect and honour his abilities
Do not challenge him - unless you know the coolant recipe for his ego
Give him his Space and Time - He will respect and come back to you.
Dont be surprised if he has done something unconventional - Men have mood swings too.



Cheers,
Ajith