- Endpoint to onboard a repo with automatic analysis
curl -X POST "https://sonarcloud.io/api/alm_integration/provision_projects" \ -H "Authorization: Bearer <TOKEN>" \ -H "Content-Type: application/x-www-form-urlencoded" \ --data-urlencode "installationKeys={ORG_NAME}/{REPO_NAME}|{REPO_ID}" \ --data-urlencode "organization={ORG_NAME}"
- How to find github
repo_idinchrome- Click on More Tools
- Download JDK 8 from Oracle WebSite. [jdk-8u65-macosx-x64.dmg for Mac].
- Double click on jdk-8u65-macosx-x64.dmg and follow the screen instructions.
- Once the JDK package is installed check the below output
$ ls -l /Library/Java/JavaVirtualMachines
total 0
drwxr-xr-x 3 root wheel 96 Mar 5 09:53 jdk1.8.0_201.jdk
If you are on a Mac, substitute command for control. Don't type the + (it means press both keys at once).
-
Shift+Enterrun selected cell or cells - if no cells below, insert a code cell below -
Ctrl+Btoggle hide/show left sidebar -
Ctrl+Ssave and checkpoint -
Ctrl+Shift+Ssave as
VULNERS OPENSOURCE, Vulners Project [https://vulners.com]
esxcli storage filesystem list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| We are using keystone as a global service and hence its centre of universe . | |
| Any api calls internal or via customer for the OpenStack cloud has to go via keystone for auth which internally calls ldap and ,etc. | |
| Also keystone is running on a seperate box , seperate from other OpenStack components. | |
| Need some approvals to post architecture related data and hence just briefed as above to give some insight. |
docker pull gcr.io/google_containers/kube-apiserver-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-controller-manager-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-proxy-amd64:v1.5.0
docker pull gcr.io/google_containers/kube-scheduler-amd64:v1.5.0
docker pull weaveworks/weave-npc:1.8.2
docker pull weaveworks/weave-kube:1.8.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias kc='kubectl' | |
| alias kclf='kubectl logs --tail=200 -f' | |
| alias kcgs='kubectl get service -o wide' | |
| alias kcgd='kubectl get deployment -o wide' | |
| alias kcgp='kubectl get pod -o wide' | |
| alias kcgn='kubectl get node -o wide' | |
| alias kcdp='kubectl describe pod' | |
| alias kcds='kubectl describe service' | |
| alias kcdd='kubectl describe deployment' | |
| alias kcdf='kubectl delete -f' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Virtual Tunnel Interface | |
| # 172.196.17.188 - 172.196.17.191 | |
| set interfaces vti vti0 address 172.196.17.190/30 | |
| set interfaces vti vti0 description 'Virtual tunnel interface for VPN tunnel' | |
| # Phase 2 | |
| set vpn ipsec esp-group ESP-Default compression 'disable' | |
| set vpn ipsec esp-group ESP-Default lifetime '3600' | |
| set vpn ipsec esp-group ESP-Default mode 'tunnel' | |
| set vpn ipsec esp-group ESP-Default pfs 'dh-group16' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE configuration> | |
| <project basedir="." default="all" name="sample"> | |
| <property name="javac.debug" value="true"/> | |
| <property name="javac.debuglevel" value="source,lines,vars"/> | |
| <property name="javac.target" value="1.6"/> | |
| <property name="javac.source" value="1.6"/> | |
| <property name="javac.encoding" value="utf-8"/> | |
| <property name="src.java.dir" value="src"/> |
NewerOlder