Skip to content

Instantly share code, notes, and snippets.

@cikabo
cikabo / web-servers.md
Created May 10, 2020 18:20 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000

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 https://www.infoq.com/minibooks/domain-driven-design-quickly. During the day watch following great videos (in this order):

  1. Eric Evans' What I've learned about DDD since the book https://www.infoq.com/presentations/ddd-eric-evans  https://youtu.be/lE6Hxz4yomA
  2. Eric Evans' [Strategic Design - Responsibility Traps]{http://www.infoq.com/presentations/design-strategic-eric-evans}
  3. Udi Dahan's [Avoid a Failed SOA: Business & Autonomous Components to the Rescue]{http://www.infoq.com/presentations/SOA-Business-Autonomous-Components}
  4. Udi Dahan's [Command-Query Responsibility Segregation]{http://www.infoq.com/presentations/Command-Query-Responsibility-Segregation}
  5. Greg Young's [Unshackle Your Domain]{http://www.infoq.com/presentations/greg-young-unshackle-qcon08}
@cikabo
cikabo / curl-soap.cmd
Created May 12, 2019 07:25 — forked from bojanbjelic/curl-soap.cmd
curl a SOAP service
curl "https://www.example.com/Service.svc" -H "SOAPAction: ""urn:service.example.com/IService/GetObject""" --data-binary @post.txt --comcodessed -k -D responseHeaders.txt -v -o response.txt