<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vikram M. on Medium]]></title>
        <description><![CDATA[Stories by Vikram M. on Medium]]></description>
        <link>https://medium.com/@m8vikram?source=rss-abade51492eb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tPnYdVJUhGcZYds8XvtiHQ.jpeg</url>
            <title>Stories by Vikram M. on Medium</title>
            <link>https://medium.com/@m8vikram?source=rss-abade51492eb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 20:51:26 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@m8vikram/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Advantages of EC2]]></title>
            <link>https://medium.com/featurepreneur/advantages-of-ec2-352e144c81e2?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/352e144c81e2</guid>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 13:48:54 GMT</pubDate>
            <atom:updated>2022-11-11T13:48:54.343Z</atom:updated>
            <content:encoded><![CDATA[<p>EC2 stands for Elastic Compute Cloud.</p><p>EC2 is a computing service on the AWS cloud platform. Under computing, it includes all the benefits a computing device can offer to you along with the flexibility of a virtual environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*qjcfGvDd_uV8nZTn.jpg" /></figure><p>It also allows the user to configure their instances as per their requirements i.e. allocate the RAM, ROM, and storage according to the need of the current task. Even the user can dismantle the virtual device once its task is completed and it is no more required.</p><p>For providing, all these scalable resources AWS charges some bill amount at the end of every month, which is entirely dependent on your usage. EC2 provides you to rent virtual computers. The provision of servers on AWS Cloud is one of the easiest ways in EC2. EC2 has resizable capacity. EC2 offers security, reliability, high performance, and cost-effective infrastructure so as to meet the demanding business needs</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Dd_sLPyhe3MvDl8j.png" /></figure><h3>Advantages of EC2</h3><p><strong>Operating Systems</strong></p><p>Amazon EC2 includes a wide range of operating systems to choose from while selecting your AMI. Not only are these selected options but users are also even given the privilege to upload their own operating systems and opt for that while selecting AMI during launching an EC2 instance. Currently, AWS has the following most preferred set of operating systems available on the EC2 console.</p><p><strong>Software</strong></p><p>Amazon is single-handedly ruling the cloud computing market, because of the variety of options available on EC2 for its users. It allows its users to choose from various software present to run on their EC2 machines. This whole service is allocated to AWS Marketplace on the AWS platform. Numerous software like SAP, LAMP, Drupal, etc are available on AWS to use.</p><p><strong>Scalability and Reliability</strong></p><p>EC2 provides us the facility to scale up or scale down as per the needs. All dynamic scenarios can be easily tackled by EC2 with the help of this feature. And because of the flexibility of volumes and snapshots, it is highly reliable for its users. Due to the scalable nature of the machine, many organizations like Flipkart, and Amazon rely on it these days whenever humongous traffic occurs on their portals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=352e144c81e2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/advantages-of-ec2-352e144c81e2">Advantages of EC2</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[15 Linux Commands Every User Must Know!]]></title>
            <link>https://medium.com/featurepreneur/15-linux-commands-every-user-must-know-89405f8a19c?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/89405f8a19c</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[commands]]></category>
            <category><![CDATA[must-know]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 13:47:27 GMT</pubDate>
            <atom:updated>2022-11-11T13:47:27.214Z</atom:updated>
            <content:encoded><![CDATA[<p>Every command I list here has multiple options and several uses. If I try giving even the most common examples of each command, it will easily turn into a pocketbook of more than 10,000 words.</p><p>I will not go into detail with any of these commands. I’ll list the purpose of each command with its basic syntax.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*3YBTDYY8BBIy4mEn.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*YDUYQGBCetHri27K150gTg.png" /></figure><h3>1. ls command: List the content of a folder</h3><p>This is among the first few commands a new Linux user learns. This command lets you see what files and folders are in your current folder.</p><pre>ls</pre><p>You can use the long listing option ls -l to see details like file size, permission, modified time, etc. You can sort and control these options if you want to.</p><pre>ls -l</pre><h3>2. cd command: Change the directory</h3><p>By default, you start in your home directory. You’ll often require to change the directory and move to another one.</p><p>For example, you downloaded a deb file or script. Now you want to run it. You can do that from your present working directory by providing the full path but switching to that location makes things easier.</p><p>The cd command stands for <strong>change directory; </strong>with this, you can change your location and move to another directory.</p><h3>3. cat command: Read a text file</h3><p>If you quickly want to see the contents of a text file in Linux, <strong>cat</strong> is the command you use. It displays the contents on the screen.</p><pre>cat filename</pre><h3>4. touch command: Create new files</h3><p>There are multiple ways of creating new files in the Linux terminal. The cat command you saw above can also create new files.</p><p>However, I prefer the touch command for this purpose.</p><pre>touch new_file_name</pre><h3>5. mkdir command: Make new folders</h3><p>While there is no specific command for creating new files, there is a dedicated command for making new folders (or directories, as we call them in Linux).</p><pre>mkdir new_dir</pre><h3>6. mv command: Cut-paste or rename files and folders</h3><p>The mv command stands for ‘move’. When you copy a file to another location, it remains in its original place.</p><p>The mv command moves the files and folders to the other location. You can think of it as a cut-paste operation.</p><pre>mv file.txt /another/location</pre><p>You can use the mv command to rename the file as well.</p><pre>mv file.txt new_file.txt</pre><p>The same mv command also moves or renames folders without any special options.</p><h3>7. rm command: Remove files and folders</h3><p>To delete files in the Linux terminal, you use the <strong>rm</strong> (short for remove) command.</p><pre>rm filename</pre><p>There is no undo option after you delete files in the command line. This is why you should be extremely careful while deleting files. If you are afraid of deleting the wrong file, use the interactive mode with option -i, which gives you an additional prompt to confirm the action.</p><h3>8. clear: Clear terminal screen</h3><p>Nano feels like a complicated one, right? Let me share a simple command.</p><p>The clear command clears the terminal. That’s it.</p><pre>clear</pre><p>And why do you need to do that? Well, if your terminal screen is flooded with random stuff and you want to do something new. Cleaning the terminal is like cleaning the board or opening a new page in your notebook.</p><h3>9. ps: Check and handle processes</h3><p>The ps command is for handling the processes running on your system. Each process has an associated ID called PID, which can be used for various purposes, such as terminating a process.</p><pre>m8vikram:~$ ps<br>    PID TTY          TIME CMD<br>  15358 ?        00:00:00 bash<br>  15404 ?        00:00:00 ps</pre><p>But a system cannot run just 2–3 processes, can it? To see all the processes running by all users, use:</p><pre>ps aux</pre><p>This will give a massive list of processes and more details about them. If you run this command, now will be an excellent time to use the <strong>clear</strong> command.</p><h3>10. top: System monitor</h3><p>While the ps command gives you all the running processes, the top command gives you a real-time view of the processes and the system resource consumption.</p><pre>top</pre><p>Consider it like the terminal variant of the task manager in Linux. You’ll see a lot of interesting details with the top command.</p><h3>11. lsblk: List disks and partitions</h3><p>The <strong>lsblk</strong> command lists all the block devices on your system. In really simple (and not entirely technically accurate) terms, it displays the disks and partitions.</p><pre>root@m8v:~# lsblk<br>NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS<br>loop0     7:0    0 79.9M  1 loop /snap/lxd/22923<br>loop1     7:1    0  103M  1 loop /snap/lxd/23541<br>loop2     7:2    0 63.2M  1 loop /snap/core20/1623<br>loop3     7:3    0   48M  1 loop /snap/snapd/17336<br>loop4     7:4    0   48M  1 loop /snap/snapd/17029<br>loop6     7:6    0 63.2M  1 loop /snap/core20/1634<br>vda     252:0    0   25G  0 disk <br>├─vda1  252:1    0 24.9G  0 part /<br>├─vda14 252:14   0    4M  0 part <br>└─vda15 252:15   0  106M  0 part /boot/efi<br>vdb     252:16   0  466K  1 disk <br>root@m8v:~#</pre><h3>12 .find: Search for files</h3><p>Even as a desktop user, you’ll encounter cases where you may have to search for files in the Linux command line.</p><p>The find command is an extensive and versatile command for this purpose. It has more than fifty options, and you will probably never need all of them.</p><p>Here’s an example of the find command that will give you all the files that end with the .<strong>txt</strong> extension in the current directory.</p><pre>find . -type f -name &quot;*.txt&quot;</pre><h3>13. grep: Search in file content</h3><p>The find command search for files based on their name and type. If you want to search based on the content of the files, you use the grep command.</p><p>So, instead of looking for all files ending with .txt, you look for all files containing the text ‘foss’ with grep.</p><pre>grep -ri search_term</pre><h3>14. kill: Terminate processes</h3><pre>sudo kill -9 process_ID_or_Name</pre><p>As you can see in the above command, you need to know the process ID (PID) or the name to terminate it. You can use the ps or the top command to get the PID or exact process name.</p><pre>ps aux | grep -i “hello world”</pre><h3>15. history: Look back into what commands you ran in the past</h3><p>So, you used a specific Linux command a few days ago. Now you need to run it again, but you cannot recall it correctly.</p><p>You can press the up and down arrow keys.</p><p>That’s a familiar scenario for many Linux users; this is where the history command helps.</p><p>In Ubuntu, your shell keeps a history of the commands you run. Enter history in the terminal, and you should see a history of commands you ran in the past.</p><p>There is another way to access the command history and search it. Press <strong>Ctrl+R</strong> and then enter the search term.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89405f8a19c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/15-linux-commands-every-user-must-know-89405f8a19c">15 Linux Commands Every User Must Know!</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[‘Search Light’ is Like macOS Spotlight for GNOME Shell]]></title>
            <link>https://medium.com/featurepreneur/search-light-is-like-macos-spotlight-for-gnome-shell-9bbfa0e2bae?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bbfa0e2bae</guid>
            <category><![CDATA[spotlight]]></category>
            <category><![CDATA[search]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 13:46:16 GMT</pubDate>
            <atom:updated>2022-11-11T13:46:16.960Z</atom:updated>
            <content:encoded><![CDATA[<p>This extension enabled you to get to harness the power of GNOME Shell’s search capabilities without being punted to a different screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cN78w53PYeQQtpIL.jpg" /><figcaption>SpotLight in Macos</figcaption></figure><p>Search Light can show any/all results the regular GNOME Shell search can as it’s the same widget, just floating above all windows. To control what kind of results you see for queries toggle on/off options listed in the System Settings &gt; Search panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ECwc7v5iuRo55Vja.jpg" /><figcaption>Searchlight in Ubuntu</figcaption></figure><p>The default keybinding is ctrl + super + space. This requires more finger-flexing than macOS’s cmd + space or GNOME Shell’s stock super. You can now set your own keyboard shortcut from the extension’s settings panel, as of the latest update.</p><p>I like that the appearance of the Search Light interface is configurable, allowing you to adjust the height and width of the main UI, pick a background color (and opacity), and tweak the border-radius — you can’t do that with macOS Spotlight.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bbfa0e2bae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/search-light-is-like-macos-spotlight-for-gnome-shell-9bbfa0e2bae">‘Search Light’ is Like macOS Spotlight for GNOME Shell</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to add a Pagination to your Webpage]]></title>
            <link>https://medium.com/featurepreneur/how-to-add-a-pagination-to-your-webpage-49aaf55a1982?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/49aaf55a1982</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[pagination]]></category>
            <category><![CDATA[pages]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 13:45:14 GMT</pubDate>
            <atom:updated>2022-11-11T13:45:14.982Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3zqDe61sNzZYmFtn.png" /></figure><p>In this article, we will tell you an excellent way to navigate large amounts of content, to your website using a jQuery Bootstrap Plugin. Pagination allows you to make large amounts of content easy to find and breaks up several entries or web content into multiple pages, allowing you to toggle through content with ease.</p><p>Below are the HTML, CSS, and JavaScript required.</p><h3>Add the HTML below to your web page</h3><pre>&lt;nav&gt;<br>&lt;ul class=&quot;pagination&quot;&gt;<br>&lt;li class=&quot;not-allow&quot;&gt;&lt;span&gt;&lt;i&gt;«&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;<br>&lt;li class=&quot;not-allow&quot;&gt;&lt;span&gt;&lt;i&gt;‹&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;<br>&lt;li class=&quot;active&quot;&gt;&lt;span class=&quot;current&quot;&gt;1&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;inactive&quot;&gt;2&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;inactive&quot;&gt;3&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;inactive&quot;&gt;4&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;inactive&quot;&gt;5&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;inactive&quot;&gt;6&lt;/a&gt;&lt;/li&gt;&lt;li class=&quot;bothends&quot;&gt;&lt;a href=&quot;#&quot; class=&quot;inactive&quot;&gt;7&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i&gt;›&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;<br>&lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;i&gt;»&lt;/i&gt;&lt;/a&gt;&lt;/li&gt;<br>&lt;/ul&gt;<br>&lt;/nav&gt;</pre><h3>Add the CSS below to the stylesheet of your website</h3><pre>nav {<br>    display: block;<br>  margin-top: 40vh;<br>}<br>ul {<br>    display: block;<br>    list-style-type: disc;<br>    margin-block-start: 1em;<br>    margin-block-end: 1em;<br>    margin-inline-start: 0px;<br>    margin-inline-end: 0px;<br>    padding-inline-start: 40px;<br>}</pre><pre>.pagination {<br>    display: -webkit-box;<br>    display: -ms-flexbox;<br>    display: flex;<br>    -webkit-box-pack: center;<br>    -ms-flex-pack: center;<br>    justify-content: center;<br>    margin: 0;<br>    list-style: none;<br>    border-radius: .25rem;<br>  text-align: center;<br>  color: #484b5a;<br>}<br>.pagination&gt;li {<br>    padding: 0 3px;<br>  flex: 1 1 42px;<br>    max-width: 42px;<br>    min-width: 27px;<br>    float: left;<br>  font-size: 1.4rem;<br>}</pre><pre>.pagination&gt;.active&gt;span, .pagination&gt;li&gt;a:hover {<br>    background: 0 0;<br>    border-bottom: 2px solid #f564a9;<br>    color: #f564a9;<br>}</pre><pre>.pagination&gt;li&gt;a, .pagination&gt;li&gt;span {<br>    display: inline-block;<br>    text-decoration: none;<br>    width: 100%;<br>    padding: 6px 0;<br>    color: inherit;<br>    background: #fff;<br>    border-right: 0;<br>}</pre><p>Output :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*PtIlkrCZXITIKBva8j6BfQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49aaf55a1982" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/how-to-add-a-pagination-to-your-webpage-49aaf55a1982">How to add a Pagination to your Webpage</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JuSt a moment with Moment.js]]></title>
            <link>https://medium.com/featurepreneur/just-a-moment-with-moment-js-b282d75410e8?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/b282d75410e8</guid>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[date]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[momentjs]]></category>
            <category><![CDATA[time]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 13:44:29 GMT</pubDate>
            <atom:updated>2022-11-11T13:44:29.742Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UVkRyonAf_1wCwVq.png" /></figure><p>One of the trickier things to deal with in JavaScript is the formatting of dates.</p><h3>The Date() Object</h3><p>Dates in JavaScript all start with creating a new instance of the ‘Date’ object.</p><pre>new Date()</pre><p>By default, this returns an object that contains the information for the current date and time</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*H03Kg72fIoHfBSLZXffPzQ.png" /></figure><p>If you are looking through server logs or are programmatically generating output that contains timestamps then you can also pass those to the Date object. These are usually in the form of Unix Epoch Time which is the number of seconds since 1st January 1970 at midnight. <a href="https://unixtime.org/">https://unixtime.org/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*6G_gkNAj6BPns1VCSWwQug.png" /></figure><p>Hmmm. At the time of this writing, the Unix Epoch Time is 1667824678 so you might have expected the return value to be something closer to the current date. This is because Date() expects a value you pass to it to be in milliseconds. So after a quick multiplication, you get this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*EE5DfzoTOFwD_0s8VaBcVQ.png" /></figure><h3>Date Formatting</h3><p>What happens when you want to format that date a bit or only want part of it? Let’s say you only want the date from the above output. The time and timezone don’t matter to you. How do you get it?</p><p>The Date() object has several methods you can call on it to get just parts of the output. These include methods like .getDay(), .getMonth(), .getDate(), and .getFullYear(). But these have their own shortcomings.</p><p>Here is a bit of JavaScript where the timestamp is being hardcoded and passed to a new instance of Date(). Then some of the contents of the Date object are held in variables and then consoled out.</p><pre>var timestamp = 1667824678;<br>var timestampDate = new Date(timestamp * 1000);<br>var day = timestampDate.getDay();<br>var month = timestampDate.getMonth();<br>var date = timestampDate.getDate();<br>var year = timestampDate.getFullYear(); <br>console.log(`${day} ${month} ${date} ${year}`)</pre><p>This is not what we were after. This is because the values in the Date() object for things like the day and month are in integers starting from 0 rather than words like ‘Wed’ and ‘Sep’. If that is the output you want, then you will use a couple of Javascript switches to get there.</p><pre>var timestamp = 1667824678;<br>var timestampDate = new Date(timestamp * 1000);<br>var day = timestampDate.getDay();<br>var month = timestampDate.getMonth();<br>var date = timestampDate.getDate();<br>var year = timestampDate.getFullYear();switch(day) {<br>  case 0:<br>    day = &#39;Sun&#39;;<br>    break;case 1:<br>    day = &#39;Mon&#39;;<br>    break;case 2:<br>    day = &#39;Tue&#39;;<br>    break;case 3:<br>    day = &#39;Wed&#39;;<br>    break;case 4:<br>    day = &#39;Thu&#39;;<br>    break;case 5:<br>    day = &#39;Fri&#39;;<br>    break;case 6:<br>    day = &#39;Sat&#39;;<br>    break;case 7:<br>    day = &#39;Sun&#39;;<br>    break;<br>}switch(month) {<br>  case 0:<br>    month = &#39;Jan&#39;;<br>    break;case 1:<br>    month = &#39;Feb&#39;;<br>    break;case 2:<br>    month = &#39;Mar&#39;;<br>    break;case 3:<br>    month = &#39;Apr&#39;;<br>    break;case 4:<br>    month = &#39;May&#39;;<br>    break;case 5:<br>    month = &#39;Jun&#39;;<br>    break;case 6:<br>    month = &#39;Jul&#39;;<br>    break;case 7:<br>    month = &#39;Aug&#39;;<br>    break;case 8:<br>    month = &#39;Sep&#39;;<br>    break;case 9:<br>    month = &#39;Oct&#39;;<br>    break;case 10:<br>    month = &#39;Nov&#39;;<br>    break;case 11:<br>    month = &#39;Dec&#39;;<br>    break;<br>}<br>console.log(`${day} ${month} ${date} ${year}`)</pre><p>Now you just need to deal with the lack of a leading 0 on a date that is less than 10. A quick if/else statement and you should have it.</p><pre>var timestamp = 1667824678;<br>var timestampDate = new Date(timestamp * 1000);<br>var day = timestampDate.getDay();<br>var month = timestampDate.getMonth();<br>var date = timestampDate.getDate();<br>var year = timestampDate.getFullYear();switch(day) {<br>  case 0:<br>    day = &#39;Sun&#39;;<br>    break;case 1:<br>    day = &#39;Mon&#39;;<br>    break;case 2:<br>    day = &#39;Tue&#39;;<br>    break;case 3:<br>    day = &#39;Wed&#39;;<br>    break;case 4:<br>    day = &#39;Thu&#39;;<br>    break;case 5:<br>    day = &#39;Fri&#39;;<br>    break;case 6:<br>    day = &#39;Sat&#39;;<br>    break;case 7:<br>    day = &#39;Sun&#39;;<br>    break;<br>}switch(month) {<br>  case 0:<br>    month = &#39;Jan&#39;;<br>    break;case 1:<br>    month = &#39;Feb&#39;;<br>    break;case 2:<br>    month = &#39;Mar&#39;;<br>    break;case 3:<br>    month = &#39;Apr&#39;;<br>    break;case 4:<br>    month = &#39;May&#39;;<br>    break;case 5:<br>    month = &#39;Jun&#39;;<br>    break;case 6:<br>    month = &#39;Jul&#39;;<br>    break;case 7:<br>    month = &#39;Aug&#39;;<br>    break;case 8:<br>    month = &#39;Sep&#39;;<br>    break;case 9:<br>    month = &#39;Oct&#39;;<br>    break;case 10:<br>    month = &#39;Nov&#39;;<br>    break;case 11:<br>    month = &#39;Dec&#39;;<br>    break;<br>}if(date &lt; 10) {<br>  date = &#39;0&#39; + date.toString();<br>}<br>console.log(`${day} ${month} ${date} ${year}`)</pre><p>That was a lot of code for what seems like a pretty simple ask. There’s a lot that could go wrong here and if you ever wanted a different output you’d have to rewrite or discard most of this. If only there was a better way…</p><h3>Moment.js</h3><p>Moment.js is a JavaScript library that is made just for handling dates. It works both in the browser and in Node.js.</p><p>The new Date() equivalent in Moment.js is moment() and it is an object containing the data for the current time (if no value is passed to it). You then pass this object the .format() method and you get to see the data in the object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/0*sRRhWQkpwlP5KsiA.png" /></figure><p>You can also pass a timestamp to .moment() and you will get information on that specific date and time.</p><p>One of the best things about Moment.js is just how easy it is to display data from it and how many options you have when doing so. To get the same date value we got from the last example all we have to pass to .format() is a few characters and we get the same output. Here we are passing the same timestamp to the .moment() method and then passing the desired arguments in a string to .format().</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/0*hhRs-psfZOnxvy4t.png" /></figure><p>A lot less hassle here. No messing with switches or logic to deal with formatting. Pretty straightforward and to the point. Moment.js is pretty easy to set up and use and may save you a bit of effort when dealing with date and time formatting.</p><p>Thanks for Reading !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b282d75410e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/just-a-moment-with-moment-js-b282d75410e8">JuSt a moment with Moment.js</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Event Delegation in JS]]></title>
            <link>https://medium.com/featurepreneur/what-is-event-delegation-in-js-96e2cb26f687?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/96e2cb26f687</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[featurepreneur]]></category>
            <category><![CDATA[event-delegation]]></category>
            <category><![CDATA[js]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Fri, 11 Nov 2022 13:42:52 GMT</pubDate>
            <atom:updated>2022-11-11T13:42:52.762Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*HaD_W2P4GgBLdOtr.png" /></figure><p>By default, events triggered on an element propagate up the DOM tree to the element’s parent, its ancestors, and on up until the root element (HTML).</p><pre>&lt;div&gt;<br>  &lt;span&gt;<br>    &lt;button&gt;Click Me!&lt;/button&gt;<br>  &lt;/span&gt;<br>&lt;/div&gt;</pre><p>Here we have a div which is a parent of a span which in turn is a parent of the button element.</p><p>Due to event bubbling, when the button receives an event, say click, that event bubbles up the tree, so span and div will respectively receive the event also.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FZ-8CjCLGBWqzNxJ.png" /></figure><h3>How Does Event Delegation Work?</h3><p>With event delegation, instead of handling the click event on the button, you can handle it on the div.</p><p>The idea is that you <em>delegate</em> the handling of an event to a different element instead of the actual element that received the event.</p><pre>const div = document.getElementsByTagName(&quot;div&quot;)[0]<br><br>div.addEventListener(&quot;click&quot;, (event) =&gt; {<br>  if(event.target.tagName === &#39;BUTTON&#39;) {<br>    console.log(&quot;button was clicked&quot;)<br>  }<br>})</pre><p>The event object has a target property which contains information about the element that actually received the event. On target.tagName, we get the name of the tag for the element, and we check if it’s BUTTON.</p><p>With this code, when you click the button, the event bubbles up to the div which handles the event.</p><h3>Why use Event Delegations ?</h3><p>Event Delegation is a useful pattern that allows you to write cleaner code, and create fewer event listeners with similar logic.</p><pre>&lt;div&gt;<br>  &lt;button&gt;Button A&lt;/button&gt;<br>  &lt;button&gt;Button B&lt;/button&gt;<br>  &lt;button&gt;Button C&lt;/button&gt;<br>&lt;/div&gt;</pre><p>Here we have 3 buttons. Let’s say we wanted to handle a click event on each button, such that when it is clicked, the button’s text is logged to the console</p><pre>const buttons = document.querySelectorAll(&#39;button&#39;)<br><br>buttons.forEach(button =&gt; {<br>  button.addEventListener(&quot;click&quot;, (event) =&gt; {<br>    console.log(event.target.innerText)<br>  })<br>})</pre><p>When you click on the first button, you have “Button A” logged on the console. For the second button, “Button B” is logged, and for the third button, “Button C” is logged.</p><p>Although this works as we want, we have created three event listeners for the three buttons. Since the click event on these buttons propagates upward in the DOM tree, we can use a common parent or ancestor that they have to handle the event. In this case, we delegate a common parent that they share to handle the logic we want.</p><pre>const div = document.querySelector(&#39;div&#39;)<br><br>div.addEventListener(&quot;click&quot;, (event) =&gt; {<br>  if(event.target.tagName === &#39;BUTTON&#39;) {<br>    console.log(event.target.innerText)<br>  }<br>})</pre><p>Now, even if we add an extra button, we won’t have to change the JavaScript code as this new button also shares the div parent (which we delegated for the event handling) with the other buttons.</p><p>With event delegation, you create fewer event listeners and perform similar events-based logic in one place. This makes it easier for you to add and remove elements without having to add new or remove existing event listeners.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96e2cb26f687" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/what-is-event-delegation-in-js-96e2cb26f687">What is Event Delegation in JS</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Is Edge Computing?]]></title>
            <link>https://medium.com/featurepreneur/what-is-edge-computing-c1222db27e24?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1222db27e24</guid>
            <category><![CDATA[edge-computing]]></category>
            <category><![CDATA[computing]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Sat, 08 Oct 2022 17:57:03 GMT</pubDate>
            <atom:updated>2022-10-08T17:57:03.247Z</atom:updated>
            <content:encoded><![CDATA[<p>Edge computing is a distributed IT architecture that moves computing resources from clouds and data centers close to the originating source. The main goal of edge computing is to reduce latency requirements while processing data and saving network costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6ARt1qdCOLz692cH" /></figure><p>Before that, do you remember the first ever huge and bulky sets of computers?</p><p>As devices grew smaller over the years, their computing and processing powers have grown exponentially. While data warehouses and server farms were once considered to be the ultimate choice for computing speed, the focus has quickly shifted to the concept of <strong>cloud or “offsite storage”</strong>. Companies like Netflix, Spotify, and other SaaS (Software as a service) companies have even built their entire business models on the concept of cloud computing. However, cloud computing comes with a number of drawbacks. The biggest problem of cloud computing is <strong>latency</strong> because of the distance between users and the data centers that host the cloud services. This has led to the development of a new technology called edge computing moves to compute closer to end users.</p><p>Hence to reduce the latency Edge Computing is used.</p><h3>But how does it work?</h3><p>Edge computing works by capturing and processing the information as close to the source of the data or desired event as possible. It relies on sensors, computing devices, and machinery to collect data and feed it to edge servers or the cloud. Depending on the desired task and outcome, this data might feed analytics and machine learning systems, deliver automation capabilities or offer visibility into the current state of a device, system, or product.</p><h3>Benefits of Edge Computing</h3><p>Edge computing has emerged as one of the most effective solutions to network problems associated with moving huge volumes of data generated in today’s world. Here are some of the most important benefits of edge computing:</p><p><strong>1. Eliminates Latency<br></strong>Latency refers to the time required to transfer data between two points on a network. Large physical distances between these two points coupled with network congestion can cause delays. As edge computing brings the points closer to each other, latency issues are virtually nonexistent.</p><p><strong>2. Saves Bandwidth<br></strong>Bandwidth refers to the rate at which data is transferred on a network. As all networks have limited bandwidth, the volume of data that can be transferred and the number of devices that can process this is limited as well. By deploying the data servers at the points where data is generated, edge computing allows many devices to operate over a much smaller and more efficient bandwidth.</p><p><strong>3. Reduces Congestion<br></strong>Although the Internet has evolved over the years, the volume of data being produced every day across billions of devices can cause high levels of congestion. In edge computing, there is local storage and local servers can perform essential edge analytics in the event of a network outage.</p><h3>Drawbacks of Edge Computing</h3><p>Although edge computing offers a number of benefits, it is still a fairly new technology and far from being foolproof. Here are some of the most significant drawbacks of edge computing:</p><p><strong>1. Implementation Costs<br></strong>The costs of implementing an edge infrastructure in an organization can be both complex and expensive. It requires a clear scope and purpose before deployment as well as additional equipment and resources to function.</p><p><strong>2. Incomplete Data<br></strong>Edge computing can only process partial sets of information which should be clearly defined during implementation. Due to this, companies may end up losing valuable data and information.</p><p><strong>3. Security<br></strong>Since edge computing is a distributed system, ensuring adequate security can be challenging. There are risks involved in processing data outside the edge of the network. The addition of new IoT devices can also increase the opportunity for attackers to infiltrate the device.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1222db27e24" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/what-is-edge-computing-c1222db27e24">What Is Edge Computing?</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Roadmap for becoming a Frontend Developer]]></title>
            <link>https://medium.com/featurepreneur/roadmap-for-becoming-a-frontend-developer-493600d9d173?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/493600d9d173</guid>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[frontend]]></category>
            <category><![CDATA[roadmaps]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[css]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Sat, 08 Oct 2022 17:52:10 GMT</pubDate>
            <atom:updated>2022-10-08T17:52:10.972Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we will take a look at a roadmap that can be followed to become a front-end developer. A roadmap discusses the path from beginner to advanced levels and all the technologies to learn to become a successful front-end developer.</p><figure><img alt="Title Image" src="https://cdn-images-1.medium.com/max/1024/1*lEqdNOv4yugdAH-_amDkDA.png" /></figure><h3>What is Front-end Development?</h3><p>‍Front-end web development is the practice of creating HTML, CSS, and JavaScript for a web or mobile application so that a user can see and interact with them directly. The challenge associated with front-end development is that the tools and techniques used to create the front-end constantly change. Hence, the developer needs to be aware of how the field is constantly developing.</p><blockquote>The main responsibility of the Front-End Developer is the <strong>User interface</strong>.</blockquote><p>Front-end development is what you would refer to as the client side of development. Front-end development is all about analyzing designs and codes as well as debugging applications. The front-end or client-side development objective is to provide your users with a seamless experience of using a website.</p><blockquote>Overall, the future looks bright for anyone who wants to become a front-end developer.</blockquote><p>Stick around to find out the important things a front-end developer should know about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcIfHfJW1zqG34jVa91-lA.png" /></figure><h3>Things to Learn?</h3><p>To be a successful Front-end Developer. Some important skills are required.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3-DQ4h4mqGTR4GxvybW_IA.png" /></figure><ol><li><strong>HTML5 and CSS</strong></li></ol><p>Hypertext Markup Language (HTML) and Cascading Style Sheets (CSS) are a website’s nuts and bolts. While HTML gives structure to web pages, CSS helps style the HTML elements with colour, fonts, typeface, and more.</p><p>Mastering <strong>HTML5</strong> and <strong>CSS</strong> is a MUST. Honestly, not having it at your fingertips is unacceptable for a front-end developer. HTML, the key structural component of any website, together with CSS, the styling part, already allows you to build some basic websites and applications.</p><p>2. <strong>JavaScript</strong></p><p>This client-side programming language lets you add interactive features to a website, including polls, slideshows, and forms. JavaScript also offers support for dynamic elements, including, but not limited to, page animation, scrolling, audio, and video.</p><h3><strong>Frameworks</strong></h3><p>Knowing the language itself is one thing, but knowing how to work within a framework is an additional skill, and you can’t do much without it, especially if you want to create a real project for a client.</p><p><strong>1.JavaScript Frameworks</strong></p><p><strong>React.js</strong>: React is a front-end open-source JavaScript library used to create interactive UIs (User Interfaces), which helps improve the speed of applications. It is one of the simplest frameworks to learn and was developed by <em>Facebook</em> to resolve the code maintainability issues due to constant addition and improvements. It is still maintained by Facebook and other individual front-end engineers.</p><p><strong>Angular.js: </strong>Angular is a modern TypeScript-based, open-source framework and one of the top-rated software development tools. Angular features Directives allow developers to program special behaviors of the DOM, making it possible to create rich and dynamic HTML content.</p><p><strong>2. CSS Frameworks</strong></p><p>Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. Bootstrap is considered to be one of the best CSS frameworks due to its responsive design. It contains CSS- and JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components. They have an extensive set of documentation, examples, and demos to get you started quickly with responsive web development.</p><h3>Soft skills</h3><p><strong>1. Problem Solving</strong></p><p>Dealing with a project and each small task is an everyday struggle of a front-end developer, but these issues are solved step by step. However, if something doesn’t work on the website, the front-end developer has to rectify it! Solving the problems and making it all work should be the mindset of each professional developer.</p><p><strong>2. Teamwork</strong></p><p>Teamwork is usually a part of the front-end developer’s everyday life and they need to be good at it. Even if you work as a freelance dev, you’ll have to communicate well with the clients and work with them on the project to some extent. Knowing how to handle a team, support other developers, and ask for help when needed make the workflow smoother, and in the end, you deliver the end product faster.</p><p><strong>3. Good Communication</strong></p><p>Effective communication is necessary when you work with other people. What is also important is the ability to state and communicate what you have in mind — writing documentation that others can read and understand is highly appreciated.</p><h3>Conclusion</h3><p>Front-end development can look like it’s easy at first glance, but in reality, it is a complex field that adapts daily to the latest advances in technology and the needs of users.</p><p>In the End, There are many skills that you will need to learn. This roadmap provides a great starting point, but remember that learning is a never-ending process. Stay motivated and always be willing to learn new things, and you’ll be well on your way to a successful front-end developer career.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=493600d9d173" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/roadmap-for-becoming-a-frontend-developer-493600d9d173">Roadmap for becoming a Frontend Developer</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Install H.264 decoder plugin on Ubuntu]]></title>
            <link>https://medium.com/featurepreneur/how-to-install-h-264-decoder-plugin-on-ubuntu-cbc6b16aba8e?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbc6b16aba8e</guid>
            <category><![CDATA[ubuntu-22-04]]></category>
            <category><![CDATA[h264]]></category>
            <category><![CDATA[vi̇deo]]></category>
            <category><![CDATA[bugs]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Sat, 08 Oct 2022 17:51:16 GMT</pubDate>
            <atom:updated>2022-10-08T17:51:16.887Z</atom:updated>
            <content:encoded><![CDATA[<p>So, one fine day you downloaded a video and sat down to watch it and when you double-clicked the mp4 you get this message!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*5PuJR2xajGMFNzci.png" /></figure><p>It gives an error that the playback requires an H.264(High Profile) decoder plugin that is not installed.</p><h3>What is H.264 Decoder Plugin</h3><p>An H.264 decoder is a plugin that not only encodes but also decodes the content. Because of this, it is also known as a codec. Codec is a device that not only encodes the data but also decodes it after the encoding.</p><p>Similarly to this concept, the codec in videos also encodes the data, or we can say it packages and un-packages the content for the streaming and recording of the video. In the process of encoding, the H.264 compresses the size of the video file so it can conveniently transfer over a long distance and when it is reached the destination, then the process of decoding starts, which is opposite to the encoding and uncompressing all the data of video and return the video contents to their original size and order.</p><h3>Installation Process</h3><p>An error of an H.264, which we see when we play the video, can be fixed by installing the H.264 decoder on Ubuntu. For this, we will open the terminal and will update the repository.</p><pre><strong>sudo apt update</strong></pre><p>Once the update is completed, we will install some packages of different libraries and a few packages of GStreamer</p><pre><strong>sudo apt install libdvdnav4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg -y</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZhKtkZ-DNppDbs9MtiKx2w.png" /></figure><p>As the installation process starts, a dialogue box will open for the configuration setting, libdvd.pkg. It will inform you that this package will begin launching downloads of the source files from videolan.org, compile them and install them. Accept this acknowledgment by pressing the Ok button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h_lqSxtWdMDRs1KwjBgY5g.png" /></figure><p>next</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FGREPIyJfJEO5UY3y0WT3g.png" /></figure><p>After the installation of the packages, we will run the command to configure the dpkg</p><pre><strong>sudo dpkg-reconfigure libdvd-pkg</strong></pre><p>Again a dialogue box will be open to confirm the installation of the package, so choose Yes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YbrSLgtgFI-pLV2B8aOIWw.png" /></figure><p>In the last step, we will install the Ubuntu restricted extras</p><pre><strong>sudo apt install ubuntu-restricted-extras</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6cAoIn_Q16qAZlNat9iMOA.png" /></figure><p>As we run the following command, the installation will begin, and a dialogue box will appear on the screen regarding the agreement, drag down the whole agreement, and press Ok.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T29TOrSh1K7B4_VUFjS8ng.png" /></figure><p>Another dialogue box will appear asking you about the acceptance of the EULA license terms, so press Yes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XrPB_l6-bvnQCPMINzkS7g.png" /></figure><p>Now the installation will begin, and it will take some time depending on the system’s specifications, so have some patience. On completion of installation, you will see an output that no error was found and everything was done successfully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kXc4I9jlQ1C5OVNf9su3xA.png" /></figure><p>Go to the video and open it to play it, and it will generate no error in playing the video, which means the H.264 decoder is installed successfully/</p><p>Now you can enjoy watching your video !!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbc6b16aba8e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/how-to-install-h-264-decoder-plugin-on-ubuntu-cbc6b16aba8e">How to Install H.264 decoder plugin on Ubuntu</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Make Ubuntu look like MacOS]]></title>
            <link>https://medium.com/featurepreneur/make-ubuntu-look-like-macos-fd11c6ccf83a?source=rss-abade51492eb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd11c6ccf83a</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[customization]]></category>
            <category><![CDATA[mac]]></category>
            <dc:creator><![CDATA[Vikram M.]]></dc:creator>
            <pubDate>Wed, 28 Sep 2022 17:01:15 GMT</pubDate>
            <atom:updated>2022-09-29T14:52:41.327Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*589hjYigNFeA9xvspQfOuQ.png" /></figure><p>Keeping aside the fact that developers prefer a MacBook over a windows system, All of us like to use a MacBook, mainly because of the User Interface it provides. The most significant advantage of using Ubuntu OS is that we can customize it according to our needs.</p><p>In this article, we will take a look at a way to make our Ubuntu OS look like a MacOS Big Sur.</p><p>Follow the below steps and at the end, you will have your system look like a MacBook (OS)</p><h3>Install GNOME TWEAKS</h3><pre>sudo apt install gnome-tweaks</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*NF0GPNtEIfCuDNmeOqCeBg.jpeg" /><figcaption>GNOME TWEAK icon</figcaption></figure><h3>Install WhiteSur GTK theme</h3><p>First of all, we would have to install the WhiteSur GTK theme. It provides the exact macOS Big Sur like application window, window buttons, top panel, and dock. To install the themes, first, we need to run some commands. Run the following commands in the terminal.</p><pre>sudo apt install gtk2-engines-murrine gtk2-engines-pixbuf</pre><p>next, run this</p><pre>sudo apt install sassc optipng inkscape libglib2.0-dev-bin</pre><p>The above 2 commands will install the dependencies required. Once we are done installing the dependencies, we can install the WhiteSur GTK theme. To do that, run the following set of commands.</p><pre>git clone https://github.com/vinceliuice/WhiteSur-gtk-theme</pre><pre>cd WhiteSur-icon-theme/</pre><pre>./install.sh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rmM6h8LWT_cfA_0hsykRog.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hl2vbAS4ehulpAaMOp9sjw.png" /></figure><p><a href="https://chrome.google.com/webstore/detail/gnome-shell-integration/gphhapmejobijbbhgpjhcjognlahblep">https://chrome.google.com/webstore/detail/gnome-shell-integration/gphhapmejobijbbhgpjhcjognlahblep</a></p><p>Now head over to GNOME TWEAKS</p><p>In Tweaks go to the Appearance tab, and change the Applications and Shell value to “WhiteSur-dark”. There are a bunch of other WhiteSur themes, you can try any one of those.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/0*TzuRXpzQBe0AGVjy.png" /></figure><h3>Icon Theme</h3><p>The WhiteSur Icon theme is created by the same WhiteSur theme designer. The installation process is also quite similar and below are the installation commands.</p><pre>git clone https://github.com/vinceliuice/WhiteSur-icon-theme.git</pre><pre>cd WhiteSur-icon-theme/</pre><pre>./install.sh</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*njBsl21wAMPb_jgoAHBLxA.png" /></figure><p>Now, again move to GNOME TWEAKS</p><p>Under GNOME Tweaks, on the Appearance tab, change the value of Icons to BigSur-dark. There is also an option called BigSur. You can use it with a light theme.</p><h3>Dash to Dock</h3><p>Next up, we need to provide the finishing touches to the Ubuntu Dock. Now, Ubuntu already provides you with the option to move the dock to the bottom. However, there’s no option to modify the width and icon size on the dock.</p><p>Hence, we will use a popular third-party extension called “Dash to Dock”. It not only lets you shift the dock to the bottom but also adjusts the size of the dock based on the number of open applications. Moreover, I have modified the icon size on the dock and kept it to 55 px to make it look similar to the macOS dock.</p><p>Download Link : <a href="https://extensions.gnome.org/extension/307/dash-to-dock/">https://extensions.gnome.org/extension/307/dash-to-dock/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*589hjYigNFeA9xvspQfOuQ.png" /></figure><h3>Magic Lamp Effect</h3><p>Finally, we need to get the Magic Lamp effect. This is the animation that is triggered while minimizing a window in macOS. This effect is also ported to Ubuntu’s GNOME desktop environment. To install that, you have to simply install the GNOME extension called “Compix alike magic lamp effect”. Once you have installed the extension, the entire macOS look is complete.</p><p>Download Link: <a href="https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/">https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JgXaMp3PppjuKJ_-1GQLsQ.png" /></figure><h3>Wallpaper</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VWU7ePtrFDVkwUSY" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gW_ZXoLyo2DASnLD.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hbZthDC_AU57D40r" /></figure><p>And that is it, Congratulations!!!</p><p>Your System will now look like a Mac Book with Big Sur.</p><p>If you have any queries post it in the comments</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd11c6ccf83a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/featurepreneur/make-ubuntu-look-like-macos-fd11c6ccf83a">Make Ubuntu look like MacOS</a> was originally published in <a href="https://medium.com/featurepreneur">featurepreneur</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>