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
| Step 13 : RUN yum -y install mod_ssl sendmail sendmail-cf && yum clean all | |
| ---> Running in 4508cbfff184 | |
| Loaded plugins: fastestmirror | |
| http://ftp.riken.jp/Linux/fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel | |
| Trying other mirror. | |
| http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel | |
| Trying other mirror. | |
| http://ftp.tsukuba.wide.ad.jp/Linux/fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel | |
| Trying other mirror. | |
| http://kartolo.sby.datautama.net.id/EPEL/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <h1>右クリック禁止</h1> | |
| <p>クリックしてみてね</p> |
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
| $ ssh somehost | |
| Last login: Sat Aug 13 16:56:53 2016 from 0.0.0.0 | |
| __| __|_ ) | |
| _| ( / Amazon Linux AMI | |
| ___|\___|___| | |
| https://aws.amazon.com/amazon-linux-ami/2016.03-release-notes/ | |
| ####################################################### | |
| ## WARNING: THIS SERVER IS CONFIGURED WITH ANSIBLE!! ## |
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
| NeoBundle 'itchyny/lightline.vim' |
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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: counter-logger | |
| spec: | |
| containers: | |
| - name: date-count | |
| image: ubuntu:14.04 | |
| args: [bash, -c, 'for ((i = 0; ; i++)); do echo "$i: $(date)" >> /var/log/datelog.log; echo $RANDOM >> /var/log/randomlog.log; sleep 3; done'] | |
| volumeMounts: |
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
| #!/bin/bash | |
| # Randomly choose pods, and kubectl exec | |
| # usage ./kubeexec.sh hostname | |
| pod_count=$(kubectl get pods -o name | wc -l) | |
| pod_index=`echo "scale=0; $pod_count * $RANDOM / 32767 + 1" | bc` | |
| pod=$(kubectl get pods -o name | awk "NR==$pod_index" | sed -e 's/pod\///g') | |
| /usr/local/bin/kubectl exec $pod $@ |
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
| #!/bin/bash | |
| cd /Volumes/Time\ Machine/Backups.backupdb/Ikuo’s\ Mac\ mini | |
| BACKUPS=(\ | |
| 2015-03-23-093603 | |
| 2015-04-13-032009 | |
| 2015-05-11-005904 | |
| 2015-06-01-000440 | |
| 2015-07-06-075631 |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure("2") do |config| | |
| # The most common configuration options are documented and commented below. | |
| # For a complete reference, please see the online documentation at |
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
| 502 Bad Gateway: Registered endpoint failed to handle the request. |
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
| # -*- coding: utf-8 -*- | |
| import json, codecs, os | |
| srcdir = 'perdate/' | |
| destdir = 'perdate_tsv/' | |
| if not os.path.exists(destdir): | |
| os.mkdir(destdir) |