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/env python | |
from argparse import ArgumentParser | |
from base64 import urlsafe_b64encode | |
from hashlib import sha256 | |
from pprint import pprint | |
from secrets import token_urlsafe | |
from sys import exit | |
from urllib.parse import urlencode | |
from webbrowser import open as open_url |
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
https://drive.google.com/file/d/1o4yu3-FKQSXujbt9xDK15rwXMNjUn0xX/view?usp=drivesdk |
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
using System; | |
namespace CW1 | |
{ | |
public class QueraQuestion17675 | |
{ | |
static int previousFib = 0; | |
static int lastFib = 1; | |
public static void Main(string[] args) | |
{ |
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
res = [] | |
n = 3 | |
def solve(size, ans): | |
global res, n | |
if size == 1 : | |
for i in range(1, n + 1): | |
res.append(ans + str(i)) | |
else: |
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
import typing | |
import itertools | |
MAX_POSITION = 6 | |
MIN_NUM = 1 | |
MAX_NUM = 12 | |
temp_selected_nums: typing.List[int] = [] | |
def is_multiple(a, b): |
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
<select aria-label="Instance" class="detailed-dropdown select" name="size"> | |
<option value="a0">A0: 1 Cores, 0.75 GB RAM, 20 GB Temporary storage, $0.020/hour</option> | |
<option value="a1">A1: 1 Cores, 1.75 GB RAM, 70 GB Temporary storage, $0.090/hour</option> | |
<option value="a2">A2: 2 Cores, 3.5 GB RAM, 135 GB Temporary storage, $0.180/hour</option> | |
</select> |
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
class_name MyParticles2D01 | |
extends Particles2D | |
# Declare member variables here. Examples: | |
# var a = 2 | |
# var b = "text" | |
# Called when the node enters the scene tree for the first time. |
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
<?php | |
/** @noinspection SpellCheckingInspection */ | |
/** @noinspection PhpMissingBreakStatementInspection */ | |
namespace TelegramBot\Util; | |
use TelegramBot\Exception\UtilException; |
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
from httpx import AsyncClient | |
class SpotifyUser: | |
authorize_url = "https://accounts.spotify.com/authorize" | |
token_url = "https://accounts.spotify.com/api/token" | |
def __init__(self, client_id, client_secret, redirect_uri): | |
self.client_id = client_id | |
self.client_secret = client_secret |
NewerOlder