Skip to content

Instantly share code, notes, and snippets.

View Miha-Pleskovic's full-sized avatar

Miha Pleskovič Miha-Pleskovic

  • Novo mesto, Slovenia
View GitHub Profile
@Miha-Pleskovic
Miha-Pleskovic / index.html
Last active July 15, 2016 13:30
Fakebook
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Vinko Groznik - Fakebook</title>
<style>
img {
position: absolute;
}
@Miha-Pleskovic
Miha-Pleskovic / index.html
Last active July 15, 2016 13:32
Fakebook v2.0
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="Vinko Groznik - Fakebook osebna stran // USTVARI SI SVOJ FAKEBOOK PROFIL ŠE DANES">
<meta name="keywords" content="Vinko, Groznik, Fakebook">
<meta name="author" content="Miha Pleskovič">
<link type="text/css" rel="stylesheet" href="style.css">
<title>Vinko Groznik - Fakebook</title>
</head>
@Miha-Pleskovic
Miha-Pleskovic / index.html
Last active July 31, 2023 17:59
Fake Google & Fake Google Login
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="style.css">
<title>Fake Google</title>
</head>
<body>
<div class="top">
<a href="#">Gmail</a>
@Miha-Pleskovic
Miha-Pleskovic / main.py
Created July 20, 2016 15:25
Guess The Secret Number
# -*- coding: utf-8 -*-
number = "42"
def language():
lang = raw_input("Choose your language (1 - English | 2 - Slovenian): ").lower()
if lang == "1" or lang == "english":
play()
elif lang == "2" or lang == "slovenian":
igra()
@Miha-Pleskovic
Miha-Pleskovic / main.py
Last active July 24, 2016 17:35
Unit Converter
# -*- coding: utf-8 -*-
def converter():
choice1 = raw_input("Which measurements you wish to choose? (1 - Length | 2 - Volume) ")
if choice1 == "1":
length_converter()
elif choice1 == "2":
volume_converter()
else:
# -*- coding: utf-8 -*-
def fb_en():
print "Welcome to FIZZBUZZ!"
print ""
while True:
tutorial = raw_input("Would you like a tutorial? (1 - yes | 2 - no) ")
if tutorial == "1":
print "FIZZBUZZ is really simple."
print "1. Type in a number between 1 and 100."
@Miha-Pleskovic
Miha-Pleskovic / main.py
Created July 31, 2016 17:21
Resturant Menu
# -*- coding: utf-8 -*-
# ENTERS A NEW DISH
def new_dish():
print "Vnesite željeno jed:"
dish = raw_input("").lower()
print ""
print "Vnesite ceno jedi:"
price = raw_input("")
print ""
@Miha-Pleskovic
Miha-Pleskovic / main.py
Created August 1, 2016 14:59
Guess The Secret Number v2.0
# -*- coding: utf-8 -*-
from random import randint
# QUITS THE GAME
def shut_down():
print "The real secret number is still out there ..."
quit()
# TUTORIAL
def tutorial():
@Miha-Pleskovic
Miha-Pleskovic / main.py
Created August 4, 2016 13:22
Vehicle Manager Program
# -*- coding: utf-8 -*-
import fileinput
try:
vehicles_file = open("vehicles.txt", "r")
except:
vehicles_file = open("vehicles.txt", "w+")
vehicles_file.close()
print ""
@Miha-Pleskovic
Miha-Pleskovic / main.py
Last active August 11, 2016 07:31
Forensics Program
# -*- coding: utf-8 -*-
hair_color = {"black": "CCAGCAATCGC",
"brown": "GCCAGTGCCG",
"blonde": "TTAGCTATCGC"}
face_shape = {"square": "GCCACGG",
"round": "ACCACAA",
"oval": "AGGCCTCA"}