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
# | |
# CORS header support | |
# | |
# One way to use this is by placing it into a file called "cors_support" | |
# under your Nginx configuration directory and placing the following | |
# statement inside your **location** block(s): | |
# | |
# include cors_support; | |
# | |
# As of Nginx 1.7.5, add_header supports an "always" parameter which |
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
string = "" | |
string = raw_input("Vpisi poljuben stavek!") | |
print(string.lower()) |
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
izbrano_stevilo = 0 | |
izbrano_stevilo = int(raw_input("Vnesi stevilo od 1 do 100!")) | |
for x in range(1,izbrano_stevilo+1): | |
if ((x % 3) == 0) and ((x % 5) == 0): | |
print("fizzbuzz") | |
elif (x % 5) == 0 : | |
print("buzz") |
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
km = 0 | |
mil = 0 | |
choice = "da" | |
print("Pozdravljen uporabnik! Veseli nas, da ste se odlocili za nas program s pomocjo katerega boste lahko pretvorili enote.") | |
while choice == "da": | |
km = int(raw_input("Vpisite stevilo kilometrov!")) | |
mil = km * 0.621371 | |
print("Odgovor je: " + str(km) + "km" + " je " + str(mil) + "milj") | |
print("odgovor je: %skm je %smilj" % (str(km), str(mil))) |
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
izbrano_stevilo = "23" | |
vpisano_stevilo = raw_input("Kaksno stevilo menis, da skrivam?") | |
if vpisano_stevilo == izbrano_stevilo: | |
print("Cestitam, uganil si stevilo. To stevilo je:" + izbrano_stevilo) | |
elif vpisano_stevilo < izbrano_stevilo: | |
print("Vpisal si premajhno stevilo") | |
elif vpisano_stevilo > izbrano_stevilo: | |
print("Vpisal si preveliko stevilo") |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Matjaž Gerčar | Fakebook</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="style.css"> | |
<link href="https://fonts.googleapis.com/css?family=Baloo+Paaji" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet"> | |
</head> | |
<body> |
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
<!DOCTYPE html> | |
<html lang="si"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="author" content="Matjaž Gerčar" | |
<title>Moja žblj spletna stran</title> | |
</head> | |
<body> | |
Moje ime je <strong>Matjaž</strong><br> | |
<img src="zur_30let.jpg" width="200px" /> <br > |