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
# brew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# nodejs | |
brew install node | |
# bower | |
npm install -g bower | |
# python 3 | |
brew install python3 |
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
# https://www.postgresql.org/docs/14/lo-funcs.html | |
INSERT INTO image (name, raster) | |
VALUES ('rich_python', lo_import('/Users/dsk/Downloads/rich_python.png')); | |
SELECT lo_export(image.raster, '/Users/dsk/Downloads/lo_export/rich_python1.png') FROM image | |
WHERE name = 'rich_python'; |
OlderNewer