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 Warframe.Market Order Bump | |
// @namespace http://tampermonkey.net/ | |
// @version 1.6 | |
// @description Bump all your warframe.market orders with a button | |
// @author occluder | |
// @match https://warframe.market/profile/* | |
// @connect api.warframe.market | |
// @connect warframe.market | |
// @grant GM.xmlHttpRequest |
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 class SnakeCaseNamingPolicy : JsonNamingPolicy | |
{ | |
public override string ConvertName(string name) | |
{ | |
const char underscore = '_'; | |
ReadOnlySpan<char> chars = name; | |
Span<char> replacement = stackalloc char[chars.Length * 2]; | |
int i = 1; | |
int offset = 0; |