Keybinding | Action |
---|---|
Alt + f/b | Move cursor to previous/next word |
Ctrl + a/e | Move cursor to beginning/end of command |
Ctrl + xx | Toggle between the start of line and current cursor position |
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
# 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 | |
Original: https://github.com/kevinSuttle/macOS-Defaults/blob/master/REFERENCE.md
change file flags
usage: chflags [-fhv] [-R [-H | -L | -P]] flags file ...
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
[ | |
{ | |
"name": "corne-ish zen__main", | |
"author": "nikitajz" | |
}, | |
[ | |
{ | |
"x": 3, | |
"a": 6 | |
}, |
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
[ | |
{ | |
"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" | |
}, | |
[ | |
{ |
Magic words:
psql -U postgres
Some 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)
I'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'
#Note for Programming in Scala
##Chp.0 SBT & Scala Interpreter
-
Call scala interpreter by
sbt
.// enter scala interpreter