Skip to content

Instantly share code, notes, and snippets.

View shivupa's full-sized avatar

Shiv Upadhyay shivupa

View GitHub Profile
@hxhc
hxhc / Compiling Vim with Anaconda.md
Last active January 30, 2020 21:03
Compiling Vim with Anaconda

Compiling Vim with Anaconda

Vim is a powerful editor with no doubt, and the jedi-vim plugin is powerful for pythoners. However, jedi-vim can't work with Anaconda. This is because

  • Ubuntu's (14.04) python is located at /usr/bin
  • Anaconda' python is at ~/Anaconda3/bin

There is a tricky but dangerous way to overcome it. Adding the line below to ~/.zshrc or ~/.bashrc.

@sliceofbytes
sliceofbytes / txt-to-google-keep-notes.py
Created February 14, 2018 22:16
Add Text Files as Google Keep Notes
#Import a directory of text files as google keep notes.
#Text Filename is used for the title of the note.
import gkeepapi, os
username = 'username@gmail.com'
password = 'your app password'
keep = gkeepapi.Keep()
success = keep.login(username,password)
@NickNaso
NickNaso / cpp.yml
Created June 3, 2020 23:55
Example of Github action for C++ rpoject
# This is a basic workflow to help you get started with Actions
# workflow - цепочка действий
# Имя процесса Билдится на всех типах 📦 🐍
name: CMake Build Matrix
# Controls when the action will run. Triggers the workflow on push
on:
push:
pull_request:
release: