Skip to content

Instantly share code, notes, and snippets.

View mniju's full-sized avatar

Niju Nicholas mniju

View GitHub Profile
@tamlyn
tamlyn / cartpole.ipynb
Last active December 22, 2020 08:54
OpenAI Gym CartPole-v1 with Pytorch 1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@stephenLee
stephenLee / bithack.cc
Created November 6, 2012 13:56
bit manipulation tricks(collections)
/*
* Reference:
* http://www.quora.com/Computer-Programming/What-are-some-cool-bit-manipulation-tricks-hacks
* http://www.catonmat.net/blog/low-level-bit-hacks-you-absolutely-must-know/
*/
#include <iostream>
#include <string.h>
using namespace std;