Skip to content

Instantly share code, notes, and snippets.

View kurianbenoy's full-sized avatar
Building things!!

Kurian Benoy kurianbenoy

Building things!!
View GitHub Profile
TylerFisher /
Last active July 8, 2024 19:54
Basic steps for hosting on Github

Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.

Steps for Hosting a Website on GitHub

  1. Create a GitHub account on
  2. Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
  3. (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
  4. Create a new repository in your GitHub application. Name it The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
  5. Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level
adamdb / NERDTree Commands
Last active July 11, 2023 11:52
A list of useful NERDTree commands.
Use the natural Vim navigation keys hjkl to navigate the files.
Press o to open the file in a new buffer or open/close directory.
Press t to open the file in a new tab.
Press i to open the file in a new horizontal split.
Press s to open the file in a new vertical split.
Press p to go to parent directory.
Press r to refresh the current directory.
Press m to launch NERDTree menu inside Vim.
mwaskom / titanic_seaborn.ipynb
Last active February 8, 2024 13:25
Exploring the Kaggle Titanic dataset with seaborn.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
karpathy /
Created May 30, 2016 22:50
Training a Neural Network ATARI Pong agent with Policy Gradients from raw pixels
""" Trains an agent with (stochastic) Policy Gradients on Pong. Uses OpenAI Gym. """
import numpy as np
import cPickle as pickle
import gym
# hyperparameters
H = 200 # number of hidden layer neurons
batch_size = 10 # every how many episodes to do a param update?
learning_rate = 1e-4
gamma = 0.99 # discount factor for reward
kurianbenoy /
Last active May 29, 2018 16:22
Django Installation


We higly recommend You to install a Linux Distro, preferably it can any Debian based distros like:

  1. Ubuntu
  2. Debian
  3. Linux Mint
  4. Kali Linux

We highly recommend you not to bring Windows Laptops as Django is a free open software and its always nice to work best on Free Open Souce Software instead for Properietary software as it guarantees freedom and is also Free

gnprice / .gitconfig
Last active December 22, 2023 20:53
# This is a snapshot of my ~/.gitconfig file, minus a few bits
# that are obsolete or non-reusable.
# For explanation of each setting, see `git help config`
# or .
name = Greg Price
email =
gilrosenthal / install script
Created July 4, 2018 20:14 Install on Google Colab
!pip install fastai
!apt-get -qq install -y libsm6 libxext6 && pip install -q -U opencv-python
import cv2
from os import path
from wheel.pep425tags import get_abbr_impl, get_impl_ver, get_abi_tag
platform = '{}{}-{}'.format(get_abbr_impl(), get_impl_ver(), get_abi_tag())
accelerator = 'cu80' if path.exists('/opt/bin/nvidia-smi') else 'cpu'
!pip install -q{accelerator}/torch-0.3.0.post4-{platform}-linux_x86_64.whl torchvision
samagragupta / Samagra.gif
Last active June 27, 2019 10:17
About myself
A simple get function which caches responses for a URL
using a LFU cache
import requests
from collections import Counter
class LFUCache(object):
""" Least frequently used cache with caching done on SET """
amaarora / exp_01_Optimizers.ipynb
Created March 14, 2021 00:55
Notebook to compare performance b/w various Optimizers including implementations from scratch.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.