Query Chainweb transfer events within a block range for a given chain.
Usage example:
CHAIN=1 MINHEIGHT=1420000 MAXHEIGHT=14201000 bash ./tranfers.sh
@(set "0=%~f0"^)#) & powershell -nop -c iex([io.file]::ReadAllText($env:0)) & exit /b | |
#:: just copy-paste into powershell - it's a standalone hybrid script | |
sp 'HKCU:\Volatile Environment' 'Edge_Removal' @' | |
$also_remove_webview = 1 | |
## why also remove webview? because it is 2 copies of edge, not a slimmed down CEF, and is driving bloated web apps | |
$also_remove_widgets = 1 | |
## why also remove widgets? because it is a webview glorified ad portal on msn and bing news cathering to stupid people | |
$also_remove_xsocial = 1 | |
## why also remove xsocial? because it starts webview setup every boot - xbox gamebar will still work without the social crap |
/** | |
* ABOUT | |
* | |
* This is a Twitter NO-API/Dependency-Free follower sniffer and auto-blocker. | |
* | |
* This function performs automatic bulk blocking with NO-API | |
* and NO-external-dependencies to run. You must run this snippet | |
* directly on your Console, it will sniff your followers list | |
* search for previous given keywords, if found on username or description, | |
* the user will be automatically blocked. |
{ stdenv, autoPatchelfHook }: | |
stdenv.mkDerivation rec { | |
pname = "wasmcloud-binaries"; | |
version = "1.0"; | |
src = ./.; # Assuming the binaries are in the current directory | |
nativeBuildInputs = [ autoPatchelfHook ]; |
public static class HtmlTruncator | |
{ | |
public static string LimitOnWordBoundary(string str, int maxLength, string ellipses = "...") | |
{ | |
XmlDocument doc = new XmlDocument(); | |
XmlParserContext context = new XmlParserContext(doc.NameTable, new XmlNamespaceManager(doc.NameTable), null, XmlSpace.Preserve); | |
XmlTextReader reader = new XmlTextReader("<xml>" + str + "</xml>", XmlNodeType.Document, context); | |
bool shouldWriteEllipses; |
This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:
Additional Resources
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls | |
# http://wiki.nginx.org/QuickStart | |
# http://wiki.nginx.org/Configuration | |
# | |
# Generally, you will want to move this file somewhere, and start with a clean | |
# file but keep this around for reference. Or just disable in sites-enabled. | |
# |
You can find usages in the GDScript Unirest plugin
This is a fast serializer/deserializer written in GDScript to convert a JSON (Dictionary) to a class, using something similar to the Reflection concecpt.
json_to_class
can be used to convert a Dictionary to a Class. All keys in the Dictionary will be treated as variables and their types will be guessed in the best way possible.
A class (defined by the class_name
keyword) must extend Reference
or Object
or be an inner class
, or else Godot will not able to see its properties.
It is also possible to deserialize a JSON key to a class property with a different name using the export
hint as a variable name.
example usage: