Skip to content

Instantly share code, notes, and snippets.

Bojan Bjelić bojanbjelic

Block or report user

Report or block bojanbjelic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bojanbjelic
bojanbjelic / curl-soap.cmd
Last active May 12, 2019
curl a SOAP service
View curl-soap.cmd
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
@bojanbjelic
bojanbjelic / gist:b3058ea8c1344c57bcd54705c58894fb
Last active May 12, 2019 — forked from SzymonPobiega/gist:5220595
DDD/CQRS/ES/Architecture videos
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 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}
View pip on windows.cmd
%AppData%\..\Local\Programs\Python\Python35-32\Scripts\pip.exe install jsonschema
py -m pip install svglib
View symboliclink.sh
@bojanbjelic
bojanbjelic / scan.cmd
Created Aug 19, 2015
wget directory structure (auto index, browsing allowed)
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" "http://www.example.int/"
View gist:43ac18e33ad87d1df921
### Keybase proof
I hereby claim:
* I am bojanbjelic on github.
* I am bojanbjelic (https://keybase.io/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:
@bojanbjelic
bojanbjelic / img2ascii.js
Created Apr 9, 2015
convert image to ascii
View img2ascii.js
// taken from http://thecodeplayer.com/walkthrough/cool-ascii-animation-using-an-image-sprite-canvas-and-javascript
//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
DateTime.Now.ToUniversalTime().ToString("o");
View cassinikill.cmd
taskkill /IM WebDev.WebServer40.exe /F
You can’t perform that action at this time.