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
$ oc get pod -A -o custom-columns="START_TIME:{status.startTime},NAME:{metadata.name}" | sort | |
START_TIME NAME | |
2024-03-14T23:24:24Z cluster-cloud-controller-manager-operator-844d45df5-4j6vg | |
2024-03-14T23:24:33Z aws-cloud-controller-manager-ddf74bbd5-dm545 | |
2024-03-14T23:24:33Z aws-cloud-controller-manager-ddf74bbd5-kg988 | |
2024-03-14T23:24:40Z cluster-version-operator-669877dc96-zss5s | |
2024-03-14T23:24:41Z network-operator-fdc86dc5d-j9pn6 | |
2024-03-14T23:25:11Z multus-l7fdr | |
2024-03-14T23:25:12Z multus-additional-cni-plugins-2ggvv | |
2024-03-14T23:25:12Z multus-additional-cni-plugins-r45w8 |
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 | |
# dump-project.sh PROJECT_NAME | |
# If you prefer multiple files, you can split it: | |
# zcat *.txt.gz | awk 'BEGIN{f=""} match($0, /^+ ((oc|date).*)$/, a){f=a[1] ".txt"; gsub(/[ \/=]/,"_",f);} {print $0 >> f}' | |
PROJECT=$1 | |
if [ -z $PROJECT ]; then |
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
install | |
url --url=http://example.com/your/path/to/rhel7/install/image/RHEL-7/7.0/Server/x86_64/os/ | |
lang en_US.UTF-8 | |
keyboard us | |
network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto | |
rootpw foobar | |
firewall --service=ssh | |
authconfig --enableshadow --passalgo=sha512 | |
selinux --enforcing | |
timezone --utc Asia/Tokyo |
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 org.msgpack; | |
import static org.junit.Assert.assertEquals; | |
import org.junit.Test; | |
import org.msgpack.annotation.Message; | |
import org.msgpack.MessagePack; | |
public class TestSimpleObject { |
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
foobarbaz |