
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
#include<stdio.h> | |
#include<graphics.h> | |
#include<math.h> | |
// with math module don't forget to use '-lm' | |
// For a triangle | |
int trans_sx = 30; | |
int trans_sy = 30; |
This file has been truncated, but you can view the full file.
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
Current events of September 3, 1995 (1995-09-03) (Sunday) : | |
eBay is founded. | |
Current events of September 6, 1995 (1995-09-06) (Wednesday) : | |
NATO air strikes against Bosnian Serb forces continue, after repeated attempts at a solution to the Bosnian War fail. | |
Current events of September 19, 1995 (1995-09-19) (Tuesday) : | |
The Washington Post and The New York Times publish the Unabomber's manifesto. | |
Current events of September 22, 1995 (1995-09-22) (Friday) : | |
American millionaire Steve Forbes announces his candidacy for the 1996 Republican presidential nomination. | |
Current events of September 23, 1995 (1995-09-23) (Saturday) : | |
Argentine national Guillermo "Bill" Gaede is arrested in Phoenix, Arizona, on charges of industrial espionage. His sales to Cuba, China, North Korea and Iran are believed to have involved Intel and AMD trade secrets worth US$10–20 million. |
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
from termcolor import colored | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
class Conway: | |
def __init__(self): | |
self.N = 60 | |
self.generations = 300 | |
self.curr_board = [[0 for i in range(self.N)] for j in range(self.N)] | |
self.prev_board = [[0 for i in range(self.N)] for j in range(self.N)] |
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
from random import choice | |
from os import listdir, chdir, system | |
from os.path import isdir | |
from glob import glob | |
#from subprocess import Popen | |
from readline import parse_and_bind | |
from pprint import pprint | |
from sys import argv | |
''' |
NewerOlder