Skip to content

Instantly share code, notes, and snippets.

View vladimirnani's full-sized avatar

Vladimir Nani vladimirnani

View GitHub Profile
@xpepper
xpepper / The Many Meanings of Event-Driven Architecture.md
Created June 13, 2018 10:50
My notes on the talk "The Many Meanings of Event-Driven Architecture" by Martin Fowler (GOTO 2017)

GOTO 2017 • The Many Meanings of Event-Driven Architecture - Martin Fowler

(the video is here, the original talk notes are here)

At least one of those four patterns are in play when you talk about "event-driven" architectures:

  1. Event Notification: components communicating via events
  2. Event-carried State Transfer: allowing components to access data without calling the source
  3. Event Sourcing: using an event log as the primary record for a system
  4. CQRS: having a separate component for updating a store from any readers of the store
@mikestone14
mikestone14 / gist:11198630
Created April 23, 2014 00:08
Getting a GoDaddy domain to point to a Heroku app.
@vladimirnani
vladimirnani / proxy_switch.py
Last active December 31, 2015 05:39
Flips network connection in Windows.
import wmi
from _winreg import *
NETWORK_NAME = 'Local Area Connection'
REG_KEY = 'Software\Microsoft\Windows\CurrentVersion\Internet Settings'
def main():
c = wmi.WMI()
key = OpenKey(HKEY_CURRENT_USER, REG_KEY, 0, KEY_WRITE)
adapter = [a for a in c.Win32_NetworkAdapter()
@henriquemoody
henriquemoody / sublime-text-2.sh
Last active July 8, 2021 09:54
Install Sublime Text on Fedora.
#!/usr/bin/env bash
# Usage: {script} [ OPTIONS ] TARGET VERSION
#
# TARGET Default target is "/usr/local".
# VERSION If not defined tries to get the build into the Sublime Text 2 website.
#
# OPTIONS
#
# -h, --help Displays this help message.
#