니름 스프린트 사전 준비
따라하다가 잘 되지 않을 때는 프로젝트 대화방에 오셔서 물어보시면 도와드립니다.
감 잡기
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() |
<?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> |
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. |
#!/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 |
"""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, |
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 \ |
This userscript makes Wikipedia pages to show their corresponding Wikidata entity ID and link to it in the gray parentheses next to the entry title.
This userscript makes you to always see the canonical ("current") version of PostgreSQL docs instead of the specific (usually outdated) version of that.
Distributed under public domain.