mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix usage of the ``` markup that lead to broken formatting
This commit is contained in:
parent
9d285a1b78
commit
63ca2b0e28
3 changed files with 28 additions and 8 deletions
|
|
@ -91,6 +91,7 @@ g.table(
|
|||
|
||||
|
||||
* `String g.getProperty('PROPERTY_NAME')`
|
||||
|
||||
```groovy
|
||||
g.PROPERTY_NAME
|
||||
g.'PROPERTY_NAME'
|
||||
|
|
|
|||
|
|
@ -70,34 +70,51 @@ The interpreter can use all modules already installed (with pip, easy_install...
|
|||
|
||||
- get the Conda Infomation:
|
||||
|
||||
```%python.conda info```
|
||||
```
|
||||
%python.conda info
|
||||
```
|
||||
|
||||
- list the Conda environments:
|
||||
|
||||
```%python.conda env list```
|
||||
```
|
||||
%python.conda env list
|
||||
```
|
||||
|
||||
- create a conda enviornment:
|
||||
```%python.conda create --name [ENV NAME]```
|
||||
|
||||
```
|
||||
%python.conda create --name [ENV NAME]
|
||||
```
|
||||
|
||||
- activate an environment (python interpreter will be restarted):
|
||||
|
||||
```%python.conda activate [ENV NAME]```
|
||||
```
|
||||
%python.conda activate [ENV NAME]
|
||||
```
|
||||
|
||||
- deactivate
|
||||
|
||||
```%python.conda deactivate```
|
||||
```
|
||||
%python.conda deactivate
|
||||
```
|
||||
|
||||
- get installed package list inside the current environment
|
||||
|
||||
```%python.conda list```
|
||||
```
|
||||
%python.conda list
|
||||
```
|
||||
|
||||
- install package
|
||||
|
||||
```%python.conda install [PACKAGE NAME]```
|
||||
```
|
||||
%python.conda install [PACKAGE NAME]
|
||||
```
|
||||
|
||||
- uninstall package
|
||||
|
||||
```%python.conda uninstall [PACKAGE NAME]```
|
||||
```
|
||||
%python.conda uninstall [PACKAGE NAME]
|
||||
```
|
||||
|
||||
### Docker
|
||||
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ If you want to grant this permission to other users, you can change **roles[ ]**
|
|||
|
||||
### Apply multiple roles in Shiro configuration
|
||||
By default, Shiro will allow access to a URL if only user is part of "**all the roles**" defined like this:
|
||||
|
||||
```
|
||||
[urls]
|
||||
|
||||
|
|
@ -274,6 +275,7 @@ By default, Shiro will allow access to a URL if only user is part of "**all the
|
|||
```
|
||||
|
||||
If there is a need that user with "**any of the defined roles**" should be allowed, then following Shiro configuration can be used:
|
||||
|
||||
```
|
||||
[main]
|
||||
anyofroles = org.apache.zeppelin.utils.AnyOfRolesAuthorizationFilter
|
||||
|
|
|
|||
Loading…
Reference in a new issue