error fix
allowing utf8 characters in python csv writer
reference: https://stackoverflow.com/questions/46551955/python-3-csv-utf-8-encoding do this at the start of csv writer to ad BOM
reference: https://stackoverflow.com/questions/46551955/python-3-csv-utf-8-encoding do this at the start of csv writer to ad BOM
My Scenario I have a remote server(4.4.4.4) where I am running a python django webserver on port 8008. However, the remove server is only allowing ssh port 32686, which means that I cannot directly access remote server at port 8008 to view the webserver. This is why I am local Read more…
Problem When I tried to run a python script using numpy, it gave the following error. Solution found a solution from here from the shell, execute the following
problem I had a shell script like the following and I was trying to run it with $ sh somescript.sh but it kept failing with the error something liek “cd: no directory”. Solution After resaving the script file with LF instead of CRLF, the script worked. I was using intellij Read more…
Problem After windows update, for some reason I have to keep re-entering remote server passwords whenever I start intelliJ and work on a remote server. This did not happen before. Before this problem happened, I only need to enter the password once, save it, and it would not ask the Read more…
Problem when the local machine is having problems resolving domain name. This can happen when using domain names that are not public but setup in corporate intranet setups. Below is an example error message that I got when trying to git clone from corporate github which is not open to Read more…
when calling nautlius on a remote server, I got the following error message. I was using MobaXterm, with X11 forwarding option on. Cause & Solution For my case, this was due to .Xauthority file lock down. from my home directory(/home/user), here is the ls output from googling, the “-c” and Read more…
I am currently in some branch and want to checkout to a remote branch named dev1 which is not yet existent in local git. So I tried calling, but it gave me an error. BTW, fetching worked fine and did not complain. So I tried but got error: I checked Read more…
check current version of cudnn my current gpu uses CUDA10.0 which can be verified from nvidia-smi The current version of cudnn is meant for CUDA10.1. It seems that this somehow creates a conflict and I cannot load and run my model in tensorflow-gpu 1.13.1. In order to fix this, I Read more…
open with vi, and execute :set fileformat=unix and save the file. referred from here.