<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Priya Ranjan Kumar</title>
    <description>The latest articles on Forem by Priya Ranjan Kumar (@priyaranjankumar).</description>
    <link>https://forem.com/priyaranjankumar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F392367%2F98008a70-658e-4321-a92e-e09265a90344.jpeg</url>
      <title>Forem: Priya Ranjan Kumar</title>
      <link>https://forem.com/priyaranjankumar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/priyaranjankumar"/>
    <language>en</language>
    <item>
      <title>How to add Open Windows Terminal in Context Menu</title>
      <dc:creator>Priya Ranjan Kumar</dc:creator>
      <pubDate>Tue, 13 Oct 2020 18:40:14 +0000</pubDate>
      <link>https://forem.com/priyaranjankumar/how-to-add-open-windows-terminal-in-context-menu-36ni</link>
      <guid>https://forem.com/priyaranjankumar/how-to-add-open-windows-terminal-in-context-menu-36ni</guid>
      <description>&lt;h3&gt;
  
  
  The windows terminal is new sleek, fast, customizable and feature packed terminal. It is much more productive than previous &lt;code&gt;Command prompt&lt;/code&gt; and &lt;code&gt;PowerShell&lt;/code&gt;.
&lt;/h3&gt;



&lt;p&gt;So, if you want to customize the Windows terminal then you can go to this post. The steps have been beautifully curated there.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;


&lt;div class="ltag__link"&gt;
  &lt;a href="/anupa" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F388311%2F7ea62f3f-b925-41a4-9aa0-399102102da1.png" alt="anupa"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="/anupa/beautify-your-windows-terminal-1la8" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Beautify your Windows Terminal 🦄 &lt;/h2&gt;
      &lt;h3&gt;Anup Aglawe ・ May 31 '20&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#tutorial&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#productivity&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#showdev&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#design&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;br&gt;
&lt;h2&gt;
  
  
  So, let's get back to adding the Context Menu option
&lt;/h2&gt;
&lt;h1&gt;
  
  
  Perquisites
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;Windows Terminal icon&lt;/code&gt; &lt;a href="https://github.com/microsoft/terminal/raw/master/res/terminal.ico" rel="noopener noreferrer"&gt;github.com/microsoft/terminal/raw/master/res/terminal.ico&lt;/a&gt;&lt;br&gt;
⚠️ (I couldn't find the icon file in the installed folder) &lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Copy the downloaded icon to this folder&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;ul&gt;
&lt;li&gt;Open Text editor copy and paste the following code into it and save as &lt;code&gt;.reg&lt;/code&gt; file.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\yourusername\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="\"C:\\Users\\yourusername\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\"  -d \"%V\""

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;ul&gt;
&lt;li&gt; Don't forget to replace &lt;code&gt;yourusername&lt;/code&gt; with your &lt;code&gt;username&lt;/code&gt; like below.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\mishr\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="\"C:\\Users\\mishr\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\"  -d \"%V\""

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;p&gt;and save as whatevernameyouwant.reg.&lt;br&gt;
&lt;br&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Run the what_name_you_want.reg file


&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  🤘😎
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F66e3ejxhxdhm45n6ghlu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F66e3ejxhxdhm45n6ghlu.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;&lt;a href="https://github.com/microsoft/terminal" rel="noopener noreferrer"&gt;Windows Terminal&lt;/a&gt; ❤&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>tutorial</category>
      <category>design</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Creating a user registration System Using PHP and Mysql.</title>
      <dc:creator>Priya Ranjan Kumar</dc:creator>
      <pubDate>Thu, 21 May 2020 23:04:09 +0000</pubDate>
      <link>https://forem.com/priyaranjankumar/creating-a-user-registration-system-using-php-and-mysql-cf9</link>
      <guid>https://forem.com/priyaranjankumar/creating-a-user-registration-system-using-php-and-mysql-cf9</guid>
      <description>&lt;h2&gt;
  
  
  Prerequisite
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;PHP&lt;/li&gt;
&lt;li&gt;MySql&lt;/li&gt;
&lt;li&gt;PHP-MySql Connector&lt;/li&gt;
&lt;li&gt;Ubuntu (Or any Linux Distro)(Pre assuming apache2 is already installed.)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Setting Up Environment
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step First:&lt;/strong&gt;
Install &lt;strong&gt;PHP&lt;/strong&gt; using this Command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  sudo apt-get install php
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step Second:&lt;/strong&gt;
Install &lt;strong&gt;MySql&lt;/strong&gt; using this command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  sudo apt-get install mysql

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step Third:&lt;/strong&gt;
Install &lt;strong&gt;MySql-Client&lt;/strong&gt; using this command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  sudo apt-get install mysql-client

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step Fourth:&lt;/strong&gt;
Install &lt;strong&gt;PHP&lt;/strong&gt; and &lt;strong&gt;MySql&lt;/strong&gt; Connector.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  sudo apt-get install php-mysql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Step Fifth:&lt;/strong&gt;&lt;br&gt;
 Open terminal and paste this command to open mysql databse;&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; mysql -u root -p1234

&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Step Sixth:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; Create a **database**
&lt;/code&gt;&lt;/pre&gt;



&lt;pre class="highlight plaintext"&gt;&lt;code&gt; create database logindetails;

&lt;/code&gt;&lt;/pre&gt;



&lt;pre class="highlight plaintext"&gt;&lt;code&gt; use logindetails;

&lt;/code&gt;&lt;/pre&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step Seventh:&lt;/strong&gt; 
Create a table to store user data
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
   CREATE TABLE `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
  `username` varchar(100) NOT NULL,
  `email` varchar(100) NOT NULL,
  `password` varchar(100) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Step Eighth:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Clone this &lt;a href="https://github.com/priyaranjankumar/Login-SignUp-PHP-Mysql"&gt;repository&lt;/a&gt; and copy the registration folder to &lt;strong&gt;/var/www/html/&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt; sudo cp -r registration /var/www/html/

&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Step Nineth:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Restart the apache server&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo systemctl restart apache2
&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Step Tenth:&lt;/strong&gt;
Open this URL in browser
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre class="highlight plaintext"&gt;&lt;code&gt;http://localhost/registration

&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;## Click on sign up page to sign up for an account.&lt;/p&gt;



&lt;p&gt;## Then sign back again with the username and password.&lt;/p&gt;

</description>
      <category>php</category>
      <category>sql</category>
      <category>regisrationsystem</category>
    </item>
  </channel>
</rss>
