Skip to content

Instantly share code, notes, and snippets.

View ravipudi's full-sized avatar

Murali Ravipudi ravipudi

  • Wells Fargo India
  • Hyderabad
  • 17:20 (UTC +05:30)
View GitHub Profile
@ravipudi
ravipudi / README-Template.md
Created October 27, 2017 09:26 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

# How to echobot with XMPP, BOSH, and Strophe
1. Setup ejabberd(http://www.ejabberd.im/) server and setup account [email protected]
NOTE: localhost should be enough. If you setup something else, make sure you add it at /etc/hosts like this
#/etc/hosts
127.0.0.1 localhost.local
NOTE: Also download Psi(http://psi-im.org/), and make sure you can connect to your ejabberd server.
2. Download strophe(http://code.stanziq.com/strophe/) and place it (eg: /Users/makoto/work/sample/strophejs-1.0)
@ravipudi
ravipudi / README.md
Created December 9, 2016 06:31 — forked from harry1989/README.md
Thanking friends who wishes for your birthday
from collections import defaultdict, deque
def find_number_universe(keylog):
numbers = set()
for attempt in keylog:
for num in attempt:
numbers.add(num)
return numbers
# Initial eclipsing binary star intro
# http://www.physics.sfasu.edu/astro/ebstar/ebstar.html
#
class LightCurve(object):
"""
This class represents light curve of an astronomical object. Light curve means
curve between time and magnitude (visual magnitude in this case).
"""
def __init__(self, start_date, time_unit):
self._points = []
@ravipudi
ravipudi / Game.py
Created June 25, 2013 09:57 — forked from tempox/Game.py
import random
import time
import pickle
## Initial constants
initial_human = 100
human = initial_human
human_dead = 0
initial_beast = 25
beast = initial_beast
beast_dead = 0
################################################################################
# conway.py
#
# Author: electronut.in
#
# Description:
#
# A simple Python/matplotlib implementation of Conway's Game of Life.
################################################################################
def test():
pass
Feature: Editing Posts
In order to be able to edit posts
As a user
I want to be able to do this via an interface
Background: