Skip to content

Instantly share code, notes, and snippets.

View Bowenislandsong's full-sized avatar

Bowen Song Bowenislandsong

  • USC
View GitHub Profile
@Bowenislandsong
Bowenislandsong / mvunlockedtxt.py
Last active February 17, 2019 15:17
Preparing Experimental Data
import os
from os import listdir
from os.path import isfile, join
def writeline(f_name,line):
f = open(f_name,'a')
line = line.replace("$", "")
f.write(line)
@Bowenislandsong
Bowenislandsong / creator.py
Created January 28, 2019 01:55
Creating Repositories inside organization. Add members as assigned. Using PyGithub
# Creating repositories in an organization from a list
# Add people from the list to their repositories
# by Bowen Song
# Input List File Format:
# <repository name> | <Member username/email> | <role>
# ceph-end-to-end-tracing bowenislandsong member
# $ pip install PyGithub