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
# | |
# Jump to line ~ 141 to ~ 215 for the command that pertains to this change. | |
# | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
k8s-app: metrics-server | |
name: metrics-server | |
namespace: kube-system |
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
minikube stop | |
minikube start --hyperv-virtual-switch "My Virtual Switch" --v=4 --mount --mount-string="/etc/minimount/:/etc/minimount" |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: nginx-minimounted | |
name: nginx-minimounted | |
namespace: myns | |
spec: | |
volumes: |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: nginx-minimounted | |
name: nginx-minimounted | |
namespace: myns | |
spec: | |
containers: |
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
/* To build: | |
* go get k8s.io/client-go/util/homedir | |
* go build main.go | |
* | |
* To run: | |
* ./main | |
*/ | |
package main | |
import "fmt" |
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
<IfModule pagespeed_module> | |
<Location /wp-admin/> | |
ModPagespeed Off | |
</Location> | |
ModPagespeed On | |
ModPagespeedAllow all | |
ModPagespeedFetchHttps enable |
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
@GrabResolver(name='JBoss Release Repository', root='https://repository.jboss.org/nexus/content/repositories/releases/') | |
@GrabResolver(name='JBoss.org Maven repository', root='https://repository.jboss.org/nexus/content/groups/public') | |
@GrabExclude(group = 'org.jboss.spec.javax.ws.rs', module='jboss-jaxrs-api_2.1_spec') | |
@GrabExclude(group = 'org.jboss.spec.javax.xml.bind', module='jboss-jaxb-api_2.3_spec') | |
@GrabExclude(group = 'org.jboss.spec.javax.servlet', module='jboss-servlet-api_3.1_spec') | |
@GrabExclude(group = 'javax.validation', module='validation-api') | |
@GrabExclude(group = 'org.jboss.spec.javax.annotation', module='jboss-annotations-api_1.2_spec') | |
@GrabExclude(group = 'net.jcip', module='jcip-annotations') | |
@GrabExclude(group = 'javax.activation', module='activation') |
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 JDataFrameBuilder<String, String[]> readCopyBookAsJDataFrameBuilder( | |
AbstractLineReader reader, | |
LayoutDetail layout, | |
String font, | |
IUpdateFieldName updateFldName | |
) throws IOException { | |
JDataFrameBuilder<String, String[]> result = | |
new JDataFrameBuilder<String, String[]>( | |
new JDataFrame<String, String[]>(), |
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
@Grab('com.coherentlogic.rproject.integration.jdataframe:jdataframe-core:1.0.0-RELEASE') | |
@Grab('org.slf4j:slf4j-nop:1.8.0-beta4') | |
import com.coherentlogic.rproject.integration.dataframe.adapters.RemoteAdapter | |
import com.coherentlogic.rproject.integration.dataframe.domain.JDataFrame | |
import com.coherentlogic.rproject.integration.dataframe.builders.JDataFrameBuilder | |
def result = (String) new JDataFrameBuilder<String, Object[]>( | |
new JDataFrame<String, Object[]>(), | |
new RemoteAdapter<String, Object[]>() | |
) |
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
@GrabResolver(name='Maven Central', root='http://repo1.maven.org/') | |
@Grab(group='redis.clients', module='jedis', version='3.5.2') | |
import redis.clients.jedis.Jedis | |
import redis.clients.jedis.JedisPubSub | |
class DefaultPubSubImpl extends JedisPubSub { | |
@Override | |
public void onMessage(String channel, String message) { | |
println "channel: $channel, message: $message" |