Today, I install and use ngrok. ngrok is similar to Teamviewer which is used in windows and Linux to connect computers from any remote location and does not require to be on the same network. I thought that ssh can access computer only on the same network. So, I used Teamviewer instead of ssh.
Later on, Amrit told me about ngrok and he said that we can connect computers from any remote location using ngrok. So, I install it 🙂
ngrok is easy to use. Follow below steps:
- Just download its zip file from : https://ngrok.com/download.
- Then unzip it. It will create binary file ngrok. Then run this binary file using ./ngrok.
- Now login on : https://ngrok.com/download and Install your authtoken using :
./ngrok authtoken 2CAB7**************************
- Now read its README file and apply command for your purpose.
- for example: ./ngrok tcp 22 (if you want to provide your computer as server on terminal). just give its link to client computer.
- ./ngrok http 80 (if someone wants to access your computer from a browser).
Today, I came to know about the new thing. Whenever I wanted (or tried) to print math symbol (\leq, \sigma) through .CSV. It was giving an error. Because we can’t read LaTeX symbols directly from CSV. So, to read this, we will use \(math\) like this \(\leq\) in CSV to read any symbol.
Secondly, I did not know, how to define NULL values in the table using pgfplotstable? I was doing wrong. “I defined ‘nan’ for this, But it did not work”. If we want to define NULL values then leave it blank and separated by commas.
Today, I used JSON data in LaTeX. To do this, Firstly, I load one file JSON.lua in .tex file. When I did not download and load JSON.lua file in tex, it was giving an error during compilation. And when we are using JSON data inside .tex file then we use lualatex command to run latex code instead of pdflatex.
Yesterday, I created bootable USB of window 7. Normally, we use Startup Disk Creator to make bootable Pendrive from Linux-iso in Ubuntu. But we can’t make bootable Pendrive of the window using startup disk creator in ubuntu. So, we need another software to do this. Yesterday, Amrit suggested me to use “winusb“ for this purpose. I wanted to search But he told me, My Bad Luck 😛 . Then I install “winusb“ in ubuntu and make bootable Pendrive from window-iso.
I got the reason behind the error described in june 9,2016. I had written comma separated values in LSDtable.csv file Which was placed in “input” folder. But there was another file of the same name as “LSDtable.csv” which was placed outside of “input” folder, whose values were not comma separated. So, whenever I run code, it was giving an error of this wrong file. When I delete this wrong file. Then error removed :-).
Getting tired from error 😞. From 2 days, I am facing error ‘Package PGF Math Error: Could not parse input 0.765‘ in pgfplotstable. Normally, this error comes When our .csv file contain special characters such as date format and to remove this we use date plot package. But my file does not contain a special character. Now I am unable to found its reason. To find the reason, I check package that was needed But everything was Ok. Then, I tried the same thing on another file and it works. But whenever I do same thing in a project file, But it gives error😞. Don’t know How solve this.
Today I solved error that I am facing from a month ago. Actually, whenever I start the laptop, it gave error during booting. An error was : An error occurred while mounting \mnt\8426CA2726CA1A56. But every time I ignore this using ‘S’ and continue booting. But Today, I solved that.
The reason of this error is, When Ubuntu boots, it tries to automatically mount this partition but it does not work because Windows fast startup is enabled. So, to solve this error, disable ‘Mount at startup’ option of windows partition. Window is located at NTFS so uncheck ‘Mount at startup’ option from that.
Steps to remove above error:
- Open disk in ubuntu.
- Open windows partition.
- Go to edit mount option of window partition.
- uncheck ‘Mount at startup’ option.
- Click Ok and restart your laptop.