This file contains hidden or 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 Spectre.Console; | |
using System.Collections.Concurrent; | |
using System.Diagnostics; | |
using System.Net.NetworkInformation; | |
Console.Title = "BOOSTEROID - PING TEST"; | |
List<Entry> hosts = []; | |
{ |
This file contains hidden or 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.Diagnostics; | |
using System.Diagnostics.CodeAnalysis; | |
using System.Globalization; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Xml.Linq; | |
namespace Jabber; | |
public static partial class Xml |
This file contains hidden or 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
#include "jid.h" | |
#include "xmpp.h" | |
#include <sstream> | |
using namespace std; | |
Jid::Jid() | |
{ | |
} |
This file contains hidden or 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.Text; | |
var sampleInput = "TestUuid/.NET"; | |
var expcetedUUIDStr = "e0198edc-d96b-3d2f-83ee-9a0614f93187"; | |
var uuidInstance = Uuid.FromName(Encoding.UTF8.GetBytes(sampleInput)); | |
var currentUUIDStr = uuidInstance.ToString(); | |
// test readonly array | |
var buf1 = uuidInstance.ToByteArray(); | |
var buf = uuidInstance.ToByteArray(); |
This file contains hidden or 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
// ==UserScript== | |
// @name Fill Xcloud Video Screen | |
// @author FRNathan13 | |
// @match https://www.xbox.com/pt-BR/play/launch/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=xbox.com | |
// @grant none | |
// @version 1.0 | |
// ==/UserScript== | |
(function() { |
This file contains hidden or 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.Runtime.CompilerServices; | |
using System.Text; | |
namespace CraftDedicatedServer; | |
public static class Util | |
{ | |
const int SEGMENT_BITS = 0x7f; | |
const int CONTINUE_BIT = 0x80; | |
const int MAX_STRING_LEN = short.MaxValue - 3; |
This file contains hidden or 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
// Use browser devtools on an steam depot from https://steamdb.info/depot/:depot_id | |
// This will fetch all manifest + basic depot info from webpage and return as function value. | |
function SteamDepotToXML() { | |
var manifests = []; | |
for(let temp of document.querySelectorAll(`tr[data-branch]`).entries()) { | |
if(!temp.length && !temp[1]) continue; | |
let node = temp[1]; |
This file contains hidden or 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
// ==UserScript== | |
// @name Shorts Blocker | |
// @version 0.1 | |
// @description Remove all 'shorts' video kind from youtube feed/subscriptions page. | |
// @match https://www.youtube.com/feed/subscriptions | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none | |
// ==/UserScript== | |
(() => { |
This file contains hidden or 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
// ==UserScript== | |
// @name Discord Channel List Sidebar | |
// @author FRNathan13 | |
// @description Implement split panel between channel list and chat container in discord app, size is saved when you change position of panel. Powered by jQuery and Split.js | |
// @version 1.3.2 | |
// @match https://discord.com/channels/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=discord.com | |
// @grant GM_setValue | |
// @grant GM_getValue | |
// @require https://code.jquery.com/jquery-3.6.0.min.js |
This file contains hidden or 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
public static class Util | |
{ | |
public static T SafeConvert<T>(object raw, T defaults) | |
where T : new() | |
{ | |
try | |
{ | |
return (T) Convert.ChangeType(raw, Convert.GetTypeCode(defaults)); | |
} |
NewerOlder