Skip to content

Instantly share code, notes, and snippets.

View Sighyu's full-sized avatar
🎯
Focusing

Sighyu Sighyu

🎯
Focusing
View GitHub Profile
@Sighyu
Sighyu / gist:ea090a71271e01036ad5c12379da911e
Created April 19, 2024 11:06
better besthttp logging modify BestHTTP.HTTPRequest.CallCallback method in with dnspy and add this
internal void CallCallback()
{
try
{
if (this.Callback != null)
{
this.Callback(this, this.Response);
}
}
catch (Exception ex)
@Sighyu
Sighyu / Colours.cs
Created February 4, 2023 14:36
Colours to hex
public static class Colours
{
public static Dictionary<string, string> ColoursDict = new Dictionary<string, string>
{
{ "aliceblue", "#f0f8ff" },
{ "antiquewhite", "#faebd7" },
{ "aqua", "#00ffff" },
{ "aquamarine", "#7fffd4" },
{ "azure", "#f0ffff" },
{ "beige", "#f5f5dc" },
//META{"name":"SpotifyDiscovery"}*//
function SpotifyDiscovery() {
this.initiated = false;
this.oSettings = {};
}
SpotifyDiscovery.prototype.getName = function () {
return "SpotifyDiscovery";
};
SpotifyDiscovery.prototype.getDescription = function () {