<?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 Ashwin K Shenoy on Medium]]></title>
        <description><![CDATA[Stories by Ashwin K Shenoy on Medium]]></description>
        <link>https://medium.com/@ashwinshenoy?source=rss-2e4f5adcfd00------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*TR0jv7KVFNYqxxdsC2pgvQ.jpeg</url>
            <title>Stories by Ashwin K Shenoy on Medium</title>
            <link>https://medium.com/@ashwinshenoy?source=rss-2e4f5adcfd00------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:38:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashwinshenoy/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[Vue Dev Tools For iFrame]]></title>
            <link>https://medium.com/tech-made-simple/vue-dev-tools-for-iframe-f7cb7193da2?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7cb7193da2</guid>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[vue-devtools]]></category>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[iframe]]></category>
            <category><![CDATA[vue]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 04:26:01 GMT</pubDate>
            <atom:updated>2020-08-18T04:26:01.172Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*yNXasCbRnrgGM4pXlohYQA.jpeg" /></figure><p>As of writing this article, there is no good way to see vue-devtools when developing apps in iFrame. Hence I found out this following way to use the vue-devtools via this electron app.</p><p><a href="https://simpletech.xyz/article/vue-dev-tools-for-iframe/">Read more about it here.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7cb7193da2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/vue-dev-tools-for-iframe-f7cb7193da2">Vue Dev Tools For iFrame</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Add Internationalization (i18n) to a Nuxt.js App]]></title>
            <link>https://medium.com/tech-made-simple/add-internationalization-i18n-to-a-nuxt-js-app-a44ed5cac192?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/a44ed5cac192</guid>
            <category><![CDATA[i8n]]></category>
            <category><![CDATA[nuxtjs]]></category>
            <category><![CDATA[nuxt]]></category>
            <category><![CDATA[internationalization]]></category>
            <category><![CDATA[vue]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Mon, 20 Apr 2020 09:31:32 GMT</pubDate>
            <atom:updated>2020-04-20T10:58:01.143Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*24FphGM0FngBjqSc3FzaRQ.jpeg" /></figure><p>Sometimes we build apps and think only about the English speaking users. But there are different language speaking users who might want to use your app because it&#39;s really good, but the language becomes a barrier.</p><p>Today let’s explore the option of adding different languages to your Nuxt.js app.</p><h4>The Basics:</h4><ol><li>Install vue-i8n with the following command</li></ol><pre>npm install vue-i8n<br>//or<br>yarn add vue-i8n</pre><p>2. Create a file under plugins/i8n.js and add the following initial setup for i8n.</p><pre>import Vue from &#39;vue&#39;;<br>import VueI18n from &#39;vue-i18n&#39;;</pre><pre>Vue.use(VueI18n);</pre><pre>export default ({ app, store }) <em>=&gt;</em> {<br>  // Set i18n instance on app<br>  // This way we can use it in middleware and pages asyncData/fetch<br>  app.i18n = new VueI18n({<br>    locale: store.state.locale,<br>    fallbackLocale: &#39;en&#39;,<br>    messages: {<br>      &#39;en&#39;: require(&#39;~/locales/en.json&#39;),<br>      // ---- Your other languages ----<br>      // &#39;hi&#39;: require(&#39;~/locales/hindi.json&#39;),<br>      // &#39;mal&#39;: require(&#39;~/locales/malayalam.json&#39;),<br>      // &#39;tam&#39;: require(&#39;~/locales/tamil.json&#39;)<br>    }<br>  });<br>  app.i18n.path = (<em>link</em>) <em>=&gt;</em> {<br>    if (app.i18n.locale === app.i18n.fallbackLocale) {<br>      return `/${<em>link</em>}`<br>    }<br>  return `/${app.i18n.locale}/${<em>link</em>}`<br>  }<br>};</pre><p>3. Add the Plugin file path in nuxt.config.json file:</p><pre><em>module</em>.<em>exports</em> = {<br>  plugins: [<br>    &#39;~/plugins/i18n.js&#39;<br>  ],<br>  // ... your other configurations<br>}</pre><p>4. Under locales/en.json add your translations for the English language:</p><pre>{<br>  &quot;hello&quot;: &quot;Hello&quot;<br>}</pre><p>For another language ex: Hindi you could create one more file locales/hi.json with the same JSON key as in English and the translated value.</p><p>Ex for Hindi:</p><pre>{<br>  &quot;hello&quot;: &quot;नमस्ते&quot;<br>}</pre><p>Now in your component or pages file, you can directly call</p><pre>&lt;p&gt;<br>  {{ $t(&#39;hello&#39;) }}<br>&lt;/p&gt;</pre><h4>Extra:</h4><p>There are various ways you can set the language chosen by the user. The example that I tried out was using cookies for example. You could replace it with your custom profile API or saving it in local/session storage, etc, or using a route based locale selection.</p><p>Create a file middleware/i8n.js with:</p><pre>export default async <em>function</em>({ <em>app</em>, <em>store</em> }) {<br>  // Set Language<br>  <em>const</em> locale = app.$cookies.get(&#39;app-lang&#39;);<br>  app.i18n.locale = locale;<br>  store.commit(&#39;SET_LANG&#39;, locale);<br>}</pre><p>and add it in nuxt.config.json</p><pre><em>module</em>.<em>exports</em> = {<br>  router: {<br>    middleware: [&#39;i18n&#39;, &#39;autoLogin&#39;]<br>  }<br>  <br>  // ... other configs<br>};</pre><p>I have used <a href="https://github.com/microcipcip/cookie-universal/tree/master/packages/cookie-universal-nuxt"><em>Cookie-Universal-Nuxt</em></a><em> </em>for this example. If you want to use the same, follow the instructions in the link provided. (Pretty simple, just install and add it in nuxt.config.js — module section)</p><p>Then in the store, I have set up different ‘locales’ available and the current ‘locale’</p><pre>export <em>const</em> state = () <em>=&gt;</em> ({<br>  locale: &#39;en&#39;,<br>  locales: [&#39;en&#39;, &#39;hi&#39;]<br>});</pre><pre>// ...</pre><pre>export <em>const</em> mutations = {<br>  SET_LANG(<em>state</em>, <em>locale</em>) {<br>    if (<em>state</em>.locales.includes(<em>locale</em>)) {<br>      <em>state</em>.locale = <em>locale</em>;<br>    }<br>  }<br>});<br></pre><pre>// ... Incase you need to call the action<br>export <em>const</em> actions = {<br>  setLocale(<em>context</em>, <em>value</em>) {<br>    <em>context</em>.commit(&#39;SET_LANG&#39;, <em>value</em>);<br>  },<br>});<br></pre><h4>ProTip</h4><p>In the locales / en.json file instead of directly putting key-value pairs, you could organize it based on the section of your page.</p><p>Ex:</p><pre>{<br>  <em>&quot;menu&quot;</em>: {<br>    <em>&quot;home&quot;</em>: &quot;Home&quot;,<br>    <em>&quot;feedback&quot;</em>: &quot;Feedback&quot;,<br>    <em>&quot;profile&quot;</em>: &quot;Profile&quot;<br>  },<br>}</pre><p>That’s it! If you have followed all the steps along, you have successfully setup i8n for your Nuxt.js project and increase the number of people who use your app.</p><p>— — — —</p><h3>That’s the end of this blog! Thanks for reading! If you like it and found it useful, please hit 👏👏👏</h3><h3>❤️</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a44ed5cac192" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/add-internationalization-i18n-to-a-nuxt-js-app-a44ed5cac192">Add Internationalization (i18n) to a Nuxt.js App</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Current Company Work Culture]]></title>
            <link>https://medium.com/tech-made-simple/company-culture-3a291c8a26de?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a291c8a26de</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[company-culture]]></category>
            <category><![CDATA[culture]]></category>
            <category><![CDATA[workplace]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Mon, 12 Feb 2018 07:16:55 GMT</pubDate>
            <atom:updated>2019-07-28T14:19:16.691Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*CgYTqrpq7SdwdyLBgeoGiQ.jpeg" /></figure><p>A decade ago, in companies, your loyalty and work would be considered a lot during increments, promotions, etc. I still know companies that give a house to stay, a vehicle to travel to the office/company and many other perks and benefits. Employees would stick to companies during the ups and downs of the company and would have a sense of responsibility towards the company.</p><p>Nowadays in MNC’s/Startups, only your work is considered important. There are no usual morning greetings towards other colleagues, they only talk to colleagues if and when required, don’t know people’s name in other teams. I am not saying it’s wrong, but people are so much invested in their work and their life first, that the “human touch” or the feeling of one big family is lost towards other employees.</p><p>Long term or life-time employment as we know it today is completely, utterly, and unequivocally, 120% dead, and it ain’t coming back…ever.</p><p>Instead of being loyal to a particular company, many are now loyal to specific people they work with. When these people leave, they usually bring their “friends” with them.</p><p>Because of this many people work in a company for 10 to 12 months, leave the company and join the other company. Main preference is given to pay and self-growth rather than taking the company along and growing together. During increments or promotions, people who you might have not even talked to start becoming very friendly towards you hoping they would get a better deal when the increment d-day arrives.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*fXwah4DoqfN85sQiXkBZUQ.png" /></figure><p>Putting investors first means that employees come last, or close to it. So when leaders start talking about teamwork, collaboration, responsiveness, and adaptability… what does it mean?</p><p>At the end of the day, the person who is losing the most is the company and its growth. We should keep in mind that the company is nothing without its employees in it and if they are happy, the company is happy.</p><p>Once in awhile we should appreciate our fellow colleagues about their work and make them feel like we are a big work family. If this is lost employee satisfaction is lost, companies growth is lost, a feeling of restlessness happens among employees. Just like river branches out during heavy rain, employees start looking for other opportunities at other places and people start to follow it. So next time you see a co-worker, give him or her a big bright smile, a hug or just a simple handshake and make other people’s life happy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a291c8a26de" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/company-culture-3a291c8a26de">Current Company Work Culture</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Php Send Mail very slow]]></title>
            <link>https://medium.com/tech-made-simple/php-send-mail-very-slow-9b0a4ace6672?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b0a4ace6672</guid>
            <category><![CDATA[php-send-mail-slow]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[send-mail]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Fri, 07 Apr 2017 06:04:13 GMT</pubDate>
            <atom:updated>2018-05-16T07:20:01.643Z</atom:updated>
            <content:encoded><![CDATA[<h3>Php Send Mail</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*yGTTZ9jcCUycME3EdwuQLA.png" /><figcaption>— Php Send Mail —</figcaption></figure><p>After installing sendmail on ubuntu server 14.04 / 16.04 , I tried sending mail from my php script and it was painfully slow. I thought I had not configured my apache / nginx properly. Me being a noob at this, tried to delete the snapshot and reinstalled with ubuntu 14.04 (earlier one being ubuntu 16). Still the issue persisted. After a lot of googling I kind of figured a solution.</p><p>Initially determine the hostname of your server by typing</p><pre>hostname</pre><p>This will reveal your hostname.</p><p>Then go to /etc/hosts</p><pre>sudo vi /etc/hosts</pre><p>Modify the line with IP to read as</p><pre>127.0.0.1    localhost localhost.localdomain ashwin</pre><p>(where “ashwin” is my server’s hostname, you should add your server’s hostname — duh!)</p><p>Finally I ran</p><pre>sudo sendmailconfig</pre><p>Answer Y to all the questions asked to rebuild/reload sendmail configuration..</p><p>That’s it, Send Mail started working !</p><p>Hope this helps for people who struggled with installing a new server in Digital Ocean / AWS and trying to send mail!</p><h3>That’s the end of this blog! Thanks for reading! If you like it, please hit 👏👏👏</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b0a4ace6672" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/php-send-mail-very-slow-9b0a4ace6672">Php Send Mail very slow</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s Encrypt with Nginx]]></title>
            <link>https://medium.com/tech-made-simple/lets-encrypt-with-nginx-9367f1d4ee00?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/9367f1d4ee00</guid>
            <category><![CDATA[free-https]]></category>
            <category><![CDATA[lets-encrypt]]></category>
            <category><![CDATA[ssl-certificate]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[https]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Tue, 14 Mar 2017 09:11:55 GMT</pubDate>
            <atom:updated>2018-05-16T07:24:37.587Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*x-chizu2f3WRY83icuetHg.png" /><figcaption>— Let’s Encrypt with Nginx —</figcaption></figure><h3><strong>Introduction</strong></h3><p>Let’s see how to secure<strong> <em>Nginx</em></strong> with <strong><em>Let’s Encrypt</em></strong> on Ubuntu 14.04.</p><p>Let’s Encrypt is a new Certificate Authority (CA) that provides an easy way to obtain and install <strong>free</strong> TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers.</p><h3>Step 1 - Install Let’s Encrypt Client</h3><p>Install the certbot-auto software on your server.</p><pre>cd /usr/local/sbin<br>sudo wget https://dl.eff.org/certbot-auto</pre><p>Make it executable by typing:</p><pre>sudo chmod a+x /usr/local/sbin/certbot-auto</pre><p>Certbot client is now ready for use.</p><h3>Step 2 - Obtain Certificate</h3><p>We’ll see how to use the Webroot plugin to obtain an SSL certificate. The Webroot plugin works by placing a special file in the /.well-known directory within your document root, which can be opened (through your web server) by the Let&#39;s Encrypt client for validation. Depending on your configuration, you may need to explicitly allow access to the /.well-known directory.</p><p>To ensure that the directory is accessible to certbot-auto for validation, let&#39;s make a quick change to our Nginx configuration.</p><p>By default it’s located at /etc/nginx/sites-available/default</p><pre>sudo vi /etc/nginx/sites-available/default</pre><p>Inside the server block, add this location block:</p><pre>server {<br>        . . .<br><br>        location ~ /.well-known {<br>                allow all;<br>        }<br><br>        . . .<br>}</pre><p>Save and exit.</p><p>Check the configuration file for syntax errors:</p><pre>sudo nginx -t</pre><p>If all is well, restart Nginx with this command:</p><pre>sudo service nginx restart</pre><p>Now we can use the Webroot plugin to request an SSL certificate with these commands.</p><pre>sudo certbot-auto certonly -a webroot --webroot-path=/usr/share/nginx/html -d example.com -d www.example.com</pre><p>(replace <em>example.com</em> with <em>your domain name</em>, duh!)</p><p>If you are using certbot for the first time you will be prompted for some information.</p><p>Initial prompt would be to enter your email address,</p><p>Then you must agree to the Let’s Encrypt Subscribe Agreement.(Select Agree)</p><p>If everything was successful, you should see an output message that looks something like this:</p><pre>IMPORTANT NOTES:<br> - If you lose your account credentials, you can recover through<br>   e-mails sent to sammy@digitalocean.com<br> - Congratulations! Your certificate and chain have been saved at<br>   <strong>/etc/letsencrypt/live/example.com</strong>/fullchain.pem. Your<br>   cert will expire on <strong>2016-03-15</strong>. To obtain a new version of the<br>   certificate in the future, simply run Let&#39;s Encrypt again.<br> - Your account credentials have been saved in your Let&#39;s Encrypt<br>   configuration directory at /etc/letsencrypt. You should make a<br>   secure backup of this folder now. This configuration directory will<br>   also contain certificates and private keys obtained by Let&#39;s<br>   Encrypt so making regular backups of this folder is ideal.<br> - If like Let&#39;s Encrypt, please consider supporting our work by:</pre><pre>   Donating to ISRG / Let&#39;s Encrypt:   https://letsencrypt.org/donate<br>   Donating to EFF:                    <a href="https://eff.org/donate-le">https://eff.org/donate-le</a></pre><p><strong>Firewall Note</strong>: If you receive an error like Failed to connect to host for DVSNI challenge, your server&#39;s firewall may need to be configured to allow TCP traffic on port 80 and 443.</p><p><strong>Note:</strong> If your domain is routing through a DNS service like CloudFlare, you will need to temporarily disable it until you have obtained the certificate.</p><h3>Step 3 - Configure TLS/SSL on Web Server (Nginx)</h3><p>Now we need to configure Nginx web server to use the SSL Certificate.</p><pre>sudo nano /etc/nginx/sites-available/default</pre><p><strong>Comment</strong> out the below lines:</p><pre>listen 80 default_server;<br>listen [::]:80 default_server ipv6only=on;</pre><p>Now let’s configure this server block to listen on port 443 with SSL enabled instead.</p><pre>listen 443 ssl;</pre><pre>server_name <strong>example.com www.example.com</strong>;</pre><pre>ssl_certificate /etc/letsencrypt/live/<strong>example.com</strong>/fullchain.pem;<br>ssl_certificate_key /etc/letsencrypt/live/<strong>example.com</strong>/privkey.pem;</pre><p>(again, <em>example.com</em> with <em>your domain name</em>)</p><p>Lastly, outside of the original server block (that is listening on HTTPS, port 443), add this server block to redirect HTTP (port 80) to HTTPS. Be sure to replace example.com with your own domain name.</p><pre>server {<br>    listen 80;<br>    server_name <strong>example.com www.example.com</strong>;<br>    return 301 https://$host$request_uri;<br>}</pre><p>Save and exit.</p><p>Check the configuration file for syntax errors:</p><pre>sudo nginx -t</pre><p>If all is well, restart Nginx with this command:</p><pre>sudo service nginx restart</pre><p>The Let’s Encrypt TLS/SSL certificate is now in place. At this point, you should test that the TLS/SSL certificate works by visiting your domain via HTTPS in a web browser.</p><h3>Step 4 - Set Up Auto Renewal</h3><p>Let’s Encrypt certificates are valid for 90 days, but it’s recommended that you renew the certificates every 60 days to allow a margin of error.</p><p>To trigger the renewal process for all installed domains, run this command:</p><pre>certbot-auto renew</pre><p>It will only work if your certificate has expired else it would show — “No renewals were attempted”</p><p>A practical way to ensure your certificates won’t get outdated is to create a cron job that will periodically execute the automatic renewal command for you.</p><p>The renewal first checks for the expiration date and only executes the renewal if the certificate is less than 30 days away from expiration, hence it is safe to create a cron job that runs every week or even every day, for instance.</p><p>Let’s edit the crontab to create a new job that will run the renewal command every week. To edit the crontab for the root user, run:</p><pre>sudo crontab -e</pre><p>Add these lines:</p><pre>#crontab entry</pre><pre>30 2 * * 1 /usr/local/sbin/certbot-auto renew &gt;&gt; /var/log/le-renew.log<br>35 2 * * 1 /etc/init.d/nginx reload</pre><p>Save and exit.</p><p>This will create a new cron job that will execute the certbot-auto renew command every Monday at 2:30 am, and reload Nginx at 2:35am (so the renewed certificate will be used).</p><p>The output produced by the command will be piped to a log file located at /var/log/le-renewal.log.</p><p>That’s it! Your web server is now using a free Let’s Encrypt TLS/SSL certificate to securely serve HTTPS content.</p><p>Hope this helps for people who are new in using Digital Ocean / Amazon Servers and want to use free Let’s Encrypt TLS/SSL certificate.</p><p>—</p><h3>That’s the end of this blog! Thanks for reading! If you like it, please hit 👏👏👏</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9367f1d4ee00" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/lets-encrypt-with-nginx-9367f1d4ee00">Let’s Encrypt with Nginx</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Block ads on Spotify App]]></title>
            <link>https://medium.com/tech-made-simple/block-ads-on-spotify-app-ade992a05d56?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/ade992a05d56</guid>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[spotify-ads-block]]></category>
            <category><![CDATA[windows-spotify]]></category>
            <category><![CDATA[mac-spotify-app]]></category>
            <category><![CDATA[spotify-ads]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Mon, 09 Jan 2017 06:16:07 GMT</pubDate>
            <atom:updated>2018-05-16T07:23:35.387Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*pduC1jyv7_TPzIxDDJFa5w.png" /><figcaption>— Block Ads on Spotify App —</figcaption></figure><p>Everyone loves spotify, but are tired of it’s ads that keep coming between songs. Here is way to block ads through your host file be it Windows or Mac.</p><p><strong>Host Content:</strong></p><pre># — Spotify Ad Block<br>127.0.0.1 media-match.com<br>127.0.0.1 adclick.g.doublecklick.net<br>127.0.0.1 googleads.g.doubleclick.net<br>127.0.0.1 <a href="http://www.googleadservices.com/">http://www.googleadservices.com</a><br>127.0.0.1 pagead2.googlesyndication.com<br>127.0.0.1 desktop.spotify.com<br>127.0.0.1 pubads.g.doubleclick.net<br>127.0.0.1 audio2.spotify.com<br># — <br>127.0.0.1 crashdump.spotify.com<br>127.0.0.1 adeventtracker.spotify.com<br>127.0.0.1 log.spotify.com<br>127.0.0.1 analytics.spotify.com<br>127.0.0.1 ads-fa.spotify.com<br>127.0.0.1 audio-ec.spotify.com<br>127.0.0.1 heads-ec.spotify.com<br>127.0.0.1 prod.spotify.map.fastlylb.net<br>127.0.0.1 sto3.spotify.com<br>127.0.0.1 spclient.wg.spotify.com<br>127.0.0.1 upgrade.spotify.com<br># — Spotify Ads Block End</pre><p>Add the above contents in your host file.</p><p><strong>In Windows</strong></p><p>Go to <em>C:\Windows\System32\drivers\etc . Open the hosts file as administrator and add the above contents to it. (You could open notepad/Sublime/Atom as administrator and browse to open the hosts file.)</em></p><p>Note:<em> Incase the newly added mappings are not working try restarting Windows to take effect</em></p><p><strong>In Mac</strong></p><p>To find the hosts file, open Finder and, in Finder’s menu bar, select <strong>Go &gt; Go to Folder</strong>. In the box, type the following location and press Return.</p><pre>/private/etc/hosts</pre><p>To open it, simply double-click and it will display the file’s contents in TextEdit (or the text editor of your choice). Add the host content in it and save.</p><p>In most cases, the new mapping should work immediately, but if you’re not seeing the correct behavior, you may need to flush your DNS cache. For OS X Lion and OS X Mountain Lion, open Terminal and use the following command. Note that you’ll need to enter your admin password to execute it:</p><pre>sudo killall -HUP mDNSResponder</pre><p>For OS X Mavericks +, use this command instead:</p><pre>dscacheutil -flushcache; sudo killall -HUP mDNSResponder</pre><p>You could also launch <strong>Terminal</strong>, type the following command, and press Return. As with all <strong>sudo </strong>commands, you’ll need to also enter your admin password to execute it:</p><pre>sudo nano /private/etc/hosts</pre><p>When you’re done making changes, press <strong>Control-X</strong> to exit the editor, <strong>Y</strong> to save, and <strong>Return</strong> to overwrite the existing hosts file. As mentioned earlier, make sure to flush your DNS cache if you notice that your new mappings aren’t working properly.</p><p>Do let me know if it works or needs any change in the host file contents in the comment section below.</p><h3><strong>That’s the end of this blog! Thanks for reading! If you like it, please hit 👏👏👏</strong></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ade992a05d56" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/block-ads-on-spotify-app-ade992a05d56">Block ads on Spotify App</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Custom Upload Button]]></title>
            <link>https://medium.com/tech-made-simple/the-custom-upload-button-8258b035dc23?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/8258b035dc23</guid>
            <category><![CDATA[upload-button]]></category>
            <category><![CDATA[bootstrap-upload-button]]></category>
            <category><![CDATA[custom-upload-button]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Tue, 20 Dec 2016 09:50:57 GMT</pubDate>
            <atom:updated>2017-01-02T14:05:48.466Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*aYj_Wyj0S-GPpUGfNX9Aqg.png" /><figcaption><a href="http://codepen.io/ashwinshenoy/pen/BjvyYJ">— Custom Upload Button —</a></figcaption></figure><p>The Custom button every one wants. Replace the boring upload button of all the browsers with this beautiful upload button. It has prebuilt uploaded files verification which is customizable to your needs. I have used <strong>Bootstrap</strong> framework, you can customize it according to your framework!</p><p>Link to <a href="http://codepen.io/ashwinshenoy/pen/BjvyYJ"><strong>Codepen</strong></a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fashwinshenoy%2Fembed%2Fpreview%2FBjvyYJ%3Fheight%3D600%26amp%3Bslug-hash%3DBjvyYJ%26amp%3Bdefault-tabs%3Djs%2Cresult%26amp%3Bhost%3Dhttp%253A%252F%252Fcodepen.io%26amp%3Bembed-version%3D2&amp;url=https%3A%2F%2Fcodepen.io%2Fashwinshenoy%2Fpen%2FBjvyYJ&amp;image=https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fi.cdpn.io%2F497212.BjvyYJ.small.506cce04-d087-44b1-b546-d437cdea8282.png&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/7dac8065465b826cdbb09c77bba3b009/href">https://medium.com/media/7dac8065465b826cdbb09c77bba3b009/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8258b035dc23" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/the-custom-upload-button-8258b035dc23">The Custom Upload Button</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 New Features of HTML 5.1]]></title>
            <link>https://medium.com/tech-made-simple/10-new-features-of-html-5-1-f84485f15163?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/f84485f15163</guid>
            <category><![CDATA[html-five-point-one]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[html51]]></category>
            <category><![CDATA[html5]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Tue, 20 Dec 2016 09:36:12 GMT</pubDate>
            <atom:updated>2018-05-16T07:25:08.871Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*9K_fHVWuc43CBb7VwQsEvw.png" /><figcaption>HTML 5.1</figcaption></figure><p>The HTML specification got a <strong>major overhaul</strong> a couple of weeks ago when W3C published its new <a href="https://www.w3.org/TR/html/">HTML 5.1 recommendation</a> in November 2016. In its recent blog post, W3C called the new major release the <strong>gold standard</strong>, as HTML 5.1 provide us with new ways of how we can use HTML to create more flexible web experiences.</p><p><strong><em>Note: </em></strong>that currently not all browsers support all of these features, so don’t forget to check browser support before you use them in production.</p><h4>1. Define multiple image resources for responsive design</h4><p>Code:</p><pre>&lt;<strong>picture</strong>&gt;<br>  &lt;<strong>source</strong> srcset=&quot;mobile.jpg, mobile-hd.jpg 2x&quot; media=&quot;(max-width: 360px)&quot;&gt;<br>  &lt;<strong>source</strong> srcset=&quot;large.jpg, large-hd.jpg 2x&quot; media=&quot;(min-width: 1920px)&quot;&gt;<br>  &lt;<strong>img</strong> src=&quot;default.jpg&quot; srcset=&quot;default-hd.jpg 2x&quot; alt=&quot;your image&quot;&gt;<br>&lt;/<strong>picture</strong>&gt;</pre><p>In HTML 5.1, you can use <a href="https://www.w3.org/TR/html/semantics-embedded-content.html#elementdef-picture">&lt;picture&gt;</a> tag together with the srcset attribute to make <strong>responsive image selection</strong> possible. The &lt;picture&gt; tag represents an image container that allows developers to declare different image resources in order to adapt to the UA’s viewport size, screen pixel density, screen type, and other parameters used in responsive design.</p><h4>2. Show or hide extra information</h4><p>Code:</p><pre>&lt;<strong>section</strong>&gt;<br>  &lt;<strong>h2</strong>&gt;Error Message&lt;/<strong>h2</strong>&gt;<br>  &lt;<strong>details</strong>&gt;<br>    &lt;<strong>summary</strong>&gt;We couldn&#39;t finish downloading this video.&lt;/<strong>summary</strong>&gt;<br>    &lt;<strong>dl</strong>&gt;<br>      &lt;<strong>dt</strong>&gt;File name:&lt;/<strong>dt</strong>&gt;&lt;<strong>dd</strong>&gt;yourfile.mp4&lt;/<strong>dd</strong>&gt;<br>      &lt;<strong>dt</strong>&gt;File size:&lt;/<strong>dt</strong>&gt;&lt;<strong>dd</strong>&gt;100 MB&lt;/<strong>dd</strong>&gt;<br>      &lt;<strong>dt</strong>&gt;Duration:&lt;/<strong>dt</strong>&gt;&lt;<strong>dd</strong>&gt;00:05:27&lt;/<strong>dd</strong>&gt;<br>    &lt;/<strong>dl</strong>&gt;<br>  &lt;/<strong>details</strong>&gt;<br>&lt;/<strong>section</strong>&gt;</pre><p>With the &lt;details&gt; and &lt;summary&gt; tags, you can add <strong>extended information </strong>to a content piece. The extra information isn’t shown by default, but if users are interested, they have the option to take a look. In your code, you are supposed to place the &lt;summary&gt; tag inside &lt;details&gt;. After the &lt;summary&gt; tag you can add the extra information you want to hide.</p><h4>3. Add functionality to the browser’s context menu</h4><pre>&lt;<strong>button</strong> contextmenu=&quot;rightclickmenu&quot;&gt;Right click me&lt;/<strong>button</strong>&gt;<br>  &lt;<strong>menu</strong> type=&quot;context&quot; id=&quot;rightclickmenu&quot;&gt;<br>  &lt;<strong>menuitem</strong> type=&quot;checkbox&quot; label=&quot;I ♥ HTML5.1.&quot;&gt;<br>&lt;/<strong>menu</strong>&gt;</pre><p>With the &lt;menuitem&gt; element and its type=&quot;context&quot; attribute, you can add custom functionality to the context menu of the browser. You need to assign &lt;menuitem&gt; as the child element of the &lt;menu&gt; tag. The id of the &lt;menu&gt; element needs to carry the same value as the contextmenu attribute of the element to which we want to add the context menu to (which is the &lt;button&gt; element in the example above).</p><p><strong>NOTE:</strong></p><p>However the <strong>browser support</strong> for this feature is not very good yet. Chrome 54 doesn’t support it, and Firefox 50 only allows the presence of one extra context menu.</p><h4>4. Nest headers and footers</h4><p>Code:</p><pre>&lt;<strong>article</strong>&gt;<br>  &lt;<strong>header</strong>&gt;<br>    &lt;<strong>h1</strong>&gt;Article Title&lt;/<strong>h1</strong>&gt;<br>    &lt;<strong>aside</strong>&gt;<br>      &lt;<strong>header</strong>&gt;<br>        &lt;<strong>h2</strong>&gt;About the author&lt;/<strong>h2</strong>&gt;<br>        &lt;<strong>p</strong>&gt;&lt;<strong>a</strong> href=&quot;#&quot;&gt;Email&lt;/<strong>a</strong>&gt;&lt;<strong>a</strong> href=&quot;#&quot;&gt;Twitter&lt;/<strong>a</strong>&gt;&lt;/<strong>p</strong>&gt;<br>      &lt;/<strong>header</strong>&gt;<br>      &lt;<strong>img</strong> src=&quot;photo.jpg&quot; alt=&quot;Author photo&quot;&gt;<br>      &lt;<strong>p</strong>&gt;Author bio ... &lt;/<strong>p</strong>&gt;<br>    &lt;/<strong>aside</strong>&gt;<br>  &lt;/<strong>header</strong>&gt;<br>  &lt;<strong>p</strong>&gt;Article intro&lt;/<strong>p</strong>&gt;<br>  &lt;<strong>p</strong>&gt;Other paragraphs ...&lt;/<strong>p</strong>&gt;<br>&lt;/<strong>article</strong>&gt;</pre><p>HTML 5.1 allows you to nest headers and footers if each level is contained within sectioning content.</p><p>This feature can be useful if you want to add elaborated headers to semantic sectioning elements, such as &lt;article&gt; and &lt;section&gt;. The code example below creates a sidebar inside the header, the &lt;aside&gt; tag is also a sectioning element, and adds extra information about the author inside it. The sidebar inside the header has its own header as well, with a subtitle and the author’s contact info.</p><h4>5. Use cryptographic nonces for styles &amp; scripts</h4><p>Code:</p><pre>&lt;<strong>script</strong> nonce=&#39;adfjaf8eda64U7&#39;&gt;<br>  // some JavaScript<br>&lt;/<strong>script</strong>&gt;</pre><p>With HTML 5.1, you can <strong>add cryptographic nonces to styles and scripts</strong>. You can use the nonce attribute <strong>within the </strong><strong>&lt;script&gt; and the </strong><strong>&lt;style&gt; elements</strong>. A cryptographic nonce is a randomly generated number that can be <strong>used only once</strong>, and <strong>has to be regenerated</strong> for every page request. A nonce can be used by the <a href="http://www.cspplayground.com/home"><strong>Content Security Policy</strong></a> of a website to decide if the certain script or style should be applied on the page. In <a href="https://developers.google.com/web/fundamentals/security/csp/">Google Developers’ Web Fundamentals</a> you can read more on the proper usage of nonces and CSP.</p><h4>6. Create reverse link relationships</h4><p>Code:</p><pre>&lt;!-- Current document is the parent of the linked category.html document --&gt;<br>&lt;<strong>link</strong> rev=&quot;parent&quot; href=&quot;category.html&quot;&gt;</pre><p>You can add the rev attribute to your links again. It was previously defined in HTML 4, however it wasn’t supported by HTML5. HTML 5.1 allows developers to use this attribute again for the &lt;link&gt; and &lt;a&gt; elements. The rev attribute is the opposite of rel, it specifies the relationship of the current and the linked document in the reverse direction (how the current document is related to the linked one).</p><p>The rev attribute has been included in the HTML 5.1 specs primarily to <strong>support RDFa</strong> which is a widely-used structured data markup format, and extends the HTML language.</p><h4>7. Use zero-width images</h4><p>Code:</p><pre>&lt;<strong>img</strong> src=&quot;yourimage.jpg&quot; width=&quot;0&quot; height=&quot;0&quot; alt=&quot;&quot;&gt;</pre><p>HTML 5.1 makes it possible to <a href="https://www.w3.org/TR/html/semantics-embedded-content.html#an-image-not-intended-for-the-user"><strong>create zero-width images</strong></a> by permitting developers to use the <strong>width attribute with </strong><strong>0 as value</strong>. This feature can be useful if you want to include images that you <strong>don’t want to show to users</strong>, such as tracking image files. Zero-width images are recommended to be <strong>used together with empty </strong><strong>alt attributes</strong>.</p><h4>8. Separate browser contexts to prevent phishing attacks</h4><p>Code:</p><pre>&lt;<strong>a</strong> href=&quot;#&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;<br>  Your link that won&#39;t make troubles<br>&lt;/<strong>a</strong>&gt;</pre><p>Using same origin links on your website can eventually get you into some trouble. The vulnerability is called the <a href="https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/"><strong>target=”_blank” exploit</strong></a>, and it’s a nasty phishing attack. You can (safely) test <strong>how this attack works</strong> <a href="https://mathiasbynens.github.io/rel-noopener/">on this clever Github demo page</a>, and its background code you can find <a href="https://github.com/mathiasbynens/rel-noopener">here on Github</a>.</p><p>HTML 5.1 has standardized the usage of the <a href="https://www.w3.org/TR/html51/links.html#element-attrdef-a-rel"><strong>rel=&quot;noopener&quot;</strong></a> attribute which <strong>separates browser contexts</strong> therefore eliminates this issue. You can use rel=&quot;noopener&quot; within the &lt;a&gt; and &lt;area&gt; elements.</p><h4>9. Create an empty option</h4><p>HTML 5.1 allows developers to <strong>create an empty </strong><a href="https://www.w3.org/TR/html/sec-forms.html#elementdef-option"><strong>&lt;option&gt;</strong></a><strong> element</strong>. The &lt;option&gt; tag can be the child element of the &lt;select&gt;, &lt;optgroup&gt;, or &lt;datalist&gt;elements. The possibility of <strong>having an empty </strong><strong>&lt;option&gt;</strong> can be useful if you don’t want to suggest which option users should select, and which can be useful when you want to design user-friendly forms.</p><h4>10. Handle figure captions more flexibly</h4><p>The <a href="https://www.w3.org/TR/html/grouping-content.html#elementdef-figcaption">&lt;figcaption&gt;</a> tag represents a <strong>caption or a legend</strong> belonging to the <a href="https://www.w3.org/TR/html/grouping-content.html#elementdef-figure">&lt;figure&gt;</a> element which is a container for visuals, such as illustrations, photos, and diagrams. Previously, the &lt;figcaption&gt; tag could be used only <strong>as the first or last child of the </strong><strong>&lt;figure&gt; element</strong>. HTML 5.1 <strong>has loosened this rule</strong>, and now &lt;figcaption&gt; <strong>can appear anywhere</strong> within its &lt;figure&gt; container.</p><h3>That’s the end of this blog! Thanks for reading! If you like it, please hit 👏👏👏</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f84485f15163" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/10-new-features-of-html-5-1-f84485f15163">10 New Features of HTML 5.1</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10 Brain-Cracking Movies you should watch]]></title>
            <link>https://medium.com/tech-made-simple/10-brain-cracking-movies-you-should-watch-590670c1281a?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/590670c1281a</guid>
            <category><![CDATA[film]]></category>
            <category><![CDATA[brain-cracking]]></category>
            <category><![CDATA[movies]]></category>
            <category><![CDATA[scifi]]></category>
            <category><![CDATA[10-movies]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Mon, 13 Jun 2016 04:55:23 GMT</pubDate>
            <atom:updated>2019-10-23T11:06:40.525Z</atom:updated>
            <content:encoded><![CDATA[<p>These movies will test your mental capacity</p><h4>Moon (2009)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wcjrq6UZlzafjGzMxcp66g.png" /><figcaption>Moon (2009)</figcaption></figure><p>‘Moon’ is a story of an astronaut spending his last few days on the moon — before returning to earth — when something goes awry. It may have a simple premise but it is a movie with philosophical undertones that slowly and mysteriously builds to a great climax leaving you plenty to ponder upon.</p><h4>Predestination (2014)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sZk5uCxfnwICzXdZB1OQZw.jpeg" /><figcaption>Predestination (2014)</figcaption></figure><p>The most recently released film on this list, ‘Predestination’ has slowly started to gain a cult following. When you watch this smartly conceived film with a smoothly interwoven time-travel plot, you realize why. It’s impossible to not watch the film a second time just to confirm that you understood everything correctly.</p><h4>Interstellar (2014)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTz9xmPfkOrsJT2XoWLpIQ.jpeg" /><figcaption>Interstellar (2014)</figcaption></figure><p>There are flaws in this film. But what is also true about ‘Interstellar’ is that it is a highly ambitious film that explores the complex and many yet to be practically proven scientific theories, from black holes to time-travel to four-dimensional space the film is a treat for every science nerd.</p><h4>Eternal Sunshine of the Spotless Mind (2003)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*7U3Szy84gu2bfev4AtRN4g.jpeg" /><figcaption>Eternal Sunshine of the Spotless Mind (2003)</figcaption></figure><p>Eternal Sunshine is as much a science-fiction film as it is a heart-breaking romantic drama. The concept — of memory-erasing — that the film is based on is so mind-boggling that most of the first-time viewers find themselves in a maze of complex theories. A difficult to follow plot also doesn’t help the matters. The true beauty of the film is only revealed to those who have fully understood it.</p><h4>The Matrix (1999)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OTQ7fh1eWJXpPehda8GdHQ.jpeg" /><figcaption>The Matrix (1999)</figcaption></figure><p>Many think ‘ The Matrix’ to be an action film full of cool stunts. But look a little deeper and you find an amazingly complex and well-thought-out plot that may require several viewing before you get a hang of everything that’s happening in the film. Action apart, it is also one of the best science-fiction films ever made.</p><h4>Inception (2010)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t5Q1d9fdhXYn38IrNyWHIA.jpeg" /><figcaption>Inception (2010)</figcaption></figure><p>When you have countless forums, articles, blog-posts, think-pieces being written about a spinning (or falling) top, it is enough evidence of the popularity and influence of ‘Inception’ in pop-culture. And I have no doubt in my mind that it will remain fodder for discussion and arguments for years to come. But the greatest service that ‘Inception’ did to science-fiction movies is that it made them cool again.</p><h4>The Dark Knight Trilogy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y5YxgXWWx0qbbJPWXGUUzA.jpeg" /><figcaption>Batman Series</figcaption></figure><p>Having Said trilogy, I mean Batman begins, The Dark knight and The Dark Knight Rises. Nolan’s Adaptation of Batman’s Character was far more grounded and felt real compared to any other series of Batman. And of course, there was THE JOKER played by Late Heath Ledger.</p><h4>The Prestige (2006)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*g7KX_2ckMmtk1NP3Ui4B5w.jpeg" /><figcaption>The Prestige (2006)</figcaption></figure><p>Two friends and fellow magicians become bitter enemies after a sudden tragedy. As they devote themselves to this rivalry, they make sacrifices that bring them fame but with terrible consequences.</p><h4>Transcendence (2014)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*V7bqMltJf_1OwNIeZGn7fg.jpeg" /><figcaption>Transcendence (2014)</figcaption></figure><p>Dr. Will Caster seeks to be at the top of his game when it comes to artificial intelligence. However, his thirst to perfect it backfires. This movie has got its flaws but keeping aside the flaws, a beautiful story.</p><h4>Gravity (2013)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TMVAmMFhDd0sXWeX2nVpGg.jpeg" /><figcaption>“Gravity” (2013)</figcaption></figure><p>An engineer on her first time on a space mission and an astronaut on his final expedition have to survive in space after they are hit by debris while spacewalking.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=590670c1281a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/10-brain-cracking-movies-you-should-watch-590670c1281a">10 Brain-Cracking Movies you should watch</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connect / Add Multiple Domains to same Server]]></title>
            <link>https://medium.com/tech-made-simple/connect-add-multiple-domains-to-same-server-cb43f93cc5cf?source=rss-2e4f5adcfd00------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb43f93cc5cf</guid>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[custom-domain]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[domains]]></category>
            <dc:creator><![CDATA[Ashwin K Shenoy]]></dc:creator>
            <pubDate>Mon, 13 Jun 2016 04:17:15 GMT</pubDate>
            <atom:updated>2016-12-21T04:57:46.048Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Y90fg4sLp6-rL-bOCg7FGw.png" /><figcaption>— Digital Ocean — / — Amazon Web Service —</figcaption></figure><p>If you have a Digital Ocean / Amazon Server and wondered how to host multiple websites with its unique domain names in one server, well here are the steps to do it.</p><blockquote><em>Note: These steps are for Html/Php Websites.</em></blockquote><h3>Steps</h3><h4>Create a folder in ‘/var/www’</h4><pre>sudo mkdir -p /var/www/example.com/public_html</pre><h4>Grant Permissions</h4><pre>sudo chown -R $USER:$USER /var/www/example.com/public_html <br>sudo chmod -R 755 /var/www</pre><h4>Create New Virtual Host Files</h4><p>Copy 000-default.conf content to a new file with domain name</p><pre><br>sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/example.com.conf</pre><h4>Open the newly created file</h4><pre>sudo vi /etc/apache2/sites-available/example.com.conf</pre><p>and paste the below code and modify the domain</p><pre>&lt;VirtualHost *:80&gt;<br>  ServerAdmin admin@xides.in<br>  ServerName example.com<br>  ServerAlias www.example.com<br>  DocumentRoot /var/www/example.com/public_html<br>  &lt;Directory /&gt;<br>    Options FollowSymLinks<br>    AllowOverride All<br>    Require all granted<br>  &lt;/Directory&gt;<br>&lt;/VirtualHost&gt;</pre><h4>Enable the New Virtual Host Files</h4><pre>sudo a2ensite example.com.conf</pre><h4>Restart Server</h4><pre>sudo service apache2 restart</pre><blockquote>Note:</blockquote><blockquote>1) The above mentioned method can also be used to create sub-domains.</blockquote><blockquote>2) Replace example.com with your domain name</blockquote><p>Hope this helps for people who are new in using Digital Ocean / Amazon Servers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb43f93cc5cf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-made-simple/connect-add-multiple-domains-to-same-server-cb43f93cc5cf">Connect / Add Multiple Domains to same Server</a> was originally published in <a href="https://medium.com/tech-made-simple">Tech made Simple</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>