Skip to content

Instantly share code, notes, and snippets.

@WhiteBlue
WhiteBlue / manage.sh
Created March 16, 2017 07:39
a script install kubernetes master & node on CentOS7
#!/bin/bash
set -e
reset=$(tput sgr0)
green=$(tput setaf 76)
blue=$(tput setaf 25)
red=$(tput setaf 1)
info() {
# coding=utf-8
import copy
op_method = ['+', '-', '*', '/']
def copy_arr(old, e):
new_buf = copy.copy(old)
new_buf.append(e)
return new_buf
@WhiteBlue
WhiteBlue / build-llvm.bash
Created April 9, 2020 16:48 — forked from zchee/build-llvm.bash
Build llvm for OS X
#!/bin/bash
set -e
# Building LLVM on OSX CMake setup script
#
# Required:
# - clang by Xcode6 or later
# - cmake
# - ninja
#