This file contains 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
#! /usr/bin/python3 | |
# download all PlaysTv videos of a user | |
# To find the user id, navigate to the your profile while logged in (IMPORTANT!) | |
# View source of the page, In the <html> tag there's data-conf attribute. | |
# The json in there will have the user id under [login_user.id] | |
user_id = "<playstv user guid>" | |
# Replace the <playstv user guid> above with your ID |
This file contains 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
// Written.... In Swift | |
import Foundation | |
/// Generates the first n Fibonacci numbers printing | |
/// "Buzz" when F(n) is divisible by 3. | |
/// "Fizz" when F(n) is divisible by 5. | |
/// "FizzBuzz" when F(n) is divisible by 15. | |
/// "BuzzFizz" when F(n) is prime. | |
/// the value F(n) otherwise. | |
/// |