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
| """Provides methods check_sudoku and solve_sudoku | |
| Expects input of a list of 9 lists, each of length 9, representing | |
| a Sudoku board. Unfilled numbers may be represented with a zero. For | |
| example: | |
| valid = [[5,3,4,6,7,8,9,1,2], | |
| [6,7,2,1,9,5,3,4,8], | |
| [1,9,8,3,4,2,5,6,7], | |
| [8,5,9,7,6,1,4,2,3], | |
| [4,2,6,8,5,3,7,9,1], | |
| [7,1,3,9,2,4,8,5,6], |
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
| """Provides method generate(prefix,length), which for a given prefix and | |
| total length will return a valid credit card number. generate returns | |
| None for invalid inputs. | |
| Credit card numbers have the following form: PPPPPP NNNNNNNNN C | |
| Where P is a prefix that identifies the issuing authority, N is an | |
| account number and C is a checksum digit, calculated with Luhn's | |
| algorithm. |
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
| # Compiled files | |
| ################ | |
| *.o | |
| *.so | |
| *.mod | |
| # Emacs temporary files | |
| ####################### | |
| *~ | |
| \#*\# |
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
| ;+ | |
| ; NAME: | |
| ; NLOADCT | |
| ; | |
| ; PURPOSE: | |
| ; Load predefined color tables. | |
| ; | |
| ; CATEGORY: | |
| ; Image display. | |
| ; |
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
| -- Join columns to rows, group by rows and columns, then filter to get the cell you want. | |
| SELECT A.row_num, B.col_num, SUM(A.value*B.value) | |
| FROM A,B | |
| WHERE A.col_num=B.row_num | |
| GROUP BY A.row_num, B.col_num; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| ATL - Atlanta - FALCONS | |
| BUF - Buffalo - BILLS | |
| CHI - Chicago - BEARS | |
| CIN - Cincinnati - BENGALS | |
| CLE - Cleveland - BROWNS | |
| BAL - Baltimore - RAVENS | |
| DAL - Dallas - COWBOYS | |
| DEN - Denver - BRONCOS | |
| DET - Detroit - LIONS | |
| GB - Green Bay - PACKERS |
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
| ########################################################################## | |
| # _ | |
| # | |_ _ __ ___ _ ___ __ | |
| # | __| '_ ` _ \| | | \ \/ / | |
| # | |_| | | | | | |_| |> < | |
| # . \__|_| |_| |_|\__,_/_/\_\.conf | |
| # | |
| ########################################################################## | |
| #C-o doesn't conflict with too much in Emacs | |
| unbind-key C-b |
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
| number | full_name | position | height_in_inches | weight_in_lbs | date_of_birth | team | |
|---|---|---|---|---|---|---|---|
| 23 | Alford, Robert | CB | 70 | 186 | 11/1/1988 | ATL | |
| 95 | Babineaux, Jonathan | DT | 74 | 300 | 10/12/1981 | ATL | |
| 72 | Baker, Sam | T | 77 | 301 | 5/30/1985 | ATL | |
| 59 | Bartu, Joplo | OLB | 74 | 230 | 10/3/1990 | ATL | |
| 71 | Biermann, Kroy | OLB | 75 | 255 | 9/12/1985 | ATL | |
| 63 | Blalock, Justin | G | 76 | 326 | 12/20/1983 | ATL | |
| 5 | Bosher, Matt | P | 72 | 208 | 10/18/1987 | ATL | |
| 3 | Bryant, Matt | K | 69 | 203 | 5/29/1975 | ATL | |
| 51 | Chaney, Jamar | LB | 72 | 242 | 10/11/1986 | ATL |
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
| """I wanted a screensaver of Robert Montgomery poems. This script pulls | |
| them from the gallery on his website | |
| """ | |
| import os | |
| import sys | |
| from bs4 import BeautifulSoup | |
| import requests | |
| if __name__ == "__main__": |
OlderNewer