Technoholik

Your Digital Companion

Sunday, October 4

Mint Business Quiz - HOW WELL DO YOU REMEMBER ADVERTISING SLOGANS

This advertising slogan, created by Anuja Chauhan, gained mass popularity, and became a battle slogan and rallying cry. First used by Capt. Vikram Batra during the 1999 Kargil War, it was widely reported in the media. Identify.
Born Tough
Yeh Dil Maange More!
Taste The Thunder
Jiyo Sar Utha Ke

This advertising slogan was coined in 1888 by the founder of which company?
Carrier
Sony
Canon
Kodak

"Good things come to those who wait" was a slogan used by which company in the 1980s? The concept was that even people in a hurry would wait for the product to trickle out of its glass bottle. The same slogan was used by Guinness in the 1990s.
Heinz
Wegmans
Kissan
Hunt’s

Middle East Airlines, which has a frequent flyer programme called ‘Cedar Miles’, is the national carrier of which country?
Iran
Yemen
Lebanon
Jordan

Which Asian airline offers these cards for their frequent flyer programme?
Thai Air
Singapore Airlines
Air Asia
Air India

Which Middle Eastern airline has a frequent flyer program called ‘Sindbad’?
Qatar Airways
Etihad
Gulf Air
Oman Air

Atorvastatin is supposed to be the world's bestselling drug of all time, with more than $125 billion in sales over approximately 14.5 years. Under what trade name is it sold?
Tylenol
Lipitor
Nexium
Plavix

Acetaminophen is the name generally used in the US and Japan for what commonly used medicine?
Aspirin
Cetrizine
Paracetamol
Ibuprofen

Sildenafil is a drug that was initially studied for use in hypertension and angina pectoris (a heart disease), though it is now used for a different purpose. Under what brand name is it sold?
Cialis
Viagra
Crestor
   Lantus

Friday, June 26

Updating MySQL and phpmyadmin passwords in WAMP Server


WampServer is a popular software stack used for Web development for the Microsoft Windows operating system. Created by Romain Bourdon, it consists of the Apache web server, OpenSSL for SSL support, MySQL database and PHP programming language.

By default on installing WAMP server on a Windows machine,  user  - "root" is created with no passwords.
So  access can be made without any password in this manner:

  • Open the MySQL console in following way -

  • Press ENTER -
  • Which takes to the following view -

To solve this, first of all, password of MySQL root user needs to be updated.
  • Open the MySQL console
  • Run the following command
SET PASSWORD FOR root@localhost = PASSWORD(' <yourpassword> ');

After this, the root user for WAMP MySQL service will be updated with a password and access will require a password.
Similarly, phpnyadmin can be configured for access with a password as:
  • Navigate to WAMP installation directory, generally it is
    C:\wamp\apps\phpmyadmin4.1.14 

  • Open config.inc.php 

  • Update values
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
to

$cfg['Servers'][$i]['password'] = ' <yourpassword> ';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
After this, the access to phpmyadmin panel will be password restricted.

Friday, May 29

Getting started with the Shell

Shell in Linux (or Command prompt for Windows) refers to CLI (Command Line Interface) for providing commands or instructions to Computer.

The definition of Shell goes like this:
shell is a program that provides the traditional, text-only user interface for Linux and other Unix-like operating systems. Its primary function is to read commands that are typed into a console (i.e., an all-text display mode) or terminal window (an all-text window) in a GUI (graphical user interface) and then execute (i.e., run) them.
CLI has been the conventional way of executing instructions on a computer before the folks at Xerox invented the GUI (Graphical User Interface) which later tickled Steve Jobs and Bill Gates to gift the world with Macintosh and Windows based on GUI.
GUI revolutionized Computing because anyone by simple Point-and-Click can get their job done.

If you are a geek and want to boast  your technical prowess CLI is by far the easiest way to do it, just punch in some words and Voila! job is done!!!
Need I tell you that no matter how intuitive or easy GUI is, CLI is way way faster.
Apart from that Shell is very powerfull tool too, you can

  • Install/Uninstall a Software
  • Manage your files/folder
  • Fire up an application
and do a lot of other things.

So lets jump right into the Terminal.
In this tutorial we are going to learn how to gain access or start the terminal, subsequent actions will be covered in later posts.

Starting the terminal in Linux
Just search  for "Terminal" in the Application drawer of your Linux distro and run it, you are good to go!


Starting Command prompt in Windows

  • Search for "Command" in Start menu


  • Press "Windows Key + R" to get the Run dialog box, there in type "cmd" and hit enter

 

So, now we have started the terminal, we will learn about the various commands in upcoming posts.