Posts

Showing posts from 2018

OpenCV setting using python 3

Find the latest updates. $ sudo apt-get update Install the python 3 and its dev libs. $ sudo apt-get install python3 python3-dev Install a package manager .I' m using pip as the packet manager. sudo apt-get install python3-pip Install openCV and some libs that will be usefull $ pip install opencv-contrib-python # the OpenCV package $ pip install imutils # convenience functions $ pip install matplotlib # for plotting $ pip install jupyter # presentable programming environment $ pip install numpy # for manipulatingthe image arrays

Installing the Laravel framework

Install XAMPP and configure first then sudo apt-get update sudo apt-get install curl sudo curl -s  https://getcomposer.org/ installer  | /opt/lampp/bin/php sudo mv composer.phar /usr/local/bin/composer sudo ln -s /opt/lampp/bin/php /usr/local/bin/php php --version php -m sudo apt-get install php-mbstring php -p composer php -m sudo apt-get install php-mbstring sudo apt-get install php-xml php -m php -r "copy(' https://getcomposer. org/installer ', 'composer-setup.php');" php -r "if (hash_file('SHA384', 'composer-setup.php') === ' 544e09ee996cdf60ece3804abc525 9 9c22b1f40f4323403c44d44fdfdd5 8 6475ca9813a858088ffbc1f233e9b 1 80f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php'); " composer global require "laravel/installer" sudo chmod -R 777 /opt/lampp...

Tertiary Colors

Red (R), green (G), and blue (B) are called primary colors. Mixing two primary colors creates the secondary colors cyan (G + B), magenta (R + B) and yellow (R + G). You saw these colors in the Complementary Colors challenge. These secondary colors happen to be the complement to the primary color not used in their creation, and are opposite to that primary color on the color wheel.  example : magenta is made with red and blue, and is the complement to green. Tertiary colors are the result of combining a primary color with one of its secondary color neighbors. example:  red (primary) and yellow (secondary) make orange. This adds six more colors to a simple color wheel for a total of twelve.

Complementary Color

    The  wheel is a useful tool to visualize how colors relate to each other - it's a circle where similar hues are neighbors and different hues are farther apart. When two colors are opposite each other on the wheel, they are called complementary colors. They have the characteristic that if they are combined, they "cancel" each other out and create a gray colour. However, when placed side-by-side, these colors appear more vibrant and produce a strong visual contrast. example: red (#FF0000) and cyan (#00FFFF) green (#00FF00) and magenta (#FF00FF) blue (#0000FF) and yellow (#FFFF00)

How to win Tic Tac Toe game

Being the first player doubles your chances of winning If you’re going first, your move should be in the corners or the center of the board. Avoid making a first move on the other edge squares. If Player 1 takes the center square, Player 2 should take a    corner. If Player 1 takes  a   corner square, Player 1 should take the center If your opponent has the option of getting three in a row, always block them, even if it means sacrificing a chance to set yourself up. If both players are planning their moves strategically, most games will result in draws

Idiot

Sometimes you may think that you are the only person who can act instantly. But .............after a foolish experience your behavior Will change. As like me.

The Semicolon lover.

Image
If you believe yourself as a semicolon , an unimportant person , just ignore a semicolon from your C Program . Compile it . The Error will show you how important some negligible things are . 

Some times errors paved the way for new PATH.

Today my life had witnessed again that painful moment. Came to know that her marriage was fixed. No matter what I Say. She was an ANGEL .And will be.