Skip to content

Instantly share code, notes, and snippets.

View CreativeNotice's full-sized avatar

Ryan Mueller CreativeNotice

View GitHub Profile
@CreativeNotice
CreativeNotice / ryan-favorite-windows-dev-setup.md
Last active May 19, 2020 21:39
Ryan's favorite Windows dev setup

Why

Because as developers we establish our workspace over the years to be most comfortable and effecient for ourselves. I've had to reinstall Windows or have gotten a new laptop a few times in the last few years and realize I don't have my favoirite setup and tools documented anywhere.

This is a very opnionated document because it's for myself. If you happen to arrive here, that's cool, leave me some comments if you see an error or have a suggestion, but don't get offened if I don't change my setup. It's personal after all.

From Scratch

Hi Ryan, you're installing from scratch...

First steps

  1. New PC, so make sure you're on the work domain first thing!
@cosimo
cosimo / wget-exit-codes.txt
Last active September 15, 2023 10:09
wget exit codes
This is the list of exit codes for wget:
0 No problems occurred
1 Generic error code
2 Parse error — for instance, when parsing command-line options, the .wgetrc or .netrc…
3 File I/O error
4 Network failure
5 SSL verification failure
6 Username/password authentication failure
7 Protocol errors
function xmlToStruct(xml x) {
var s = {};
if(xmlGetNodeType(x) == "DOCUMENT_NODE") {
s[structKeyList(x)] = xmlToStruct(x[structKeyList(x)]);
}
if(structKeyExists(x, "xmlAttributes") && !structIsEmpty(x.xmlAttributes)) {
s.attributes = {};
for(var item in x.xmlAttributes) {