Instantly share code, notes, and snippets.

View curl-soap.cmd
curl "" -H "SOAPAction: """"" --data-binary @post.txt --comcodessed -k -D responseHeaders.txt -v -o response.txt
View gist:b3058ea8c1344c57bcd54705c58894fb

If you have two days to learn the very basics of modelling, Domain-Driven Design, CQRS and Event Sourcing, here's what you should do:

In the evenings read the Domain-Driven Design Quickly Minibook During the day watch following great videos (in this order):

  1. Eric Evans' What I've learned about DDD since the book
  2. Eric Evans' [Strategic Design - Responsibility Traps]{}
  3. Udi Dahan's [Avoid a Failed SOA: Business & Autonomous Components to the Rescue]{}
  4. Udi Dahan's [Command-Query Responsibility Segregation]{}
  5. Greg Young's [Unshackle Your Domain]{}
View pip on windows.cmd
%AppData%\..\Local\Programs\Python\Python35-32\Scripts\pip.exe install jsonschema
py -m pip install svglib
View scan.cmd
wget -nv -r -np -N --spider -l 6 --no-check-certificate -e robots=off --reject-regex="(\?C=)|(.*/img)|(.*/icons)|(.*/audio)|(.*/css)|(.*/img)|(.*/js)|(.*/swf)|(.*/images)|(.*/video)|(.*/sound)" -R "ico,html,txt,xml,json,jar,swf,zip,7z,unity3d,xnb,mp3,ogg,md5,pdb,exe" ""
View gist:43ac18e33ad87d1df921
### Keybase proof
I hereby claim:
* I am bojanbjelic on github.
* I am bojanbjelic ( on keybase.
* I have a public key whose fingerprint is 555A 849B 26DF 25C3 A7D3 56B3 A4A8 F039 9FB1 58BB
To claim this, I am signing this object:
View img2ascii.js
// taken from
//some variables
var r, g, b, gray;
var character, line = "";
//sprite stuff
var sprite = document.getElementById("sprite");
var W = sprite.width;
var H = sprite.height;
View gist:3f995b426c2f0d9039a6
View cassinikill.cmd
taskkill /IM WebDev.WebServer40.exe /F