One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| # atualizar o repositório local | |
| git pull | |
| # entrar no branch | |
| git checkout MASTER | |
| # ele realizará e aplicar um diff entre os branch deixando os arquivos adicionados no git porém pedente de commit, ou seja não realizará um commit automatico do merge | |
| git merge FEATURE_DE_77_COMMITS --squash | |
| # faça um commit do branch com o comentário que bem entender e todos os commit's do outro branch seram ignorados |
| <?php | |
| /** | |
| * Progress Bar Trait | |
| * @package Core\Traits | |
| * @author Marco Souza<[email protected]> | |
| */ | |
| namespace Core\Traits; |
| <?php | |
| class Factory { | |
| const W = 'W'; | |
| const LOAD_BALANCE_W = 'BALANCE_W'; | |
| const X = 'X'; | |
| const LOAD_BALANCE_X = 'BALANCE_X'; | |
| const Y = 'Y'; | |
| const LOAD_BALANCE_Y = 'BALANCE_Y'; | |
| const Z = 'Z'; | |
| const LOAD_BALANCE_Z = 'BALANCE_Z'; |
| #!/bin/sh -e | |
| # | |
| # You can run this script directly from github as root like this: | |
| # curl -sS https://gist.githubusercontent.com/fabiorphp/a94e0ea2558b3d10185d6d69d053c2b2/raw/configure_docker0.sh | sudo bash -s - 172.31.0.21/16 | |
| # | |
| # * Make sure you replace "192.168.254.0/24" with the network that you want to use | |
| # | |
| # NOTE: This script is intended for Debian / Ubuntu only! | |
| if [ $# -lt 1 ]; then |
| (ns playground | |
| (:require [<service>.components :as b-comp] | |
| [clojure.test :refer :all] | |
| [com.stuartsierra.component :as component] | |
| [common-core.system :as sys] | |
| [criterium.core :as criterium])) | |
| (defn run-criterium [] | |
| (criterium/with-progress-reporting (criterium/quick-bench (b-comp/create-and-start-system!) :verbose))) | |
| (defn instrument-start [timings component] |