fire tv

echo 'export PATH=$PATH:/Users/soumitrakayal/Downloads/platform-tools/' >> ~/.bash_profile ./adb connect 192.168.1.6 ./adb install /Users/soumitrakayal/Downloads/SwiftStreamz1.2.apk $ adb kill-server $ adb start-server * daemon not running. starting it now at tcp:5037 * * daemon started successfully * $ adb devices List of devices attached...

Read More
cli

$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/Users/soumitrakayal/.ssh/id_rsa): /Users/soumitrakayal/.ssh/id_rsa already exists. Overwrite (y/n)? Y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/soumitrakayal/.ssh/id_rsa. Your public key has been saved in /Users/soumitrakayal/.ssh/id_rsa.pub. The key fingerprint is: SHA256:vjEspXxl177C1ksL2Q3iKmnKl6/WtAJnYkEuxSsddtA soumitrakayal@CodeDevX.int.hslc.org The key's randomart image is: +---[RSA 2048]----+ | ..o | | * E | | * + | | o = . | | o .S o...

Read More
event espresso

/* Event Espresso - hide the event price in the registration form */ p.event_prices {display:none;} .event_espresso_form_wrapper ul li {     margin-top: -20px;     margin-left: 122px;     white-space:nowrap;     list-style-type: none; } #event_espresso_attendee_verify tr:nth-child(2), #event_espresso_attendee_verify tr:nth-child(4){ display: none; } #event_content .address-block br { display: none; } /* EE4 - Hide Show Details */ .display-tckt-slctr-tkt-details.display-the-hidden.lt-grey-text.smaller-text {display:none;} /* Change EE4 Price to free */ .ee-ticket-selector-ticket-price-th {     display: none; } /* Hide EE4 Price table header */ .tckt-slctr-tbl-td-price {     display: none; }  /* Change EE4 default...

Read More
apache2

$ sudo service apache2 stop Then uninstall Apache2 and its dependent packages. Use purge option instead of remove with apt-get command. The former option will try to remove dependent packages, as well as any configuration files created by them. In addition, use autoremove option as well, to remove any other dependencies that were installed with Apache2, but are no longer used by any other package. $ sudo...

Read More
mariadb

Before you can install MariaDB 10.3, you may need to uninstall the current version of MariaDB server. You can ignore this if upgrading.  On Ubuntu, run: sudo apt-get remove mariadb-server For CentOS 7, run: sudo yum remove mariadb-server Install MariaDB 10.3 on Ubuntu 18.04 To install MariaDB 10.3 on Ubuntu 18.04, you need to add MariaDB repository on to the system. Step 1: Install software-properties-common if missing: sudo apt-get install software-properties-common Step 2: Import MariaDB gpg key: Run...

Read More

Step 1 – Prerequsities Log in to your system with sudo privilege account using shell access, to which you need to install Redis. ssh ubuntu@remote Update the apt-get packages index files and also update existing packages to the newest versions by using the following commands: sudo apt-get update sudo apt-get upgrade Step 2 – Installing Redis The Redis packages are available under the default apt repository. For the installation of Redis on...

Read More
mysql

First of all, let’s backup the databases: mysqldump --all-databases > all_databases.sql Download the latest APT package repository wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb Make sure you download the latest version of the package. Then instal it using dpkg: sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb you will be prompted with a dialog box, asking which version to install. If MySQL 5.7 isn’t there, press enter then select the version 5.7 from the list, select OK. Then run the package...

Read More
PHP

PHP is one of the most popular scripting languages on the web today. According to W3Techs, PHP is used by over 78% of all the websites who use a server-side programming language. This means for almost every 8 out of 10 websites you visit, they are most likely utilizing PHP in some form or another which also means that PHP is not dead. And of course, it plays...

Read More
PHP

1. Add ondrej/php PPA As usual, we use the awesome PHP PPA by Ondrej. He publishes PHP 7.3 on all supported Ubuntu versions and Debian Stretch and Jessie. Ubuntu   Debian   2. Note down current PHP packages If you are upgrading PHP from an earlier version, it's important to make sure you ensure you have the same PHP extensions installed. PHP 7.2 onwards no longer include mcryptextension. Other than that, PHP...

Read More