Skip to content

Instantly share code, notes, and snippets.

:octocat:
Focusing

Shivang Tripathi shivangg

:octocat:
Focusing
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
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
shivangg / algo.py
Created May 6, 2017
Union Find algorithm with improved quick union implementation
View algo.py
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])
commonGeneration.append(i)
@shivangg
shivangg / try.py
Created Mar 15, 2017
Trying out OpenAI cartpole example
View try.py
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):
env.render()
print(observation)
action = env.action_space.sample()
You can’t perform that action at this time.