Skip to content

Instantly share code, notes, and snippets.

View p10rahulm's full-sized avatar

Rahul Madhavan p10rahulm

  • CodeFRA
  • Bangalore, India
View GitHub Profile
@p10rahulm
p10rahulm / setting-up-github-for-anonymous-contributions.md
Last active December 8, 2023 11:22
This gist helps in setting up an anonymous github account and repo for submission to cs conferences.

Setup Github Repo for Anonymous Contributions


1. EXPORT SOME VARIABLES FOR USE

export TITLE="SOME TITLE"
export GITHUB_USER="github-user"
export EMAIL_ID="yourmailid+$GITHUB_USER@gmail.com"
@p10rahulm
p10rahulm / DP for Max payout Job Schedule
Created April 6, 2021 17:58
Dynamic Programming Stuff
import numpy as np
def maxPayout(payouts, cooldown):
n = len(payouts)
payouts = payouts
cooldown = cooldown
opt = np.zeros([n, n])
print(opt)
for t in range(n):
@p10rahulm
p10rahulm / create_static_site.MD
Last active March 6, 2024 02:09
Create Static Site using Godaddy and Google Cloud Storage in 15 minutes

Steps to create a static Site using Godaddy and Google Cloud Storage

Create a static html site

  • Can use this boilerplate to modify: http://www.initializr.com/
  • Make all your subpages and make sure to link them
  • Check your index.html works