Skip to content

Instantly share code, notes, and snippets.

View vakila's full-sized avatar

Anjana Sofia Vakil vakila

View GitHub Profile
@vakila
vakila / gameOfTextLife.py
Created September 29, 2015 21:24
The Game of Text Life from DailyProgrammer
# the game of text life from daily programmer
# https://www.reddit.com/r/dailyprogrammer/comments/3m2vvk/20150923_challenge_233_intermediate_game_of_text/
# by Anjana and Alicia
import random
def gridafy(inputString):
""" INPUT: a string with new line returns,
OUTPUT: a list of strings that each fit on one line, with shorter lines padded with spaces """
splitted = inputString.split("\n")
@vakila
vakila / LilLambda.ipynb
Last active January 27, 2023 05:51
Anjana Vakil, "Mary had a little lambda", OSCON 2018 (https://conferences.oreilly.com/oscon/oscon-or/public/schedule/detail/67384) & EuroPython 2017 (https://youtu.be/7BsfMMYvGaU)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vakila
vakila / SingleArrow.ipynb
Created April 12, 2019 07:23
Anjana Vakil, "The Universe in a Single Arrow", JSHeroes 2019
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.