Skip to content

Instantly share code, notes, and snippets.

View shitcoding's full-sized avatar
💭
Coding shit

Vasiliy Ivanov shitcoding

💭
Coding shit
View GitHub Profile
@ahmedengu
ahmedengu / colab_xface_vnc.ipynb
Last active May 9, 2025 01:33
Use google colab as a remote machine with the help of ngrok, vnc server and xface desktop you can change the configurations and desktop environment as you please it's just a start
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
#
# Electrum - lightweight Bitcoin client
# Copyright (C) 2011 thomasv@gitorious
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
from functools import wraps
from async_fastapi_jwt_auth import AuthJWT
from fastapi import Depends, Request, status
from fastapi.security import HTTPBearer
from sqlalchemy.ext.asyncio import AsyncSession
from db.db import get_session
from helpers.auth_request import AuthRequest
from helpers.exceptions import AuthException