Skip to content

Instantly share code, notes, and snippets.


Shivang Tripathi shivangg

Block or report user

Report or block shivangg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shivangg / songs.txt
Created Jun 21, 2017
Audiophile testing songs
View songs.txt
Ella Fitzgerald & Louis Armstrong - "Gee Baby, Ain't I Good To You"
Ella Fitzgerald & Louis Armstrong - "Learnin' The Blues" (test shouty mids on trumpet)
Diana Krall - "Maybe, You'll BeThere" (sibilance test on 'Ssss')
Diana Krall - "Baby, All The Time"
Van Halen - "Hot For Teacher" (test of busy drum intro)
Metallica - "Nothing Else Matters"
Dream Theater - "Pull Me Under"
Tourniquet - "The Hand Trember"
Shania Twain - "No one needs to know"
Tim McGraw - "She Was Mine For A Little While"
shivangg /
Created May 6, 2017
Union Find algorithm with improved quick union implementation
n, m = input().strip().split(' ')
n, m = [int(n), int(m)]
id = [i for i in range(n+1)]
def rootParent(i):
commonGeneration = []
while(id[i] is not i):
# print(i, id[i])
shivangg /
Created Mar 15, 2017
Trying out OpenAI cartpole example
import gym
from gym import wrappers
env = gym.make('CartPole-v0')
env = wrappers.Monitor(env, '/tmp/cartpole-experiment-1')
for i_episode in range(200):
observation = env.reset()
for t in range(1000):
action = env.action_space.sample()
You can’t perform that action at this time.