Skip to content

Instantly share code, notes, and snippets.

View StellarStoic's full-sized avatar
:octocat:
Interested in everything interesting

StellarStoic StellarStoic

:octocat:
Interested in everything interesting
View GitHub Profile
@StellarStoic
StellarStoic / index.html
Last active December 21, 2017 20:52
My first html code...
<!DOCTYPE html>
<html>
<head>
<title>MojaStran</title>
</head>
<body>
<p>moja prva spletna stran</p>
@StellarStoic
StellarStoic / MyFirst-index.html
Last active December 16, 2017 23:47
My first webpage
<!DOCTYPE html>
<html>
<head>
<title>FaKeBooK</title>
<meta charset="utf-8" />
<!--Ali je META charset pravilno zaključen z poševnico kot mi jo je zaključil
sam autoclose-html?
Na W3Schol, te poševnice ni.
NA stackoverflow pravijo da poševnica ni potrebna ampak če je že nič ne škodi-->
</head>
@StellarStoic
StellarStoic / index.html
Last active December 17, 2017 09:46
Smart Ninja Students project FakeBook
<!DOCTYPE html>
<html>
<head>
<title>FakeBook</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css">
</head>
<body>
@StellarStoic
StellarStoic / index.html
Last active December 26, 2017 15:24
dOOgle.html
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="header">
@StellarStoic
StellarStoic / index.html
Last active January 2, 2018 21:43
Naloga Frizerski-Salon
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>FS-Hairstyler</title>
@StellarStoic
StellarStoic / media-query.css
Created November 24, 2018 19:52 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
//CSS
@StellarStoic
StellarStoic / keybase.md
Last active December 4, 2022 14:10
Keybase~GitHub Verification

Keybase proof

I hereby claim:

  • I am stellarstoic on github.
  • I am stellarstoic (https://keybase.io/stellarstoic) on keybase.
  • I have a public key ASCcRT7m7FiMKqzA8UnOxGDCTel_HrWFsyYoDnKJYEGefQo

To claim this, I am signing this object:

import requests
from bs4 import BeautifulSoup
from datetime import datetime, timedelta
import pytz
import re
# the URL of the page you want to scrape
url = "https://www.sloveniacontrol.si/Strani/Summary-C.aspx"
# send a GET request to the URL
SELECT
?airportName ?pageBanner ?logo ?icao ?iata ?faa ?website ?operator ?opening ?status ?elevation ?elevationUnitLabel ?image
?runway ?runwayLabel ?lengthValue ?lengthUnitLabel ?widthValue ?widthUnitLabel ?materialLabel
WHERE {
BIND(wd:Q8685 AS ?airport) # JFK International Airport's Wikidata ID
# Fetching general airport information
OPTIONAL { ?airport wdt:P373 ?airportName. }
OPTIONAL { ?airport wdt:P948 ?pageBanner. }
OPTIONAL { ?airport wdt:P154 ?logo. }
npub1qqqqqqz7nhdqz3uuwmzlflxt46lyu7zkuqhcapddhgz66c4ddynswreecw