str=$(cat <<'EOF'
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EOF
)
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
| 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} |
Книги: Основная книга по 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
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
| 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 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
| 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 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
| 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 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
| rules = [ | |
| Disable, | |
| DisableSyntax, | |
| ExplicitResultTypes, | |
| LeakingImplicitClassVal, | |
| NoValInForComprehension, | |
| ProcedureSyntax | |
| ] | |
| Disable { |
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
| version = "2.3.2" | |
| encoding = "UTF-8" | |
| style = IntelliJ | |
| lineEndings = unix | |
| maxColumn = 120 | |
| docstrings = ScalaDoc | |
| importSelectors = singleLine | |
| assumeStandardLibraryStripMargin = true | |
| includeCurlyBraceInSelectChains = true |
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
| 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 |
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
| [38;2;231;34;156m[[38;2;129;47;245mD[38;2;38;146;237mE[38;2;41;240;140mD[38;2;135;242;44mU[38;2;234;151;36mP[38;2;247;50;124m][0m | |
| [0m |
OlderNewer