Notes: Fix "Drive sharing seems blocked by a firewall" with Docker

The below content is copied from another source, and kept here in case original source is lost. Open up Kaspersky and select Settings (bottom left) and then select Protection from the side menu and select Firewall. Open Configure packet rules. Select Local Services (TCP) and Edit. Finally, remove the port number from your Local ports (in my case 445) and save. You should now be able to share your drive without disabling Kaspersky firewall or applying any other temporary “fixes“. ...

May 1, 2019 · Neeraj Verma

Blast from the past

Since past few days I have been reading a book “The Course of Love”. There are many quotes which I liked from the book, but there’s one which made me think: We all constantly interpret the present through the distortion of the past. Which means our unconscious draws a connection between minor things that are out of place in present and major things that were once out of place in the past. ...

April 23, 2019 · Neeraj Verma

Settling down?

When a person decides to get married, they say, they want to settle down. Why? Settling down has such a negative tone. Why attach it to such an important decision of your life. Why settle down, when you can elevate yourself. I don’t want to settle down ever in my life. My idea of marriage is not settling down, it’s much more than that. Getting married is a very big event of our life, and it should be a positive one. Our partner should be the one elevating us. They should be the one helping us become a better person in life, or helping us get a better career for ourselves, or just help us be a better version of ourself. ...

April 9, 2019 · Neeraj Verma

Open Sourcing my ideas

Since last few years I have been maintaining a Trello board of all the ideas I get to work. While none of them will make a successful startup, but they can definelity be an interesting side-project. These ideas vary from creating a browser extension, to a webapp or a mobile app. Today I am making that board public. You can view them, comment on them, suggest features, or even take it & implement it yourselves. Who knows one of you might push me to actually start implementing these ideas ;) ...

March 29, 2019 · Neeraj Verma

Going back to nodejs

I have been working on a side project since couple of weeks, and the 1st choice I had to make, was to decide what language to use. The project was going to be command line application, so any language would have sufficed. Among the languages that I am comfortable with, I chose C# with .net core. Reasons for my choice were: I wanted to write C# for a change. After working with C# for 5yrs l, I had been working with nodejs for more than a year now professionally. I wanted to give .net core a try so I chose C#. I wanted to see how good is the cross platform development of command line application with .net core. Because why not. This worked great, my application was up & running after few days of working lazily. And I was pretty happy with my choice. Later on I had a requirement of creating a set of APIs hosted on lambda. Again I went with C# because, like I said earlier, I was pretty happy with it. ...

January 18, 2019 · Neeraj Verma

Notes: Install macOS in Virtualbox on Windows

Installation Download the image from https://techsviewer.com/install-macos-10-14-mojave-virtualbox-windows/ Refer the detailed installation steps mentioned in above link. Or refer below steps for quick reference: Create new VM of type Mac OS X & latest 64bit version. Disable Hyper-V if 64-bit option is not available when creating new VM in VirtualBox. Select downloaded VHD file as Hard Disk. Edit the created VM & In the “System” category open the “motherboard” tab. Check the box next to “Enable EFI” and change chipset to IHC9 or PIIX3. In the “Processor” tab, check the box next to “Enable PAE/NX” and increase cores to 2 (50% of your CPU) In the “Display” category, change the Video memory to 128MB In Storage tab then enables “Use Host I/O Cache” option Close VirtualBox & from admin command prompt execute below commands: > cd "C:\Program Files\Oracle\VirtualBox\" > VBoxManage.exe modifyvm "Your VM Name" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff > VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" > VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" > VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" > VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" > VBoxManage setextradata "Your VM Name" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 Enable USB 3.0 Controller for Mouse & Keyboard support. Start the newly created VM & enjoy. Usage Install IP messenger for file transfer. Change the Network Adapter, in VM settings, to “Bridged Adapter” so that guest OS & host OS are on same IP range, and IP messenger works seamlessly with this. For full screen resolution support, execute below commmand in Administrator cmd prompt. reference: > cd "C:\Program Files\Oracle\Virtualbox" > VBoxManage setextradata “Your Virtual Machine Name” VBoxInternal2/EfiGraphicsResolution X Where X can be one of 1280x720, 1920x1080, 2048x1080, 2560x1440, 3840x2160, 1280x800, 1280x1024, 1440x900, 1600x900. VirtualBox does not support: 1366x768 (you can use 1280x720 with "Scaled Mode") File transfer via IP msngr is slow, so instead use Network Folder Sharing. Share folder on Windows Host On mac, in Finder menu, Go -> Connect to Server… Enter smb://<IP_OF_HOST> and connect. You might be required to enter user credentials of windows host. Will keep updating the post as I find new tweaks required for smooth running. ...

September 18, 2018 · Neeraj Verma

Side Project: Youtube Skippz Adzz

Do you also get lazy to click on Skip Ad on youtube? Do you get annoyed when between your music marathaon an ad appears? Are you also like me who starts youtube, and gets busy with life, relying on youtube to keep playing good music, only to get interupped by those ads with Skip option. You understand youtube needs to make money so you have disabled adblocker, but still wish there was a way to skip those ads automatically? ...

September 16, 2018 · Neeraj Verma

What are you?

The other day I was thinking about different mindsets of people in a professional world. Some people have this single mindset, some have a mixture. People come in many flavors you know. Worker MindA worker knows how to work. You give them a task, tell them how to do it. And it will be done. They don’t care if the task is a grunt work, or something interesting. They understand that every task is important.But pure workers have some problems, they always need to be assigned work, you can’t just leave them to find their own work. Also a worker, knows to just work, once the going gets tough they need someone to help them out. This is where thinker comes. ...

March 20, 2015 · Neeraj Verma

FYI: There is no magic bullet

Last night I did an amazing thing. A mysql query was taking around 20-30 minutes to execute. It was a pretty heavy query with the purpose of creating a dump of data in excel format. With 3-4 JOINs, 2-3 WHERE clauses. And it was already optimized, and it seemed like there is nothing we can do. But then an idea hit me. And the query is now happily dumping data in 3-4 seconds. ...

March 13, 2015 · Neeraj Verma