They're not all from cleancss, but they are all external sites.
I looked at the Twitter account expecting to learn who Dan was. Instead, it seems Dan is not a real human. Dan's Tools is some sort of roll-up company that acquires random tools.
> We're excited to announce https://commandlinefu.com has become a part of Dan's Tools. Complete with a redesign! Show off your command line chops.
Came here to say this. If this was a bunch of front end stuff that you could grab from Github then I would use it. Although for non-sensitive things it may be handy.
SnD Reverser Tool if you're looking for an oldschool, really tiny / lightweight, native (and also cool looking) application. Such tools are meant to be native.
There is (perhaps unsuprisingly) a lot of overlap between what these scripts do and what Easy Data Transform does. But Easy Data Transform gives you the option to chain multiple transforms together and it runs locally (rather than uploading your potentially sensitive data to someone else's server). However it is commercial software, rather than free.
Speaking of which, what are people using to procedurally convert JSON to XML locally? Let's say for JSON API use by a language that provides an XML library.
If you’re converting to XML, you presumably wish to transform the data, in which case you should be using XPath through XSLT or XQuery; JSON conversion is now a built-in feature.
Not sure I understand your API example, but fwiw in Python I use xmltodict [0] specifically the unparse function to convert a dict to XML. I combine this with ujson for speedy JSON [1] and defusedXML [2] for safety.
One curious thing about the What's My IP Address? page (the only one I looked at) -- it also detected 4 other devices on my network (192.168.xx.xx, 10.0.xx.xx, etc). But how?
Well, there's a list of 92 ip addresses (iplist -- it's a slightly weird list but I suppose it's based on common router and cable modem addresses). For each one, it runs an XmlHTTPRequest(). But none of the detected IP addresses are running web servers, you say. No matter. Most TCP stacks will send a TCP reset if there's nothing listening on the port (this can often be disabled with the proper incantation) which will result in an onerror callback and therefore there is a device If there is no device (or TCP reset is disabled) it will eventually result in the ontimeout callback. And of course, if there is a web server running, the success callback will trigger. So success or an failure indicates a device on your network.
I'm mildly surprised this is allowed by browsers, but I can't think of an easy way to prevent it, either.
(That said, were I the tool author, once I found any hit, I would then scan the whole /24 that the hit was in. But then I'd be here being more than mildly surprised.)
39 comments
[ 2.7 ms ] story [ 86.2 ms ] threadI looked at the Twitter account expecting to learn who Dan was. Instead, it seems Dan is not a real human. Dan's Tools is some sort of roll-up company that acquires random tools.
> We're excited to announce https://commandlinefu.com has become a part of Dan's Tools. Complete with a redesign! Show off your command line chops.
https://twitter.com/danstools00/status/994927174993022976
Also, the pages are filled with big banner advertisements.
Like:
Convert 60mi in 23hr15m23s to:
miles per minute
km per minute
mph
kph
etc., etc.
https://www.depicus.com/swim-bike-run/pace-conversion-chart
Although it's very experimental and this particular query doesn't work right now. I'll take a look soon
trying to see if qalculate can do that as well.
* Java, with language bindings to other JVM-based languages such as Scala
* .NET, with language bindings to .NET-based languages such as C# and Visual Basic
* Native, with language bindings to C, C++, PHP, and Python
* JavaScript, running in all modern browsers and on Node.js
XPath is a powerful language in itself; you may not need to use XSLT or XQuery at all.
https://forum.textpattern.com/viewtopic.php?id=37932
Looking forward to exploring more, thanks.
https://www.w3.org/TR/xpath-functions-31/
A lot has changed. It’s a functional programming language now.
[0] https://pypi.org/project/xmltodict/
[1] https://pypi.org/project/ujson/
[2] https://pypi.org/project/defusedxml/
Well, there's a list of 92 ip addresses (iplist -- it's a slightly weird list but I suppose it's based on common router and cable modem addresses). For each one, it runs an XmlHTTPRequest(). But none of the detected IP addresses are running web servers, you say. No matter. Most TCP stacks will send a TCP reset if there's nothing listening on the port (this can often be disabled with the proper incantation) which will result in an onerror callback and therefore there is a device If there is no device (or TCP reset is disabled) it will eventually result in the ontimeout callback. And of course, if there is a web server running, the success callback will trigger. So success or an failure indicates a device on your network.
(That said, were I the tool author, once I found any hit, I would then scan the whole /24 that the hit was in. But then I'd be here being more than mildly surprised.)
It is indeed a weird list[1].
[1] https://gist.github.com/wlonkly/b39f8fe37c8455bcc0bce6a7549a...