Skip to content

Instantly share code, notes, and snippets.

Avatar

whiteblue WhiteBlue

View GitHub Profile
@WhiteBlue
WhiteBlue / build-llvm.bash
Created Apr 9, 2020 — forked from zchee/build-llvm.bash
Build llvm for OS X
View build-llvm.bash
#!/bin/bash
set -e
# Building LLVM on OSX CMake setup script
#
# Required:
# - clang by Xcode6 or later
# - cmake
# - ninja
#
View gist:a6bea495cb9a71b38431106b42f24c1d
# 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 / manage.sh
Created Mar 16, 2017
a script install kubernetes master & node on CentOS7
View manage.sh
#!/bin/bash
set -e
reset=$(tput sgr0)
green=$(tput setaf 76)
blue=$(tput setaf 25)
red=$(tput setaf 1)
info() {
You can’t perform that action at this time.