#Note for Programming in Scala
##Chp.0 SBT & Scala Interpreter
-
Call scala interpreter by
sbt.// enter scala interpreter
#Note for Programming in Scala
##Chp.0 SBT & Scala Interpreter
Call scala interpreter by sbt.
// enter scala interpreterI've done some comparisons of the methods above + RE compiled.
Python 3.7.4
I've used the book from project Gutenderg.
from urllib.request import urlopen
# Download the book Alice’s Adventures in Wonderland, by Lewis Carroll
text = urlopen('https://www.gutenberg.org/files/11/11-0.txt').read().decode('utf-8')
# Split it into the separate chapters and remove table of contents, etc
sep = 'CHAPTER'
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| [ | |
| { | |
| "name": "Corne, default layer", | |
| "author": "https://github.com/c0psrul3", | |
| "plate": false, | |
| "keyboard-layout-editor": "http://www.keyboard-layout-editor.com/#/gists/adfa7c3cd8f0c6d3a7b9155c6eab1748#file-corne-crkbd_c0psrul3-default-json", | |
| "qmk-config": "https://config.qmk.fm/#/crkbd/rev1/LAYOUT" | |
| }, | |
| [ | |
| { |
| [ | |
| { | |
| "name": "corne-ish zen__main", | |
| "author": "nikitajz" | |
| }, | |
| [ | |
| { | |
| "x": 3, | |
| "a": 6 | |
| }, |
Original: https://github.com/kevinSuttle/macOS-Defaults/blob/master/REFERENCE.md
change file flags
usage: chflags [-fhv] [-R [-H | -L | -P]] flags file ...
| # Cheatsheet | |
| https://franzdiebold.github.io/polars-cheat-sheet/Polars_cheat_sheet.pdf | |
| # PyData by datenzauberai | |
| https://github.com/datenzauberai/PyConDE-2023--Polars-make-the-switch/blob/main/Polars%20-%20make%20the%20switch%20to%20lightning-fast%20dataframes%20-%20Versand.pdf | |
| # More examples | |
| https://github.com/martinbel/polars-tutorial/tree/master | |