Skip to content

Instantly share code, notes, and snippets.

@ivanko22
ivanko22 / index.html
Last active August 27, 2019 15:39
Loader1.2
<div class="header">
<div class="chart-container">
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="3.5em" height="3.5em" viewBox="0 0 200 200" enable-background="new 0 0 200 200" xml:space="preserve" class="svg-loader">
<defs>
<filter id="glow" x="-120%" y="-120%" width="400%" height="400%">
<feOffset result="offOut" in="SourceGraphic" dx="0" dy="0"></feOffset>

tasks

appointments

# implementation of card game - Memory
import simplegui
import random
cards = [1, 2, 3, 4, 5, 6, 7, 8] * 2
exposed = [[False] * 16]
deck = [50, 100]
x_pos = 50
y_pos = 60
x = 0
# implementation of Spaceship - program template for RiceRocks
import simplegui
import math
import random
# globals for user interface
WIDTH = 800
HEIGHT = 600
score = 0
lives = 3
# template for "Stopwatch: The Game"
# define global variables
import simplegui
count = 0
count2 = 0
count3 = 0
started = False
started2 = False
@ivanko22
ivanko22 / The Flat Dictionary.py
Created September 12, 2016 19:27
The Flat Dictionary
def flatten(dictionary):
stack = [((), dictionary)]
result = {}
while stack:
path, current = stack.pop()
for k, v in current.items():
if isinstance(v, dict):
stack.append((path + (k,), v))
else:
result["/".join((path + (k,)))] = v
@ivanko22
ivanko22 / geodata_README.txt
Last active September 12, 2016 19:25
geodata
Using the Google Geocoding API with a Database and
Visualizing data on Google Map
In this project, we are using the Google geocoding API
to clean up some user-entered geographic locations of
university names and then placing the data on a Google
Map.
You should install the SQLite browser to view and modify
the databases from: