- Эванс - Предметно-ориентированное проектирование
- Андрей Аксенов — Снесите это немедленно
- Simple Made Easy
- No silver bullet
- Проектирование Функций
- Не дайте Астронавтам Архитектуры вас запугать
- Цикломатическая сложность
| REM Delete eval folder with licence key and options.xml which contains a reference to it | |
| for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do ( | |
| for /d %%a in ("%USERPROFILE%\.%%I*") do ( | |
| rd /s /q "%%a/config/eval" | |
| del /q "%%a\config\options\other.xml" | |
| ) | |
| ) | |
| REM Delete registry key and jetbrains folder (not sure if needet but however) | |
| rmdir /s /q "%APPDATA%\JetBrains" |
Badoo Tech Blog: https://tech.badoo.com/ru/
Double VS single quotes: https://habr.com/ru/company/alfa/blog/447416/
Currently, there is an explosion of tools that aim to manage secrets for automated, cloud native infrastructure management. Daniel Somerfield did some work classifying the various approaches, but (as far as I know) no one has made a recent effort to summarize the various tools.
This is an attempt to give a quick overview of what can be found out there. The list is alphabetical. There will be tools that are missing, and some of the facts might be wrong--I welcome your corrections. For the purpose, I can be reached via @maxvt on Twitter, or just leave me a comment here.
There is a companion feature matrix of various tools. Comments are welcome in the same manner.
| import { Component } from "React"; | |
| export var Enhance = ComposedComponent => class extends Component { | |
| constructor() { | |
| this.state = { data: null }; | |
| } | |
| componentDidMount() { | |
| this.setState({ data: 'Hello' }); | |
| } | |
| render() { |
| var defaults = function(obj, source) { | |
| for (var prop in source) { | |
| if (obj[prop] === undefined) obj[prop] = source[prop]; | |
| } | |
| return obj; | |
| } | |
| var stringifyGETParams = function(url, data) { | |
| var query = ''; | |
| for (var key in data) { |
| #! /usr/bin/env bash | |
| ### | |
| # | |
| # install_mysql.sh | |
| # | |
| # This script assumes your Vagrantfile has been configured to map the root of | |
| # your application to /vagrant and that your web root is the "public" folder | |
| # (Laravel standard). Standard and error output is sent to | |
| # /vagrant/vm_build.log during provisioning. |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project name="Project-name-here" default="build" basedir="."> | |
| <target name="lock_check" description="Checks for vulnerabilities through a SensioLabs web service" | |
| depends="lock_reset,lock_get,lock_show"> | |
| <local name="vulnerabilities.clean"/> | |
| <loadfile property="vulnerabilities.clean" | |
| srcfile="${basedir}/build/logs/check_lock.log"> | |
| <filterchain> |
| // Marionette.Gauntlet v0.0.0 | |
| // -------------------------- | |
| // | |
| // Build wizard-style workflows with an event-emitting state machine | |
| // Requires Backbone.Picky (http://github.com/derickbailey/backbone.picky) | |
| // | |
| // Copyright (C) 2012 Muted Solutions, LLC. | |
| // Distributed under MIT license | |
| Marionette.Gauntlet = (function(Backbone, Picky, Marionette, $, _){ |
| <?php | |
| namespace Foo\CoreBundle\Form\EventListener; | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| use Symfony\Component\Form\FormEvents; | |
| use Symfony\Component\Form\FormEvent; | |
| use Symfony\Component\Form\FormInterface; | |
| /** | |
| * Changes Form->bind() behavior so that it treats not set values as if they |