Skip to content

Instantly share code, notes, and snippets.

View waleedtee's full-sized avatar
💭
forever available

Waleed Tee waleedtee

💭
forever available
View GitHub Profile
@waleedtee
waleedtee / Jupyter_md.md
Last active January 28, 2019 11:16
Jupyter Markdown to LaTeX and PDF

First install the better template by placing the template file in anaconda/lib/python ** / nbconvert/template/latex/… The template is the following code that extends the default article.tplx file. Save it with the extension .tplx.

((*- extends 'article.tplx' -*))

%===============================================================================
% Input
%===============================================================================
@waleedtee
waleedtee / MySQL.md
Created January 23, 2019 13:11
MySQL helpful snippets

MySQL helpful snippets

Login

mysql -u root -p

Common Errors

  • ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Solution: clear all previous mysql and mysqld processes sudo pkill mysql
@waleedtee
waleedtee / linux_ubuntu.md
Last active January 28, 2019 11:05
Update and Upgrade Ubuntu

Ubuntu and Linux helpful snippets

Updates and then upgrades packages with automatic yes to prompts

sudo apt update && sudo apt upgrade -y

Upgrades Ubuntu OS

do-release-upgrade

@waleedtee
waleedtee / keybase.md
Last active January 19, 2019 10:33
keybase.md

Keybase proof

I hereby claim:

  • I am waleedtee on github.
  • I am waleedtee (https://keybase.io/waleedtee) on keybase.
  • I have a public key ASACmSiSEKByxG2ldqRalsrWinjoqxh0M_fF4WLFVn3igwo

To claim this, I am signing this object: