PyCharm & Git

Install Git for Windows first Using Git Bash, generate private and public keys Add public key to ~/.ssh/authorized_keys file on the remote server Create a local folder to store repository On server, create a new repository or initialize a repository from existing files cd some_dir git init git add . git commit In PyCharm, use ssh://vik@jarvis/~/code/jarvis/.git

Playing with wit.ai

wit.ai is a NLP (Natural Language Processing) api. Think of it as something that can be used to create next Cortana or Siri. Basically, the api allows you to send a text statement (or voice), and convert into meaningful form that your program can understand and respond to. I have started playing with it. First thing I am doing is install on Jarvis to be used with Python3. Installing is easy. First ensure following packages are installed: python3-dev, libcurl3-dev, …

Read morePlaying with wit.ai

Trick 2: Bulk download 4K wallpapers from alphacoders.com

A year ago I had posted about how you can bulk download 1080p wallpapers from Microsoft’s website. You can read the post here. That tricked worked very well and allowed me to download a total of 543 1080p wallpapers in one go. Now, I am using the same concept to download wallpapers from alphacoders.com albeit this time it’s 4K, baby! (3840×2160) Since the level of our pixel gorgeousness has increased we will step up our game …

Read moreTrick 2: Bulk download 4K wallpapers from alphacoders.com

Healthcare cost in the US

I occasionally rant about stuff that is just unfair and this is one of those moments – so why does it cost so much in the US for healthcare? I mean it’s quite a lot for the same treatment when you compare against India where I have personally experienced paying for healthcare. Here’s an example. In 2013, I experienced sever pain due to kidney stone and ended up going to ER. I stayed there for …

Read moreHealthcare cost in the US

Send emails when torrent is done – Windows & uTorrent

Here’s a snippet of PHP code to help you send emails from Windows machine when a torrent has downloaded through uTorrent.I am using Outlook.com to send and receive email but you can easily use GMail or any other internet mail service. You will need PHPMailer class $argOpts = “n:e:”;$argVal = getopt($argOpts);$torrent_name = $argVal[‘n’];$to_email = $argVal[‘e’];require(“phpmailer/class.phpmailer.php”);$mail = new PHPMailer();$mail->Username = “Your outlook.com username”;$mail->Password = “Your outlook.com password”;$mail->Host = “smtp-mail.outlook.com”;$mail->Port = 587;$mail->IsSMTP();$mail->SMTPSecure=”tls”;$mail->SMTPAuth = true;$mail->setFrom(“From address”, “From name”);$mail->addReplyTo(“Reply …

Read moreSend emails when torrent is done – Windows & uTorrent

Don’t wait in line for Windows 10 upgrade

Here’s how to skip the line, if you have not figured it out already… Go to Windows 10 download page: https://www.microsoft.com/en-us/software-download/windows10 Download the right version of Media Creation tool (32bit or 64bit). Afterwards,  run the tool and select appropriate option from the two options: “Upgrade this PC now” or “Create installation media for another PC”. If you select “Create installation media for another PC”, then you will be presented with option to select Language, Edition …

Read moreDon’t wait in line for Windows 10 upgrade