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
''' https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoContentDetails.html#a0527b84283db20cf2ef8f3de22f65606 | |
Dim ts As TimeSpan = System.Xml.XmlConvert.ToTimeSpan(vid.ContentDetails.Duration) | |
Me.Length = ts.TotalSeconds() |
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
# http://lite.ip2location.com/ | |
# http://stackoverflow.com/questions/3650006/get-country-of-ip-address-with-php | |
# IP Number = 16777216*w + 65536*x + 256*y + z | |
# where IP Address = w.x.y.z | |
# | |
# To reverse IP number to IP address, | |
# w = int ( IP Number / 16777216 ) % 256 | |
# x = int ( IP Number / 65536 ) % 256 | |
# y = int ( IP Number / 256 ) % 256 |
NewerOlder