from math import ceil
def chunk(lst, size):
return list(
map(lambda x: lst[x * size:x * size + size],
list(range(0, ceil(len(lst) / size)))))
#chunk([1, 2, 3, 4, 5], 2) # [[1,2],[3,4],[5]]
print (chunk([1, 2, 3, 4, 5], 2)) # [[1,2],[3,4],[5]]
(https://www.30secondsofcode.org/python/s/chunk)
https://support.sas.com/documentation/onlinedoc/91pdf/sasdoc_91/base_macro_6997.pdf
https://wikidocs.net/32176
postgres=# CREATE USER wikijs WITH PASSWORD 'wikijsrocks';
CREATE ROLE
postgres=# CREATE DATABASE wiki OWNER wikijs;
CREATE DATABASE
in your pg_hba.conf, modify
local all postgres md5
to
local all postgres trust
(https://stackoverflow.com/questions/21483540/postgres-password-authentication-issue)
Invoke-WebRequest -Uri "https://github.com/Requarks/wiki/releases/download/2.4.107/wiki-js-windows.tar.gz" -OutFile "wiki-js.tar.gz"
브라우저에서 간단히 그리는 클라우드 아키텍처 다이어그램