Skip to content

Instantly share code, notes, and snippets.

View fourside's full-sized avatar
😉
こんにちは

fourside fourside

😉
こんにちは
View GitHub Profile

k8s 入門

install

version

[root@ip-172-31-20-223 ~]# kubeadm version

kubeadm version: &version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:41:54Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

" Vim global plugin for creating data end
" Last Change: 2019 Jun 28
" Maintainer: fourside <fourside@gmail.com>
" License: This file is placed in the public domain.
if exists("g:loaded_data_end")
finish
endif
let g:loaded_data_end = 1
@fourside
fourside / jekyll-post.vim
Last active January 1, 2018 07:06
to create a post file of jekyll
" Vim global plugin for creating jekyll's post
" Last Change: 2018 Jun 01
" Maintainer: fourside <fourside@gmail.com>
" License: This file is placed in the public domain.
if exists("g:loaded_jekyll_post")
finish
endif
let g:loaded_jekyll_post = 1
@fourside
fourside / Q2.3.go
Last active November 4, 2017 08:34
package main
import (
"compress/gzip"
"encoding/json"
"io"
"net/http"
"os"
)
func handler(w http.ResponseWriter, r *http.Request) {
@fourside
fourside / app.js
Last active November 28, 2016 01:11
route and ajax mustache template
"use strict"
$(document).ready(function() {
app.run();
});
app.set("list", {
template: "list.html",
callback: function(bindings) {
return {
@fourside
fourside / rec_radiko.sh
Created April 13, 2016 22:56 — forked from saiten/rec_radiko.sh
簡易radiko録音ツール。要swftools
#!/bin/sh
playerurl=http://radiko.jp/player/swf/player_4.1.0.00.swf
cookiefile=./cookie.txt
playerfile=./player.swf
keyfile=./authkey.png
if [ $# -eq 1 ]; then
channel=$1
output=./$1.flv
@fourside
fourside / angularScrollSpy.js
Last active February 1, 2016 13:51 — forked from nwpappas/angularScrollSpy.js
An AngularJS directive implementation of Twitter Bootstrap's ScrollSpy, ported and updated from https://gist.github.com/alxhill/6886760.
app.directive('scrollSpy', function($window){
return {
restrict: 'A',
controller: function($scope) {
$scope.spies = []; // array of spy object, made by spy directive
this.addSpy = function(spyObj) {
$scope.spies.push(spyObj);
};
$scope.spyChildren = [];
@fourside
fourside / Amida.rb
Last active September 29, 2015 23:18
# encoding : utf-8
#
class Amida
def initialize
@raw = []
@start_nodes = []
end
def run
read
# encoding: utf-8
#
require 'net/http'
require 'json'
class JsonPost
def run
uri = URI.parse("https://www.google.com")
response = nil