Tool Name | Form Factor | Details |
---|---|---|
AWS Code Guru | (SaaS) | https://aws.amazon.com/codeguru/ |
Sourcegraph | (SaaS) | https://about.sourcegraph.com/get-started |
IntelliJ/STS | (IDE Smart Assist) | https://www.jetbrains.com/help/idea/creating-custom-inspections.html |
Linter | (command line) | ts-migrate https://github.com/airbnb/ts-migrate, Super Linter https://github.com/github/super-linter |
OpenRewrite | (maven/gradle plugins) | https://github.com/openrewrite |
This file contains 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
#!/bin/bash | |
APP_NAME=$1 | |
CMD=$2 | |
task_id=$(cf run-task $APP_NAME "${CMD}" | grep "task id:" | awk '{print $3}') | |
task_name=$(cf tasks $APP_NAME | grep "^$task_id " | awk '{print $2}') | |
task_status=$(cf tasks $APP_NAME | grep "^$task_id " | awk '{print $3}') |
This file contains 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
private void print(Object stream) throws IllegalAccessException { | |
Field field = ReflectionUtils.findField(KStreamImpl.class, "builder"); | |
ReflectionUtils.makeAccessible(field); | |
InternalStreamsBuilder builder = (InternalStreamsBuilder) field.get(stream); | |
field = ReflectionUtils.findField(InternalStreamsBuilder.class, "internalTopologyBuilder"); | |
ReflectionUtils.makeAccessible(field); | |
InternalTopologyBuilder internalTopologyBuilder = (InternalTopologyBuilder)field.get(builder); | |
TopologyDescription topologyDescription = internalTopologyBuilder.describe(); |
- https://drive.google.com/file/d/1QHG23oxgpp69EGtOmMpB3JWlYjjskvdj/view
- https://content.pivotal.io/blog/the-net-renaissance-is-happening-now-here-s-why-it-s-a-new-era-for-net-developers
- https://cloud.google.com/files/Cloud-native-approach-with-microservices.pdf
- https://magenic.com/media/2790/modernizing-your-net-apps-wp.pdf
This file contains 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
#!/bin/bash | |
cf create-service-key csi config-server-key | |
cf service-key csi config-server-key | tail -n 6 > config-server-key.json | |
# Get details form config-server-key.json file | |
access_token_uri=$(cat config-server-key.json | jq -r ".access_token_uri") | |
client_id=$(cat config-server-key.json | jq -r ".client_id") | |
client_secret=$(cat config-server-key.json | jq -r ".client_secret") |
This file contains 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
ClassLoader cl = ClassLoader.getSystemClassLoader(); | |
URL[] urls = ((URLClassLoader)cl).getURLs(); | |
for(URL url: urls){ | |
System.out.println(url.getFile()); | |
} |
This file contains 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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<version>3.1.1</version> | |
<executions> | |
<execution> | |
<id>copy</id> | |
<phase>package</phase> | |
<goals> | |
<goal>copy</goal> |
This file contains 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
#!/bin/bash | |
set -e | |
export PIVNET_TOKEN=GET_FROM_PIVNET_USER_PROFILE_PAGE | |
export LOCAL_FILE_NAME=pcf-mysql.pivotal | |
export DOWNLOAD_URL=https://network.pivotal.io/api/v2/products/p-mysql/releases/211/product_files/1755/download | |
export OPSMGR_HOST=localhost | |
export OPSMGR_USER=WHATEVER_YOUR_OPSMGR_USER_IS | |
export OPSMGR_PASSWORD=WHATEVER_YOUR_OPSMGR_PASSWORD_IS |
This file contains 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
# chp2/wrapper.rb | |
require "json" | |
require "benchmark" | |
def measure(&block) | |
no_gc = (ARGV[0] == "--no-gc") |
NewerOlder