Bounded Contexts provide an isolated space for experimentation. Isolation is fundamental to provide safety. If your model is shared with too many parties, people would not run experiments, afraid of breaking someone else’s code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" TODO: split up config into multiple files | |
" source $HOME/.config/nvim/vim-plug/plugins.vim | |
" source $HOME/.config/nvim/<category>/<sub-category-filename>.vim | |
" source $HOME/.config/nvim/<plug-config>/<plugin-name>.vim | |
set nocompatible | |
filetype off | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the name and the supported language of the project | |
PROJECT(hello-world C) | |
# Set the minimum version of cmake required to build this project | |
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) | |
# Use the package PkgConfig to detect GTK+ headers/library files | |
FIND_PACKAGE(PkgConfig REQUIRED) | |
PKG_CHECK_MODULES(GTK3 REQUIRED gtk+-3.0) | |
# Setup CMake to use GTK+, tell the compiler where to look for headers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
date_default_timezone_set('UTC'); | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
ini_set("display_startup_errors", '1'); | |
ini_set("log_errors", '1'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
date_default_timezone_set('UTC'); | |
error_reporting(E_ALL); | |
ini_set('display_errors', '1'); | |
ini_set("display_startup_errors", '1'); | |
ini_set("log_errors", '1'); |
for 4.2.4 or higher,4.2.5,4.2.6 ,it's works , this is the way which makes Always in evaluation mode 。
- go to the dir :
/Applications/Beyond Compare.app/Contents/MacOS
- change the name
BCompare
toBCompare.bak
- touch a file name
BCompare
, andchmod a+u BCompare
- insert BCompare the content :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require __DIR__ . '/vendor/autoload.php'; | |
if (php_sapi_name() != 'cli') { | |
throw new Exception('This application must be run on the command line.'); | |
} | |
/** | |
* Returns an authorized API client. | |
* @return Google_Client the authorized client object |
This gist is about using a Multi-Tenancy strategy for your Doctrine entities.
See: https://gist.github.com/CarlosEduardo/aedfa640e3f7f22451686fb7e57228e3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDwIzBsV/ED8Z+Bzlxlw5YU+FsAVyqelS0dwQmpZGnLvVmEVhYgLrrjuU/sr4DDTOLzCYVpZkDgCZH80f/UIQLiOQ4AkDvXnP8FkTkZ5YUj1WqHIaYpQEUXLDCkC7vpy0Am8RK434aLtUmvRIXyhq34NF7y+AKiIADVV4r8npUHeXouSO5b0iNJrywHZES6qKt5ARQ3uS/SVXjxh1tmh9sP8zqrik6aGk1C/U9yEBKbwwRhnq71dD+4m1Wt68VH6Gv+obJah/CsoNOr9440yRzVKrNQLLqaxPgf4tHMjrfHRRqwVqYc5N18iHF5BghkI+9rtXnDE5bMFMiMmttxpM6kVnzdLCwExR5QrZcxbVvSB70Pf7kL5JviaLgWQyf71gcixml3dpcGgrm3h9RI46m7+Ac91CGypVsnowHOShW5dCqP1fE2UNs8P9gwthfteCCWsIjo1OavyRcNyQOzEv97SK4DDiddUrVHcWtXWfR0UUT44P1a+1Zdixd+tUZ2XAqlhPri0BF2oZyZZYkpCIWKywGWUPBKQFd1eKK8TAnCRHjnmrDpjWynMKeGP3BPF6h/oCPNkVHd5WC3gpAUoYIURrymwabPhShExzLpGXB2hyS2Do8s92P1Entru228NOEZKOXzKN5G2im4RuwqqOm4jSfX4/P5sM1+cnTRV1IaVQ== [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
percona-mysql-router.x86_64 8.0.15-6.1.el6 installed | |
cat my.cnf | |
# Percona Server template configuration | |
# | |
# For advice on how to change settings please see | |
# http://dev.mysql.com/doc/refman/8.0/en/server-configuration-defaults.html | |
[mysqld] | |
# | |
# Remove leading # and set to the amount of RAM for the most important data |