cat ~/.ssh/id_rsa.pub Copy the key from terminal. Then, login to server. sudo vi ~/.ssh/authorized_keys Paste your key. Done! Or, cat ~/.ssh/id_rsa.pub | ssh USER@HOST “mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys” Done!!
Install sudo apt-get install dnsmasq Configure sudo vim /etc/dnsmasq.conf Add this: address=/example.com/127.0.0.1 listen-address=127.0.0.1 This maps *.example.com to 127.0.0.1 – replace with the domain you want to use. It also makes dnsmasq only respond to local requests for security – this is optional. Restart to load the new configuration: sudo /etc/init.d/dnsmasq restart Test it: nslookup abc.example.com 127.0.0.1 It should say something like:
Here today I’m going to post a piece of code to integrate Nepal’s one of popular payment gateway eSewa.
Here today I’m going to post a piece of code to integrate Nepal’s one of top payment gateway nPay.
Apache sudo apt-get update sudo apt-get install apache2 Click Here for more details. MySql sudo apt-get update sudo apt-get install mysql-server mysql_secure_installation Click Here for more details. Composer sudo apt-get update sudo apt-get install composer Click Here for more details. PHP sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php7.1 php7.1-common sudo apt-get install
Add Ondrejs PPA Repo PPA’s or Personal Package Archive, is a collection of software not included in Ubuntu by default. Typically these repositories focus on a single program, but they can include more depending on the person maintaining them. Ondřej Surý has created this PPA which has the latest versions of PHP in it. Lets
My last visit to vamkeni dham a historic hindu place.
So if you have connected OnePlus 5 to Ubuntu, you will notice that you can only see “OnePlus Drivers” as mounted but you cannot access the internal memory using MTP, although ptp works! So here is what you need to do to make it possible 1. Enable Developer options in Settings 2. Enable ADB (
PHP provides a large number of predefined variables to any script which it runs. PHP provides an additional set of predefined arrays containing variables from the web server the environment, and user input. These new arrays are called superglobals − All the following variables are automatically available in every scope. PHP Superglobals Sr.No Variable &
They are sequences of characters, like “PHP supports string operations”. NOTE − Built-in string functions is given in function reference PHP String Functions Following are valid examples of string $string_1 = “This is a string in double quotes”; $string_2 = “This is a somewhat longer, singly quoted string”; $string_39 = “This string has thirty-nine characters”; $string_0 =