니름 스프린트 사전 준비
따라하다가 잘 되지 않을 때는 프로젝트 대화방에 오셔서 물어보시면 도와드립니다.
감 잡기
| FROM ubuntu:17.10 | |
| # We don't optimize the size of fslayer here... | |
| RUN apt-get update | |
| RUN apt-get install -y \ | |
| software-properties-common \ | |
| ttf-ubuntu-font-family \ | |
| fonts-ubuntu-title \ | |
| fonts-ubuntu-font-family-console | |
| RUN add-apt-repository -y \ |
| """Print SQLAlchemy queries (including bind params). | |
| See also: http://docs.sqlalchemy.org/en/latest/faq/sqlexpressions.html#faq-sql-expression-string | |
| """ | |
| def show_query(query): | |
| qc = query.statement.compile( | |
| dialect=query.session.bind.dialect, |
| #!/usr/bin/env runhaskell | |
| module FizzBuzz where | |
| import Control.Monad | |
| data FizzBuzz = Otherwise Int | Fizz | Buzz | FizzBuzz deriving (Show) | |
| fizzBuzz :: Int -> FizzBuzz | |
| fizzBuzz i = case (i `mod` 3 == 0, i `mod` 5 == 0) of | |
| (False, False) -> Otherwise i |
| BEGIN; | |
| CREATE TABLE transaction ( | |
| id uuid PRIMARY KEY, | |
| time timestamptz NOT NULL DEFAULT (now()), | |
| ledger_id uuid NOT NULL, | |
| prev_id uuid, | |
| prev_time timestamptz, | |
| prev_balance decimal NOT NULL, | |
| genesis bool, -- It cannot be false, but only true or NULL. |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- How to install on Firefox: | |
| window.external.AddSearchProvider( | |
| "https://gist.github.com/dahlia/c4b8e88c60c8b273f7ede092b2c1c86b/raw/encykorea.aks.ac.kr.xml" | |
| ); | |
| --> | |
| <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> | |
| <ShortName>한국민족문화대백과사전</ShortName> | |
| <Description>한국민족문화대백과사전 검색</Description> | |
| <InputEncoding>UTF-8</InputEncoding> |
| import os | |
| from coincurve import PrivateKey, PublicKey # type: ignore | |
| from cryptography.hazmat.primitives.ciphers.aead import AESGCM # type: ignore | |
| __all__ = 'decrypt', 'encrypt' | |
| def encrypt(public_key: PublicKey, message: bytes) -> bytes: | |
| disposable_priv_key: PrivateKey = PrivateKey() |
| class Secp256k1 < Formula | |
| desc "Optimized C library for EC operations on curve secp256k1" | |
| homepage "https://github.com/bitcoin/secp256k1" | |
| url "https://github.com/bitcoin/secp256k1.git" | |
| option "with-module-recovery", "enable ECDSA pubkey recovery module" | |
| option "with-module-ecdh", | |
| "enable ECDH shared secret computation (experimental)" | |
| option "without-benchmark", "do not compile benchmark" |