Skip to content

Instantly share code, notes, and snippets.

View vlOd2's full-sized avatar
🦆
Ducks

vlOd vlOd2

🦆
Ducks
  • Romania
  • 12:27 (UTC +03:00)
View GitHub Profile
@vlOd2
vlOd2 / gist:9202e85cfcecbda23de15a606b13176d
Last active December 21, 2023 21:09
ClassiCube Client important API documentation
C: Client
S: Server
== ClassiCube Login ==
C: Makes blank GET request to https://www.classicube.net/api/login/
S: Server responds with {"authenticated":false,"errors":[],"token":<random token>,"username":null} and sets a useless session cookie
C: Makes POST request to https://www.classicube.net/api/login/ with the useless session cookie and the following post data: username=<username>&password=<password>&token=<random token from previos response>&login_code=<login code (if required) or empty>
S: Replies with either {"authenticated":true,"errors":[],"token":"","username":"<username>"} (success) or {"authenticated":true,"errors":[<error1>,<error2> etc],"token":"","username":"<username>"} (failure)
S: Sets the proper session cookie on success
@vlOd2
vlOd2 / gist:1c3c15ac559c30b90cde709d84b39e60
Last active June 21, 2024 12:46
Install .NET Framework 4.0 and 4.5 on VS 2022
This guide explains how to install .NET Framework 4.0 and 4.5 on VS 2022, as it doesn't support these versions out of the box.
Microsoft says these versions are outdated but many people still need them to maintain legacy apps.
Requirements:
- VS 2022
- 7-zip (I haven't tested WinRar)
Notes:
- When .NET 4.0 is mentioned, it means .NET Framework 4.0
- When it's mentioned to open as an archive or un-zip, use 7-zip