- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| 1. SHOW ALL DATABASES | |
| show dbs | |
| 2. SHOW CURRENT DATABASE | |
| db | |
| 3. CREATE DATABASE | |
| use transactions | |
| 4. CREATE COLLECTION / TABLE |
| const countries = [{key: 'af', value: 'af', flag: 'af', text: 'Afghanistan' }, | |
| {key: 'ax', value: 'ax', flag: 'ax', text: 'Aland Islands' }, | |
| {key: 'al', value: 'al', flag: 'al', text: 'Albania' }, | |
| {key: 'dz', value: 'dz', flag: 'dz', text: 'Algeria' }, | |
| {key: 'as', value: 'as', flag: 'as', text: 'American Samoa' }, | |
| {key: 'ad', value: 'ad', flag: 'ad', text: 'Andorra' }, | |
| {key: 'ao', value: 'ao', flag: 'ao', text: 'Angola' }, | |
| {key: 'ai', value: 'ai', flag: 'ai', text: 'Anguilla' }, | |
| {key: 'ag', value: 'ag', flag: 'ag', text: 'Antigua' }, | |
| {key: 'ar', value: 'ar', flag: 'ar', text: 'Argentina' }, |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| add_newline = false | |
| [character] | |
| symbol = "" | |
| error_symbol = "✖" | |
| vicmd_symbol = "" | |
| use_symbol_for_status = true | |
| [cmd_duration] | |
| min_time = 4 |
| stderr: --2017-05-12 17:21:27-- http://example.com/ | |
| Resolving example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946 | |
| Connecting to example.com|93.184.216.34|:80... | |
| stderr: connected. | |
| stderr: HTTP request sent, awaiting response... | |
| stderr: 304 Not Modified | |
| stderr: File ‘~/tmp/index.html’ not modified on server. Omitting download. |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key | |
| # Don't add passphrase | |
| openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| cat jwtRS256.key | |
| cat jwtRS256.key.pub |
I found understanding Rust types really confusing, so I wrote up a small tutorial for myself in an attempt to understand some of them. This is by no means exhaustive. There is a types section in the manual, but it has nowhere near enough examples.
I'm not talking about managed pointers (@) at all. A lot of the difficulty with Rust types is that the language is constantly changing, so this will likely be out of date soon.
First, a few preliminaries: it's easier to play with types if you have a REPL and can interactively check the types of objects. This isn't really possible in Rust, but there are workarounds.