open-index/open-npm huggingface dataset:
npm package: @pr4th4m/openlens-node-pod-custom-launcher
Description: Open node and pod in custom launcher
Latest version: 0.0.1

# Openlens node / pod custom launcher extension

This extension lets you define a custom terminal launcher to open pod/node shell, logs etc

## Features

- Ability to define custom launcher terminal as prefix and suffix to lens kubectl command 
- Open pod/node shell, pod logs, attach to pod from pod menu

## Prerequisite

- Switch to relevant context in kubectl
  ```bash
  kubectl config use-context <name>
  ```

## Usage

### Installation
In OpenLens, navigate to the Extensions. In the text box, enter the name of this plugin:
```
@pr4th4m/openlens-node-pod-custom-launcher
```
Click "Install", and after a few moments, the plugin should appear in the list of installed extensions and be enabled.

### Define custom launcher
In OpenLens, navigate to Settings > Extensions, click on this extension name 
![Extension preference](./docs/preference.png)
There are two params available
- Prefix command - This command will prefix kubectl in lens
- Suffix command (optional) - This command will suffixed kubectl in lens

### Open with pod menu
In OpenLens, navigate to Clusters > Workloads > Pods, click on a pod
![Pod menu](./docs/pod_menu.png)
Clicking on the options highlighted will open pod shell, logs etc in the custom launcher terminal program you configured above

## Quick debugging
- In OpenLens, navigate to View > Toggle developer tools
- Complete command with prefix and suffix is logged
- Tweak prefix and suffix command in Settings/Preferences

## Development
- To develop plugin locally
  ```bash
  npm ci
  npm run build
  npm pack
  ```
- The tarball for the extension will be placed in the current directory. In OpenLens, navigate to the Extensions and provide the path to the tarball to be loaded, or drag and drop the extension tarball into the OpenLens window. After loading for a moment, the extension should appear in the list of enabled extensions.
- [More advanced option is to sym-link extension directory](https://github.com/lensapp/lens/blob/master/docs/extensions/get-started/your-first-extension.md)

## References
- https://github.com/lensapp/lens
- https://github.com/alebcay/openlens-node-pod-menu 

## TODO

- Add custom launcher terminal to nodes
- Add test cases
- Switch kubectl context before opening in pod menu
npm package: @pr4xx/ep_comments_page
Description: Adds comments on sidebar and link it to the text.  For no-skin use ep_page_view.
Author: Nicolas Lescop
Latest version: 0.1.6

# Comments and annotations for Etherpad

![Screen shot](http://i.imgur.com/sbiJ4xz.png)

## Installing this plugin with npm.
```
npm install ep_comments_page
```

## Extra settings
This plugin has some extra features that can be enabled by changing values on `settings.json` of your Etherpad instance.

### Alternative comment display
There is an alternative way to display comments. Instead of having all comments visible on the right of the page, you can have just an icon on the right margin of the page. Comment details are displayed when user clicks on the comment icon:

![Screen shot](http://i.imgur.com/cEo7PdL.png)

To use this way of displaying comments, add the following to your `settings.json`:
```
// Display comments as icons, not boxes
"ep_comments_page": {
  "displayCommentAsIcon": true
},
```

### Highlight selected text when creating a comment
It is also possible to mark the text originally selected when user adds a comment:
![Screen shot](http://i.imgur.com/AhaVgRZ.png)

To enable this feature, add the following code to your `settings.json`:
```
// Highlight selected text when adding comment
"ep_comments_page": {
  "highlightSelectedText": true
},
```

**Warning**: there is a side effect when you enable this feature: a revision is created everytime the text is highlighted, resulting on apparently "empty" changes when you check your pad on the timeslider. If that is an issue for you, we don't recommend you to use this feature.

## Creating comment via API
If you need to add comments to a pad:

* Call this route to create the comments on Etherpad and get the comment ids:
  ```
  curl -X POST http://localhost:9001/p/THE_PAD_ID/comments -d "apikey=YOUR_API_KEY" -d 'data=[{"name":"AUTHOR","text":"COMMENT"}, {"name":"ANOTHER_AUTHOR","text":"ANOTHER_COMMENT"}]'
  ```

  The response will be:
  ```
  {"code":0,"commentIds":["c-VEtzKolgD5krJOVU","c-B8MEmAT0NJ9usUwc"]}
  ```

* Use the returned comment ids to set the pad HTML [via API](http://etherpad.org/doc/v1.5.6/#index_sethtml_padid_html):
  ```
  My comment goes <span class="comment c-VEtzKolgD5krJOVU">here<span>.
  ```

  Result:
  ![Screen shot](http://i.imgur.com/KM4lPJx.png)

NOTE: Adding a comment to a pad via API will make the other editors with that pad to be alerted, but this feature is only active if your Etherpad is run in `loadTest` mode. Read [the Etherpad Guide](https://github.com/ether/etherpad-lite/wiki/Load-Testing-Etherpad) for how to enable load testing.


## License
Apache 2
npm package: @prabhakarkama/shared-components
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.
Latest version: 0.0.1

# SharedComponents

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 10.2.5.

## Code scaffolding

Run `ng generate component component-name --project shared-components` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project shared-components`.
> Note: Don't forget to add `--project shared-components` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build shared-components` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build shared-components`, go to the dist folder `cd dist/shared-components` and run `npm publish`.

## Running unit tests

Run `ng test shared-components` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.