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: batch/v2alpha1 | |
kind: CronJob | |
metadata: | |
name: hello | |
spec: | |
schedule: "*/1 * * * *" | |
jobTemplate: | |
spec: | |
template: |
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
function minikube-update -d 'Update minikube to latest release' | |
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 ; and chmod +x minikube ; and mv minikube ~/.local/bin/ | |
end | |
function kubectl-update -d 'Update kubectl to latest release' | |
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl ; and chmod +x kubectl ; and mv kubectl ~/.local/bin/ | |
end |
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
# kubernetes - is an open source system for managing containerized | |
# applications across multiple hosts, providing basic mechanisms for | |
# deployment, maintenance, and scaling of applications. | |
# See: https://kubernetes.io | |
function __kubectl_no_command | |
set -l cmd (commandline -poc) | |
if not set -q cmd[2] | |
return 0 | |
end |
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
└> time vagrant up | |
Vagrant Patch Loaded: GuestRedHat change_host_name (1.9.1) | |
Vagrant Patch Loaded: GuestRedHat configure_networks (1.9.1) | |
Validating Plugins... | |
Validating User Config... | |
Using DC/OS Installer: installers/dcos/dcos_generate_config-1.8.7.sh | |
Using DC/OS Config: etc/config-1.8.yaml | |
Validating Machine Config... | |
Configuring VirtualBox Host-Only Network... | |
>>> Creating VirtualBox Network |
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
161207 8:40:22 [Note] /usr/sbin/mysqld (mysqld 5.5.53-0ubuntu0.14.04.1) starting as process 23 ... | |
Uptime: 2 Threads: 1 Questions: 2 Slow queries: 0 Opens: 34 Flush tables: 1 Open tables: 26 Queries per second avg: 1.000 | |
Setting up database | |
CATTLE_AGENT_PACKAGE_HOST_API_URL=/usr/share/cattle/artifacts/host-api.tar.gz | |
CATTLE_AGENT_PACKAGE_PYTHON_AGENT_URL=/usr/share/cattle/artifacts/go-agent.tar.gz | |
CATTLE_API_UI_URL=//releases.rancher.com/api-ui/1.0.8 | |
CATTLE_CATTLE_VERSION=v0.174.3 | |
CATTLE_DB_CATTLE_DATABASE=mysql | |
CATTLE_DB_CATTLE_MYSQL_HOST=localhost | |
CATTLE_DB_CATTLE_MYSQL_NAME=cattle |
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 | |
cd /tmp | |
sudo curl -s -L -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.10-vivid/linux-headers-3.18.10-031810_3.18.10-031810.201503241436_all.deb | |
sudo curl -s -L -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.10-vivid/linux-headers-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb | |
sudo curl -s -L -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18.10-vivid/linux-image-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb | |
sudo DEBIAN_FRONTEND=noninteractive dpkg --force-all -i linux-headers-3.18.10-031810_3.18.10-031810.201503241436_all.deb | |
sudo DEBIAN_FRONTEND=noninteractive dpkg --force-all -i linux-headers-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb | |
sudo DEBIAN_FRONTEND=noninteractive dpkg --force-all -i linux-image-3.18.10-031810-generic_3.18.10-031810.201503241436_amd64.deb |
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
└> sudo dnf info docker-engine | |
Vérification de l'expiration des métadonnées effectuée il y a 1 day, 10:39:38 sur Mon Sep 14 08:03:05 2015. | |
Paquets installés | |
Nom : docker-engine | |
Architectur : x86_64 | |
Époque : 0 | |
Version : 1.8.1 | |
Révision : 1.fc22 | |
Taille : 27 M | |
Dépôt : @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
package angie.dmlgeneration.librarian; | |
import freemarker.template.Configuration; | |
import freemarker.template.Template; | |
import freemarker.template.TemplateException; | |
import java.io.IOException; | |
import java.io.OutputStreamWriter; | |
import java.io.Writer; | |
import java.util.HashMap; |
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
docker@boot2docker:~$ docker run --rm --name hazelcast1 -p 5701:5701 -e "MIN_HEAP=256M" -e "MAX_HEAP=256M" -e "GROUP_NAME=test" -e "GROUP_PASS=test_pass" -e "PUBLIC_ADDRESS=10.0.2.15" looztra/deb-hazelcast | |
Apr 02, 2015 9:42:30 AM com.hazelcast.config.XmlConfigLocator | |
INFO: Loading configuration /opt/hazelcast/hazelcast.xml from System property 'hazelcast.config' | |
Apr 02, 2015 9:42:30 AM com.hazelcast.config.XmlConfigLocator | |
INFO: Using configuration file at /opt/hazelcast/hazelcast.xml |
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
Channel reader thread: Channel to Maven [java, -cp, /DATA/jenkins/maven3-agent.jar:/usr/local/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/apache-maven-3.0.4, /DATA/jenkins/slave.jar, /DATA/jenkins/maven3-interceptor.jar, 15490] / waiting for hudson.remoting.Channel@69ed8c20:slave1 | |
"Channel reader thread: Channel to Maven [java, -cp, /DATA/jenkins/maven3-agent.jar:/usr/local/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/local/apache-maven-3.0.4, /DATA/jenkins/slave.jar, /DATA/jenkins/maven3-interceptor.jar, 15490] / waiting for hudson.remoting.Channel@69ed8c20:slave1" Id=3750 Group=main TIMED_WAITING on hudson.remoting.ProxyInputStream$Chunk@1bb9d2e5 | |
at java.lang.Object.wait(Native Method) | |
- waiting on hudson.remoting.ProxyInputStream$Chunk@1bb9d2e5 | |
at hudson.remoting.Request.call(Request.java:146) | |
at hudson.remoting.ProxyInputStream._read(ProxyInputStream.java:74) | |
- locked hudson.remotin |