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 | |
set -e | |
# Building LLVM on OSX CMake setup script | |
# | |
# Required: | |
# - clang by Xcode6 or later | |
# - cmake | |
# - ninja | |
# |
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 copy | |
op_method = ['+', '-', '*', '/'] | |
def copy_arr(old, e): | |
new_buf = copy.copy(old) | |
new_buf.append(e) | |
return new_buf |
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 | |
set -e | |
reset=$(tput sgr0) | |
green=$(tput setaf 76) | |
blue=$(tput setaf 25) | |
red=$(tput setaf 1) | |
info() { |