<?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 Aakaash Jois on Medium]]></title>
        <description><![CDATA[Stories by Aakaash Jois on Medium]]></description>
        <link>https://medium.com/@aakaashjois?source=rss-d4686559576e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0fEMV55IHUya0HdUW8QSXg.png</url>
            <title>Stories by Aakaash Jois on Medium</title>
            <link>https://medium.com/@aakaashjois?source=rss-d4686559576e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 16:27:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aakaashjois/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[Docker Setup for Windows 10 Home]]></title>
            <link>https://aakaashjois.medium.com/docker-setup-for-windows-10-home-d5274316be7b?source=rss-d4686559576e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5274316be7b</guid>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Aakaash Jois]]></dc:creator>
            <pubDate>Fri, 15 Feb 2019 16:36:29 GMT</pubDate>
            <atom:updated>2019-02-15T16:36:29.890Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0Fa73k52-m4r1XCf" /><figcaption>Photo by <a href="https://unsplash.com/@chuttersnap?utm_source=medium&amp;utm_medium=referral">chuttersnap</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><a href="https://www.docker.com/">Docker</a> has become one of the industry standards for containerization. I recently started working with Docker when I started to work with Big Data. Installing and configuring software like <a href="https://hadoop.apache.org/">Hadoop</a> and <a href="https://spark.apache.org/">Spark</a> on a Windows machine is painful. Docker makes this task very simple and makes it very easy to get the environment setup.</p><p>Generally, setting up Docker straightforward when you have an OS like Ubuntu, MacOS or Windows 10 Pro. But it is a little tricky with Windows 10 Home. In this small guide, I will show the steps I used to set up my Docker environment.</p><p>For Windows 10 Home, the default Docker setup file does not work. You need to download the <a href="https://docs.docker.com/toolbox/toolbox_install_windows/">Docker Toolbox</a>. Once Docker Toolbox is downloaded, just run the setup file and install with all the default settings.</p><p>Docker Toolbox installs <a href="https://www.virtualbox.org/">VirtualBox</a> to create a small Linux based virtual machine (VM)which it uses as the base operating system. Run <strong><em>Docker Quickstart Terminal</em></strong> to make sure the installation has run successfully. On the first run, Docker will automatically create the VM mentioned above. You should be greeted with an interactive shell once the setup is complete.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*t-pB1q83mDKfUamzzsnaYg.png" /><figcaption>Docker Interactive Shell</figcaption></figure><p>You can close this window now by typing exit. Next is to configure the VM which was created. To do this, open up <strong>VirtualBox</strong>.You should see something like the screenshot below. It will have a VM called <em>default</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/1*QFYNJsX_---fkDWCe79ysA.png" /><figcaption>Virtualbox Manager</figcaption></figure><p>Power Off the VM by selecting it and pressing Ctrl + F. Once it is Powered off, select the <em>Settings</em> button. Here select <em>Shared Folders</em>. We need to add a folder here which the VM can access so that any file which is moved into that folder in Windows can be accessed by the VM.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*506vFkn4hKqw5Z8JAdNQXg.png" /><figcaption>Adding a shared folder</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/291/1*MYE5A4pC2da0_j8I5FMq0A.png" /></figure><p>Select the correct path of the folder here and give it an appropriate name. The Folder Name is where the folder is going to be mounted in the VM. Also, make sure to select <em>Auto-mount</em> so that this folder is mounted every time the VM is started up. Once this is done, just select <em>OK</em> in all the open windows and close VirtualBox Manager.</p><p>Now run <strong><em>Docker QuickStart Terminal</em></strong> again. This will restart the VM and the changes made will be applied. Let us now create the <strong><em>quickstart</em></strong> container by Cloudera. You can do this with the following code</p><pre>docker run --hostname=quickstart.cloudera --privileged=true -t -i -d -p 8888:8888 -p 8080:8080 -v /home/bigdata:/home/bigdata cloudera/quickstart /usr/bin/docker-quickstart</pre><p>This long command will pull the <strong><em>quickstart</em></strong> image and create the container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/1*HYhl31ZeOm0EjJGixX0sAw.png" /><figcaption>Creating the Docker container</figcaption></figure><p>Once it is done, you can run docker ps to check if the container is running. It should display the <strong><em>Container ID</em></strong>. Then run the command</p><pre>docker exec -it [Container ID] bash</pre><p>This will give you access to the shell inside the container. Here you should be able to find the folder which you provided when creating the container. In my case, it is /home/bigdata . Now, when you move any file into the folder in Windows, it shows the same file in the docker container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mzd8XIIgu7xUZGS--AFyLw.png" /></figure><p>Now, this folder can be used as the interface to send inputs to the docker container and get outputs from the docker container.</p><p>Another thing which is slightly different for Windows 10 Home is the port forwarding procedure. When creating the docker container, we mapped the ports 8888 and 8080 from the docker container to the localhost. But, since Docker uses a VM as the base OS, the port 8888 and 8080 of the docker container is being mapped to the port 8888 and 8080 on the VM. To access these ports, you need to port forward these ports in VirtualBox.</p><p>Open <strong>VirtualBox </strong>again select <strong><em>Settings</em></strong>. In this window select <strong><em>Network</em></strong> and then select <strong><em>Adapter 1</em></strong>. Here click on the <strong><em>Advanced</em></strong> option to show <strong><em>Port Forwarding</em></strong> button. Select <strong><em>Port Forwarding</em></strong> and it will open up a new window to add the ports.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*9SJWCYz2w1nm_LLHIkyrTw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*irzh2D8EqHNb5yHE6VDnXQ.png" /></figure><p>Here you can add the port which can be forwarded. Now you can go to localhost:8888 in your browser to access these ports from Docker.</p><p>These are some of the configurations which I made when working with Docker on Windows 10 Home. If you have any more tips, just let me know in the comments.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5274316be7b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to hack your Mac and give it the gorgeous wallpapers it truly deserves]]></title>
            <link>https://medium.com/macoclock/this-is-the-wallpaper-your-mac-truly-deserves-with-a-bit-of-coding-f3149bbeb51?source=rss-d4686559576e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3149bbeb51</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[photography]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Aakaash Jois]]></dc:creator>
            <pubDate>Sat, 11 Mar 2017 23:33:33 GMT</pubDate>
            <atom:updated>2019-12-03T20:59:48.390Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kEVDB5B2KX5_O69b0ccLPQ.jpeg" /></figure><p>Let’s face it. The default wallpapers on the Mac gets boring after a few weeks. And setting new wallpaper manually is tiresome. Well, what if I told you that I got my Mac greet me with a brand new, high resolution wallpaper every time I flip it open?</p><p>If you’re a Chromecast user, you may be familiar with <a href="https://www.google.com/chromecast/backdrop/">Chromecast Backdrop</a>. Backdrop allows the Chromecast to display a slideshow of beautiful photos when it’s idle.</p><p>While most users default to Facebook to post photos, a lot of photographers use Google+ to publish their work. Google selects some of these best photos to create brilliant slideshows.</p><p>For a long time, this was exclusive to ChromeCast user. But a few months ago, Google released a nifty app for Mac called <a href="https://plus.google.com/featuredphotos">Google Featured Photos</a>.</p><p>You may be wondering why my title says “wallpaper” but then links to a “Screen Saver” app. Well, there’s the little trick. On a Mac, any screen saver can be made to run as a wallpaper with just one line of code.</p><p>First, you have to download and install the <a href="https://plus.google.com/featuredphotos">Google Featured Photos Screen Saver</a>. Next, go to <em>System Preferences</em> → <em>Desktop &amp; Screen Saver</em> and set the <em>Google Featured Photos</em> as the active screen saver. Now it’s time to run the magic code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Bz-upRO4JaSH8UmY2SlwLQ.gif" /><figcaption>Set Google Featured Photos as Screen Saver</figcaption></figure><h4>Coding Time!</h4><p>Fire up Terminal and paste the below line of code. It will set your screen saver as your wallpaper.</p><pre>/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &amp;</pre><h4>EDIT: Apple decided to restructure a bit in High Sierra.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*u7C-L5P7WNgsiJ5oy3ns9w.jpeg" /></figure><p>If you are using High Sierra (or later), the ScreenSaverEngine.app has been moved to a different location. Use the code below instead of the one above.</p><pre>/System/Library/CoreServices/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &amp;</pre><p>Just replace all occurrences of Frameworks/ScreenSaver.framework/Resources with CoreServices and you will be good to go!</p><p>Cool, right?</p><p>The problem with running just that line of code is that if you close the Terminal window — or if your Mac goes to sleep — the screen saver closes and your wallpaper goes back to whatever it was by default. To handle this, we need to go a bit deeper.</p><p>To detect when the Mac sleeps and wakes up, we need a small piece of software called “Sleepwatcher.” You can download it <a href="http://www.bernhard-baehr.de/sleepwatcher_2.2.tgz">here</a>. Just open the file and your Mac will extract the downloaded file (sometimes it might have to be extracted twice). After extracting, you’ll get a “sleepwatcher_2.2” folder. Just move this folder to Desktop and run the following lines of code in the Terminal.</p><pre>sudo mkdir -p /usr/local/sbin /usr/local/share/man/man8</pre><p>You might need to enter your password after pasting this line. Next, run:</p><pre>sudo cp ~/Desktop/sleepwatcher_2.2/sleepwatcher /usr/local/sbin</pre><p>Then run:</p><pre>sudo cp ~/Desktop/sleepwatcher_2.2/sleepwatcher.8 /usr/local/share/man/man8</pre><p>Awesome! You have successfully installed Sleepwatcher.</p><p>Now let’s add the lines of code needed to make Sleepwatcher run the screen saver when your Mac wakes up, and kill the screen saver when your Mac goes to sleep.</p><p>Sleepwatcher searches for and runs two files, .sleep when the Mac sleeps, and .wakeup when the Mac wakes up. We just need to create these 2 files in the user’s Home Directory.</p><p>In the Terminal, type nano ~/.wakeup then paste the below code.</p><pre>#!/bin/bash<br>osascript -e &#39;do shell script &quot;/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background &amp; EOF&quot;&#39;</pre><p>Now press <strong>Control + X </strong>to exit. When it asks if you want to save the file, press <strong>Y </strong>and then press the enter key to confirm the file name. This will create the .wakeup file. Now to create the .sleep file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WKxppfR1wydn1k1PkOugXw.jpeg" /><figcaption>The .wakeup file</figcaption></figure><p>Just like above, type nano ~/.sleep and paste the below code.</p><pre>#!/bin/bash</pre><pre>osascript -e &#39;do shell script &quot;kill `ps -ax | grep [S]creenSaver | cut -c1-6` EOF&quot;&#39;</pre><p>Again, press <strong>Control + X </strong>to exit, <strong>Y</strong> to save, and then the enter key to confirm the file name. Now the .sleep file will be created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LASt6QgG0xOoGyt6s7AQ-w.jpeg" /><figcaption>The .sleep file</figcaption></figure><p>In Terminal, run the below line of code.</p><pre>chmod 700 ~/.sleep ~/.wakeup</pre><p>It changes the permissions for the newly created files so that it can be run by Sleepwatcher.</p><p>Now that you’ve created the scripts, you just need to add Sleepwatcher to launchd so that it can start when the system starts, then continue to run in the background. Paste the following code code into your Terminal.</p><pre>cp ~/Desktop/sleepwatcher_2.2/config/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist ~/Library/LaunchAgents</pre><p>This will copy the Sleepwatcher property list file so that it can be added to launchd. Now just paste the code below into Terminal to add Sleepwatcher to launchd.</p><pre>launchctl load ~/Library/LaunchAgents/de.bernhard-baehr.sleepwatcher-20compatibility-localuser.plist</pre><p>Awesome! You can now restart your Mac and the launchd will run the Sleepwatcher scripts at the startup. Just put your Mac to sleep and wake it up. Then you’ll be welcomed with a beautiful wallpaper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rdcsHGsJW9KRhea9lAYKEA.jpeg" /><figcaption>Example of the newly installed Wallpaper</figcaption></figure><p>If you want to uninstall everything and go back to default, follow the link below.</p><p><a href="https://medium.com/@aakaashjois/to-uninstall-run-the-following-lines-in-terminal-one-by-one-299916c8ff3b">To uninstall, run the following lines in Terminal one by one.</a></p><p>I hope you enjoyed this short tutorial, and enjoy these beautiful wallpaper photos. If you liked this, hit the ❤️ and stay tuned for more.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3149bbeb51" width="1" height="1" alt=""><hr><p><a href="https://medium.com/macoclock/this-is-the-wallpaper-your-mac-truly-deserves-with-a-bit-of-coding-f3149bbeb51">How to hack your Mac and give it the gorgeous wallpapers it truly deserves</a> was originally published in <a href="https://medium.com/macoclock">Mac O’Clock</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>