


This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import requests | |
def list_github_repos(user_name): | |
""" | |
Lists public repositories for the specified user. | |
Args: | |
user_name (str): user whose repos you want listed | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>remove last row from a table</title> | |
<script language="JavaScript" type="text/javascript"> | |
<!-- | |
var rws; | |
function RemoveRow(obj){ | |
obj=document.getElementById(obj); | |
rws=obj.getElementsByTagName('TR'); | |
obj.removeChild(rws[rws.length-1]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" Holds all factories used in this app's test suite """ | |
import factory | |
from django.contrib.auth import get_user_model | |
User = get_user_model() | |
def get_or_create_xxx_group(): |
NewerOlder