Convert webpage to pdf using Python

If you dont want to use Python then one easy way is to use website

If you want to use Python then see the library below

Gradle proxy settings

If you are behind the corporate proxy, you can configure Gradle to use the proxy by following settings.

Create a file called ~/.gradle/

Generally is in «USER_HOME»/.gradle/, where «USER_HOME» is your home directory.
That’s typically one of the following, depending on your platform:
C:\Users\<username> (Windows Vista & 7+)
/Users/<username> (macOS)
/home/<username> (Linux)

Add the settings related to proxy.

Also add the HTTPS proxy settings

If your proxy is a CNTLM then you can also configure

* Set the http.proxyUser system property to a value like domain/username.
• Provide the authentication domain via the http.auth.ntlm.domain system property.

Class JavaLaunchHelper is implemented in both

I was getting the below error which compiling my code.

objc[3789]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java (0x1095e64c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1096724e0). One of the two will be used. Which one is undefined.


Upgrade JDK to the latest version from

Details related are also discussed at

How to fix when Nexus 5 cannot detect Wifi SSID

Suddenly my phone today could not detect the WiFi SSID for my home router. Strangely all other devices at my home are able to connect.

I was not able to figure out why it is the case and I restarted my Router and Phone. But, it did not help.

I logged into router and checked what is the channel of current wifi connection. It was set to automatic and its value was 12.

I found the issue with my phone plus higher channels.

I manually set the channel to a lower number (2) and then my phone was able to detect and connect to the Wifi

How to get Wunderlist list of all tasks in different lists

Wunderlist has become my default task management tool.

I was looking for a way to see on a single page the list of all tasks, in the all the lists.

After lot of searching, I found a way inside Mac application of Wunderlist.

If you want to see list of all tasks on Mac (might be in other OS also)

  • Click Open preferences
  • Click on Smart List
  • Check the option next to ALL and make it Auto
  • Save and then you should see list of all tasks inside the menu option All

How to prettify JSON in VS Code Editor

I have been using VS code editor from 1 month now. I am big fan of it and now it has become the default editor for me.

Here is a tip if you want to prettify son in VS code.

Download the extension Prettify JSON

Install and Reload the editor

From the Command Palette, type Prettify JSON and hit enter

If you have JSON in your editor, it would shown now in pretty format.

Enjoy using VS Code