str=$(cat <<'EOF'
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EOF
)
Книги: Основная книга по Symfony 2 (The Symfony Book): http://symfony.com/doc/current/book
Сборник рецептов для решения задач (The Symfony Cookbook):
http://symfony.com/doc/current/cookbook
Лучшие практики кода (Symfony Best Practices):
http://symfony.com/doc/current/best_practices
- (A) - доступно через AppStore
- (H) - доступно через Homebrew, через команду
brew cask install $name
- ($) - платное (но можно взять взломанные версии на сайте MacBed)
- ($, A) iStats Menus - мониторинг активности и состояния системы по типу AIDA, висит в трее.
- ($) TotalFinder - лучший аналог Total Commander
- ($) Little Snitch - файрвол и монитор сетевых подключений.
- ($) Paragon NTFS - поддержка записи на диски/флешки с системой NTFS
This file contains 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
import java.security.cert.X509Certificate | |
import java.security.{MessageDigest, PrivateKey, Signature} | |
import java.util.Date | |
import sun.security.pkcs.ContentInfo.DATA_OID | |
import sun.security.pkcs.PKCS9Attribute.{CONTENT_TYPE_OID, MESSAGE_DIGEST_OID, SIGNING_TIME_OID} | |
import sun.security.pkcs._ | |
import sun.security.util.DerOutputStream | |
import sun.security.x509.{AlgorithmId, X500Name} |
This file contains 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
trait Transformer[A, B] { | |
def transform(a: A): B | |
} | |
object Transformer { | |
import shapeless.{::, Generic, HList, HNil, Lazy, =:!=} | |
import cats.Functor | |
import cats.~> | |
import cats.syntax.functor._ |
This file contains 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
package pkg | |
import cats.{Applicative, Traverse} | |
import monocle.macros.{GenLens, Lenses} | |
import monocle.macros.syntax.lens._ | |
import monocle.function.all._ | |
import cats.syntax.option._ | |
import monocle.Traversal |
This file contains 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
package fix | |
package v0_11_0 | |
import metaconfig.Configured | |
import scalafix.v1._ | |
import scala.meta._ | |
class RenamePackages extends SemanticRule("RenamePackages") { | |
override def fix(implicit doc: SemanticDocument): Patch = { | |
Patch.replaceSymbols( |
This file contains 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
rules = [ | |
Disable, | |
DisableSyntax, | |
ExplicitResultTypes, | |
LeakingImplicitClassVal, | |
NoValInForComprehension, | |
ProcedureSyntax | |
] | |
Disable { |
This file contains 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
version = "2.3.2" | |
encoding = "UTF-8" | |
style = IntelliJ | |
lineEndings = unix | |
maxColumn = 120 | |
docstrings = ScalaDoc | |
importSelectors = singleLine | |
assumeStandardLibraryStripMargin = true | |
includeCurlyBraceInSelectChains = true |
This file contains 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
import scala.util._ | |
import scala.util.chaining._ | |
import scala.collection.immutable.SortedMap | |
import cats._ | |
import cats.syntax.all._ | |
object Generator { | |
object Domain { | |
import java.nio.charset.StandardCharsets.UTF_8 |