Skip to content

Instantly share code, notes, and snippets.

View yashika51's full-sized avatar
💻
Learning by doing

Yashika Sharma yashika51

💻
Learning by doing
View GitHub Profile
@yashika51
yashika51 / sql_server_sample.sql
Created July 29, 2020 23:03
This is a sample sql query for bentoml tutorial
sp_configure
EXEC sp_configure 'external scripts enabled', 1
RECONFIGURE WITH OVERRIDE
CREATE DATABASE irissql
GO
USE irissql
GO
@yashika51
yashika51 / nb-viewer.md
Last active July 30, 2024 12:45
Share your jupyter notebooks with nbviewer and Gist

How to share .ipynb files from your computer without using Colab or Binder?

The most easiest way to share the .ipynb files without using Colab or Binder is by using Gist+nbviewer.

nbviewer helps you to share your jupyter notebooks as static sites. Follow these steps to share notebooks as url:

  • Find the notebook you want to share and open it with notepad.
  • Copy the raw code from there

image

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yashika51
yashika51 / github-reply.md
Last active July 26, 2020 00:37
Create and save replies on Github

If you send something like

Thanks for the prompt reply!

too often while replying on issues and PR why should you type the same thing again?

Github lets you create and save replies. So next time you can just selct your saved reply and hit send.

On the right side see that arrow icon, click on that

  • if you want to create and save a new reply hit create a new saved reply
  • else select from existing saved replies and hit send!
@yashika51
yashika51 / vscode.md
Last active July 24, 2020 22:49
VS Code Python not found error

If we run a python script in jupyter notebook's cell on VS Code doing !python3 filename.py, it will give Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640 error.

image

This can be solved by a simple change. !python filename.py works well without any errors.

image