Drawing text animation using embedded SVG font path
SVG path from Ubuntu-mono font : converted using batik-ttf2svg; CSS animation from https://github.com/dboudro/AnimateSVGText
A Pen by Taewook Kang on CodePen.
| import cx_Oracle | |
| from telethon import TelegramClient | |
| db_server = '1.2.3.4' | |
| db_service = 'DBSID1' | |
| db_id = 'dbuserid' | |
| db_pw = 'dbpassword' | |
| db_sql = """ | |
| select to_char(sysdate 'YYYYMMDD') from dual | |
| """ |
| /** | |
| * 음양력변환 함수 (한국천문연구원 Open API 이용) | |
| * 키발급: https://www.data.go.kr/dataset/15012679/openapi.do | |
| * 발급받은 키로 __openapi_service_key__ 부분 교체 | |
| */ | |
| /** | |
| * 음력 10월 3일의 2013년 양력일자를 알고 싶은 경우 lun2sol("2013", "10", "03", 1) 으로 호출 | |
| * 응답으로는 '2013/11/05' 와 같이 스트링을 리턴. | |
| * yoon (윤달구분) : 1 - 평달, 2 - 윤달 |
| .view_title h4 { | |
| font-family: 나눔고딕; | |
| } | |
| body, p, td, h2, a, input, textarea { | |
| font-family: 나눔고딕; | |
| } | |
| .member { | |
| font-family: 나눔바른고딕; |
Drawing text animation using embedded SVG font path
SVG path from Ubuntu-mono font : converted using batik-ttf2svg; CSS animation from https://github.com/dboudro/AnimateSVGText
A Pen by Taewook Kang on CodePen.
| import os | |
| import getpass | |
| from pyasn1.codec.der import decoder as der_decoder | |
| from cryptography.hazmat.backends import default_backend | |
| from cryptography.hazmat.primitives import padding, hashes | |
| from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
| from cryptography.hazmat.primitives.asymmetric import padding as asympad | |
| from cryptography.hazmat.primitives.serialization import load_der_private_key |
| " git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
| if has('win32') | |
| language English_United States | |
| endif | |
| set langmenu=en_US.UTF-8 | |
| set encoding=utf-8 | |
| set nocompatible | |
| filetype off |
| import sys | |
| import base64 | |
| from M2Crypto import Rand, EVP | |
| ENC_METHOD="aes_256_cbc" | |
| MODE_B64, MODE_BIN = 0, 1 | |
| IV_LEN = 16 | |
| def encrypt(s, key, mode=MODE_BIN): | |
| iv = Rand.rand_bytes(IV_LEN) # can be : iv = os.urandom(IV_LEN) |
| import time | |
| import socket | |
| import paramiko | |
| import socks | |
| SOCKS5_HOST = "nnn.nnn.nnn.nnn" | |
| SOCKS5_PORT = 12345 | |
| SERVER_IP = "nnn.nnn.nnn.nnn" | |
| SERVER_PORT = 54321 |
| /** | |
| * 음력일자를 받아서 양력일자를 리턴하는 함수 (한국천문연구원 사이트를 이용) | |
| * 음력 10월 3일의 2013년 양력일자를 알고 싶은 경우 lun2sol(2013, 10, 3, 1) 으로 호출 | |
| * 응답으로는 '2013/11/05' 와 같이 스트링을 리턴. | |
| * yoon (윤달구분) : 1 - 평달, 2 - 윤달 | |
| */ | |
| function lun2sol(yyyy, mm, dd, yoon) { | |
| yyyy = parseInt(yyyy, 10); mm = parseInt(mm, 10); dd = parseInt(dd, 10); | |
| if ((yyyy <= 1391) || (yyyy >= 2050)) { |
| #!/data/local/bin/python | |
| # AES encryption/decryption with zlib compression | |
| from Crypto.Cipher import AES | |
| from Crypto import Random | |
| import hashlib | |
| import zlib | |
| import base64 | |
| _block_size = 16 |