Skip to content

Instantly share code, notes, and snippets.

View chaithyagr's full-sized avatar

Chaithya G R chaithyagr

View GitHub Profile
@chaithyagr
chaithyagr / pysap_wsl.md
Last active January 13, 2022 16:19
Install pysap for Windows using WSL (with sparse2d)
  1. Go to Powershell. In most recent windows, the WSL (Windows subsystem for Linux) is usually pre installed. If not, update the Windows and make sure you have Windows 10 or higher.

  2. Intall: wsl --install -d Ubuntu-18.04

    • Note that you have to decide a unix username and pasword
  3. AT the end of this you should have a working WSL for Ubuntu-18.04. Now do the following steps on this WSL (This is kinda similar to here:

    1. Once inside, download and install Miniconda3 :
       wget https://repo.anaconda.com/miniconda/Miniconda3-4.7.12-Linux-x86_64.sh
       bash Miniconda3-4.7.12-Linux-x86_64.sh
      
@chaithyagr
chaithyagr / sync_issues.py
Created February 11, 2021 22:06
Notion Github Issue push Integration
#This is a bare minimum integration where github issues result in new task / bugs etc in notion timelines
from github import Github
from notion.client import NotionClient
import numpy as np
import datetime
import pytz
git = Github("<GITHUB API Token>")
@chaithyagr
chaithyagr / vncsetup.md
Last active March 17, 2020 14:37
Creating VNC Server

What is VNC?

VNC stands for Virtual Network controller, and it can be used to setup a remote desktop access.

How does VNC work?

There are 2 important parts of VNC: vncserver and vncviewer. vncserver must be setup on the remote desktop that you want to access. Once the vncserver is setup, you can use any vncviewer to connect. I would recoomend using RealVNC Viewer : https://www.realvnc.com/en/connect/download/viewer/

Setup on Remote desktop:

The following things need to be setup on remote desktop: