Skip to content

Instantly share code, notes, and snippets.

View mehan's full-sized avatar
🌲
in PDX, mostly

mehan jayasuriya mehan

🌲
in PDX, mostly
View GitHub Profile

#JavaScript Development

##Curriculum development, launch plan and pilot strategy

Mehan Jayasuriya and Jeanny Vaidya


##Value Prop

#JavaScript Development

##Curriculum development, launch plan and pilot strategy

Mehan Jayasuriya and Jeanny Vaidya


##Value Prop

@mehan
mehan / gist:4948435
Last active December 13, 2015 17:28
*RWET homework 1* This is a simple Python program that takes a text input, performs a simple grep using a search string and then outputs the lines returned by that grep in a randomized order.
import sys
import random
all_lines = list()
searchstr = " I "
for line in sys.stdin:
if searchstr in line:
line = line.strip()
all_lines.append(line)