Skip to content

Instantly share code, notes, and snippets.

View mpraglowski's full-sized avatar

Mirosław Pragłowski mpraglowski

View GitHub Profile
@mpraglowski
mpraglowski / iddd_polish.md
Last active November 3, 2019 14:34 — forked from tjaskula/iddd_polish.md
Description of IDDD Workshop in Polish

Translated from https://kalele.io/live-training/iddd/

Jak Twój zespół może wykorzystać DDD

Intensywne, 3-dniowe, warsztaty IDDD autorstwa Vaughna Vernona, prowadzone przez Tomasz Jaskułę

Wyjdź poza teorię DDD i zobacz jak Twój zespół może w pełni wykorzystać DDD do realizacji Twoich strategicznych inicjatyw w sposób, który pomoże Twojej firmie zdobyć przewagę konkurencyjną. W trakcie warsztatu kładziemy nacisk na tworzenie oprogramowania zgodnie z najlepszymi praktykami (Software Craftmanship) oraz odzwierciedlenie modelu domenowego w kodzie źródłowym zgodnie z metodami Agile. Pokazujemy przewagę tego podejścia nad rozwiązywaniem realnych problemów biznesowych używając wyłącznie technologii. Szkolenie przeznaczone jest dla zaawansowanych i średnio zaawansowanych programistów oraz architektów zainteresowanych tworzeniem oprogramowania i nauką modelowania domen przy użyciu Domain-Driven Design (DDD). W ramach warsztatu nauczymy niezbędnych podstaw, które wykorzystasz, jeśli Twoja organizacja rozważa impl

require 'rails_event_store'
require 'aggregate_root'
PaymentAuthorized = Class.new(RailsEventStore::Event)
PaymentSuccessed = Class.new(RailsEventStore::Event)
PaymentFailed = Class.new(RailsEventStore::Event)
PaymentCaptured = Class.new(RailsEventStore::Event)
class Payment
InvalidOperation = Class.new(StandardError)
@mpraglowski
mpraglowski / readinglist.py
Created August 6, 2016 23:54 — forked from ibroadfo/readinglist.py
Export Safari Reading List bookmarks to pinboard
#!/usr/bin/env python
"""
forked from http://alexwlchan.net/2015/11/export-urls-from-safari-reading-list/
Requires Python 3.
"""
import os
import plistlib
INPUT_FILE = os.path.join(os.environ['HOME'], 'Library/Safari/Bookmarks.plist')

Keybase proof

I hereby claim:

  • I am mpraglowski on github.
  • I am mpraglowski (https://keybase.io/mpraglowski) on keybase.
  • I have a public key whose fingerprint is 9237 1D42 6B87 55D2 58C6 EF69 9B9F FC1C 4066 8C8F

To claim this, I am signing this object:

@mpraglowski
mpraglowski / MyJob
Created June 16, 2014 16:34
Simplest Quartz.NET job
public class MyJob : IJob
{
public void Execute(IJobExecutionContext context)
{
// ... just get the job done here
}
}
02:13:20 (master=) ~/.vim$ vim
Error detected while processing /Users/mpraglowski/.vim/bundle/vim-zenroom2/plugin/zenroom2.vim:
line 65:
E128: Function name must start with a capital or "s:": g:zenroom_goyo_before()
line 67:
E133: :return not inside a function
line 74:
E193: :endfunction not inside a function
line 76:
E128: Function name must start with a capital or "s:": g:zenroom_goyo_after()
@mpraglowski
mpraglowski / css_resources.md
Created January 16, 2014 13:59 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@mpraglowski
mpraglowski / javascript_resources.md
Created January 16, 2014 13:59 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage