Skip to content

Instantly share code, notes, and snippets.

View nightlessbaron's full-sized avatar
🚀
Exploring

Varad Pimpalkhute nightlessbaron

🚀
Exploring
View GitHub Profile
@nightlessbaron
nightlessbaron / application.properties
Created August 25, 2021 18:18
A template to be added in the zoophy-geonames/config directory
# Credits: https://github.com/ZooPhy/zoophy-geonames
# Source code has been copied from https://github.com/ZooPhy/zoophy-geonames as it is.
# Path to Lucene index directory
lucene.index.location=index/geonames
# -------------------------
# Indexing RELATED PROPERTIES
# -------------------------
# root URL to download geonames files
@nightlessbaron
nightlessbaron / flappy.py
Created November 19, 2018 08:37
Flappy Bird using pyGame
from pygame import *
import math
import random
windowY = 9 * 60
windowX = 16 * 60
init()
window = display.set_mode((windowX, windowY))
@nightlessbaron
nightlessbaron / flip_coin.c
Last active September 26, 2018 04:52
A code for a CodeChef Problem . Level: Medium. Name: FlipCoins
// This question was solved using Segment Tree Data Structures.
// Refered to : https://www.codechef.com/viewsolution/20334199
// : https://www.hackerearth.com/practice/data-structures/advanced-data-structures/segment-trees/tutorial/
#include <iostream>
using namespace std;
#define NMAX 100001