Skip to content

Instantly share code, notes, and snippets.

Evan Wike evanwike

  • Kansas City, Missouri
Block or report user

Report or block evanwike

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
evanwike /
Created Sep 29, 2016 — forked from tbranyen/
OpenWeatherMap / Weather Icons integration
  1. Include Weather Icons in your app:

  2. Include the below JSON in your application, for example purposes, lets assume it's a global named weatherIcons.

  3. Make a request to OpenWeatherMap:

req = $.getJSON(',uk&callback=?');
evanwike /
Created Aug 30, 2016
Password Generator 2000
import random
def passgen():
lower = 'abcdefghijklmnopqrstuvwxyz'
upper = lower.upper()
number = '1234567890'
special = '~!@#$%^&*()_-+=}{|[]\?/:;\'<>,.'
password = ''
strength = ''
evanwike /
Created Aug 30, 2016
Rock, Paper, Scissors! w/ VS. Computer and Multiplayer - Also keeps score (Python)
import random
def rps(n,x,y):
print('Rock, Paper, Scissors!!')
mode = int(input('(1) Vs. Computer (2) Multiplayer'))
if mode == 1:
print('Wins: ' + str(n))
user = str(input('Rock (R/r), Paper (P/p) or Scissors (S/s)?')).lower()
View Draw a Game Board of N Size
def board():
x = int(input('Enter rows:'))
y = int(input('Enter columns:'))
def row():
print(' ' + '--- '*x)
def col():
print(' ' + '| '*(x) + '|')
View Max Of Three
def maxofthree(x,y,z):
if x > y and x > z:
return x
elif y > x and y > z:
return y
elif z > x and z > y:
return z
You can’t perform that action at this time.