Skip to content

Instantly share code, notes, and snippets.

View Samyak2's full-sized avatar
🉑
going with the flow

Samyak Sarnayak Samyak2

🉑
going with the flow
View GitHub Profile
@Samyak2
Samyak2 / tests.py
Last active December 9, 2021 07:56
Random test case generator and tester for intal in C
# this is a testing file for intal (integer of arbitrary length) in C, to be used with the python file
# Steps to use
# 1. Compile with the main file (which is here - https://gist.github.com/Samyak2/d0c2552b11581f59091f9f377bbc65f0)
# 1.1 Make sure the executable is named `intal` (using `-o intal` during compiling)
# 2. Make sure python version is >=3.6 and scipy is installed
# 3. Run this script
# excuse the bad code, it was only intended to work
# Here is another version to test the time complexity - https://gist.github.com/Samyak2/a2975ec738e76dd7ead1147db3c0ef93
# Author: Samyak S Sarnayak
import sys
@Samyak2
Samyak2 / oh-my-zsh-bira-conda-venv.md
Last active November 18, 2023 23:03
Adding virtualenv and conda support to Oh My Zsh Bira theme