Posts

Add User to MySQL Database

ALTER USER 'cloudman'@'134.117.214.42' IDENTIFIED BY 'temPa$$'; GRANT ALL PRIVILEGES ON rcsdb.* TO 'cloudman'@'134.117.214.42'; FLUSH PRIVILEGES;

Add Local Repo to GitHub

  In the local directory containing the code run: git init -b main git add . git commit -m "Initial commit" Then sign into GitHub and create a repo with name <REPO NAME>. Do not include a README or LICENSE file. Get the URL: https://github.com/nicholishiell/<REPO NAME> Add GitHub as remote location: git remote add origin https://github.com/nicholishiell/rcsdb.git   Then push local code to remote:  git push -u origin main 

Kill process running on port

 lsof -i :5000 kill -9 $(lsof -t -i:5000)  

mounting network drive

 sudo mount.cifs //rssmbprd.carleton.ca/BaChu$ /home/nickshiell/storage -o vers=3,username=nickshiell,domain=cunet,uid=$(id -u),gid=$(id -g)

Document Layout Analysis Datasets

 Here is a list of Document Layout Analysis data sets and the labels which they contain.  Data Set Labels DocBank Abstract, Author, Caption, Equation, Figure, Footer, List, Paragraph, Reference, Section, Table, Title PubLayNet Text, Title, List, Table, Figure DocLayNet Caption, Footnote, Formula, List-Item, Page-foote, Page-header, Picture, Section-header, Table, Text, Title GROTOAP2 Abstract, Acknowledgements, Affiliation, Author, Bib_info, Body_content, ...

Passwordless SSH

On local computer run: cd ~/.ssh  ssh-keygen -f <rsa_filename> ssh-copy-id -i ~/.ssh/<rsa_filename>.pub user@host   where <rsa_filename> is the name of the file which will store the key.