Skip to content

Instantly share code, notes, and snippets.

View fsjoyti's full-sized avatar

Fahmida Joyti fsjoyti

View GitHub Profile
@fsjoyti
fsjoyti / Guess the number game
Created June 17, 2015 19:18
Interactive Programming in Python
# Testing template for "Guess the number"
###################################################
# Student should add code for "Guess the number" here
# template for "Guess the number" mini-project
# input will come from buttons and an input field
# all output for the game will be printed in the console
@fsjoyti
fsjoyti / Rock-Paper-Scissor-Lizard-Spock
Created June 17, 2015 19:22
Rock-Paper-Scissor-Lizard Spock game
# Rock-paper-scissors-lizard-Spock template
import random
# The key idea of this program is to equate the strings
# "rock", "paper", "scissors", "lizard", "Spock" to numbers
# as follows:
#
# 0 - rock
# 1 - Spock
# 2 - paper
@fsjoyti
fsjoyti / Stopwatch Game
Created June 25, 2015 18:30
Stopwatch game
import simplegui
time = 0
successful_stops = 0
total_stops = 0
running = False
minutes = 0
tens_of_seconds = 0
seconds_in_excess = 0
tenths_of_seconds = 0
@fsjoyti
fsjoyti / Pong Game
Created July 22, 2015 18:22
Pong The Python Game
# Implementation of classic arcade game Pong
import simplegui
import random
# initialize globals - pos and vel encode vertical info for paddles
WIDTH = 600
HEIGHT = 400
BALL_RADIUS = 20
PAD_WIDTH = 8
@fsjoyti
fsjoyti / Memory
Created July 22, 2015 18:26
Memory game
# implementation of card game - Memory
import simplegui
import random
turns = 0
deck = []
state = 0
exposed = []
cardWidth = 34
cardHeight = 92
@fsjoyti
fsjoyti / The Technical Interview Cheat Sheet.md
Created October 12, 2016 09:55 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@fsjoyti
fsjoyti / README.md
Created September 10, 2018 19:07 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.