Browse Source

Removed Research, those are going to my notes content

master 20201119
Julio Biason 4 years ago
parent
commit
9246b65e42
  1. 1
      config.toml
  2. 5
      content/research/_index.md
  3. 34
      content/research/elastic.md
  4. 7
      content/research/java.md
  5. 3
      content/research/java/abstract.md
  6. 10
      content/research/java/maven-shell.md
  7. 31
      content/research/psql.md
  8. 14
      content/research/sql.md
  9. 3
      content/research/sql/cross-join.md
  10. 3
      content/research/sql/except.md
  11. 4
      content/research/sql/fetch-first.md
  12. 3
      content/research/sql/inner-join.md
  13. 3
      content/research/sql/join-using.md
  14. 3
      content/research/sql/left-join.md
  15. 3
      content/research/sql/over.md
  16. 3
      content/research/sql/right-join.md
  17. 5
      content/research/sql/row_number.md

1
config.toml

@ -47,7 +47,6 @@ menu_items = [
{url = "$BASE_URL/tags", name = "Tags (EN)"},
{url = "$BASE_URL/pt/tags", name = "Tags (PT)"},
{url = "$BASE_URL/quotes", name = "Quotes"},
{url = "$BASE_URL/research", name = "Research Notes"},
]
after_dark_title = "JulioBiason.Net 4.1"
enable_post_view_navigation = false

5
content/research/_index.md

@ -1,5 +0,0 @@
+++
title = "Research Notes"
transparent = false
sort_by = "weight"
+++

34
content/research/elastic.md

@ -1,34 +0,0 @@
+++
title = "ElasticSearch"
weight = 101
[taxonomies]
tags = ["research", "elastic", "elasticsearch", "docker"]
+++
## Docker image
```
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.8.0
```
## Start
```
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.8.0
```
- Port 9200: REST interface.
- Port 9300: Inter-node communication.
- `discovery.type`: Just one node, no discovery needed.
## Definitions
- MySQL => Databases => Tables => Columns/Rows
- Elasticsearch => Indices => Types => Documents with Properties
## Adding information (REST)
```
POST /<index>/_doc/
```

7
content/research/java.md

@ -1,7 +0,0 @@
+++
title = "Java"
weight = 106
+++
- [Shell With All Maven Classes](@/research/java/maven-shell.md)
- [Abstract Classes Resolution Order](@/research/java/abstract.md)

3
content/research/java/abstract.md

@ -1,3 +0,0 @@
+++
title = "Java: Abstract Classes Resolution Order"
+++

10
content/research/java/maven-shell.md

@ -1,10 +0,0 @@
+++
title = "Shell with All Maven Classes"
+++
```
alias mvn-shell='jshell --class-path $(find ~/.m2/repository/ -name "*.jar" | tr "\n" ":")'
```
This alias loads all classes in the Maven (m2) repository and make them
available to the shell.

31
content/research/psql.md

@ -1,31 +0,0 @@
+++
title = "psql"
weight = 112
[taxonomies]
tags = ["research", "postgresql", "psql", "database", "schema", "table"]
+++
## Show Database
```
\l
```
## Use Database
```
\c [database_name]
```
## Show Schemas
```
\dn
```
## Show Tables
```
\dt
```

14
content/research/sql.md

@ -1,14 +0,0 @@
+++
title = "SQL"
weight = 115
+++
- [Cross Join](@/research/sql/cross-join.md)
- [Except](@/research/sql/except.md)
- [Fetch First](@/research/sql/fetch-first.md)
- [Inner Join](@/research/sql/inner-join.md)
- [Join Using](@/research/sql/join-using.md)
- [Left Join](@/research/sql/left-join.md)
- [Right Join](@/research/sql/right-join.md)
- [Row_Number()](@/research/sql/row_number.md)
- [Select Over](@/research/sql/over.md)

3
content/research/sql/cross-join.md

@ -1,3 +0,0 @@
+++
title = "SQL: Cross Join"
+++

3
content/research/sql/except.md

@ -1,3 +0,0 @@
+++
title = "SQL: Select Except"
+++

4
content/research/sql/fetch-first.md

@ -1,4 +0,0 @@
+++
title = "SQL: Fetch First"
+++

3
content/research/sql/inner-join.md

@ -1,3 +0,0 @@
+++
title = "SQL: Inner Join"
+++

3
content/research/sql/join-using.md

@ -1,3 +0,0 @@
+++
title = "Join Using"
+++

3
content/research/sql/left-join.md

@ -1,3 +0,0 @@
+++
title = "SQL: Left Join"
+++

3
content/research/sql/over.md

@ -1,3 +0,0 @@
+++
title = "SQL: Select Over"
+++

3
content/research/sql/right-join.md

@ -1,3 +0,0 @@
+++
title = "SQL: Right Join"
+++

5
content/research/sql/row_number.md

@ -1,5 +0,0 @@
+++
title = "SQL: Function `row_number`"
+++
Loading…
Cancel
Save