Skip to content

Instantly share code, notes, and snippets.

@bakursait
bakursait / Top_Public_Time_Servers.md
Created November 10, 2024 02:08 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@bakursait
bakursait / get_yt_video_id.py
Created March 10, 2023 17:31 — forked from kmonsoor/get_yt_video_id.py
Extract Video-ID from a Youtube url
# initial version: http://stackoverflow.com/a/7936523/617185 \
# by Mikhail Kashkin(http://stackoverflow.com/users/85739/mikhail-kashkin)
def get_yt_video_id(url):
"""Returns Video_ID extracting from the given url of Youtube
Examples of URLs:
Valid:
'http://youtu.be/_lOT2p_FCvA',
'www.youtube.com/watch?v=_lOT2p_FCvA&feature=feedu',