- FORM_PIPES
- PF_LOG
- PF_RBUFS
| #!/bin/sh | |
| # | |
| # @file auto-cherry-pick.sh | |
| # | |
| # Usage: | |
| # auto-cherry-pick.sh ref1...ref2: | |
| # | |
| set -eu | |
| output=auto-cherry-pick.log |
git clone https://gist.github.com/ac4a004de14b34e4e746e6412cf70249.git my-madminer-jupyter-env| chunkifyString[s_String, n_Integer] := | |
| StringJoin @@@ Partition[Characters[s], UpTo[n]]; | |
| writeRationalApproximation[ | |
| stream_, x_, n_, width_:72 | |
| ] := Module[{s, lines, i}, | |
| s = Rationalize[x, Abs[x * 10^(-n)]] // InputForm // ToString; | |
| lines = chunkifyString[s, width - 1]; | |
| Do[ | |
| s = lines[[i]]; |
!pip install git+https://gist.github.com/tueda/ec0181f0f4c8961d49dc659f79cbfd4a
from google.colab import drive
drive.mount('/content/drive')
import colab_cache
cache = colab_cache.Cache('hello-2.12.1')
if cache.exists():
| #!/bin/bash | |
| # | |
| # @file run-mg5_aMC.sh | |
| # | |
| # Runs MadGraph5_aMC@NLO. This script downloads and | |
| # sets up MadGraph5_aMC@NLO if needed. | |
| # | |
| set -eu | |
| set -o pipefail |
TensorFlow 2.4.4 build error on an old machine (CentOS6, Xeon X5690):
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "/home/tueda/build/tensorflow/third_party/py/python_configure.bzl", line 209
_check_python_bin(<2 more arguments>)
File "/home/tueda/build/tensorflow/third_party/py/python_configure.bzl", line 143, in _check_python_bin
get_bash_bin(repository_ctx)
File "/home/tueda/build/tensorflow/third_party/remote_config/common.bzl", line 75, in get_bash_bin
which(repository_ctx, "bash")
| exec(bytes('牦浯爠湡潤浩潰瑲ਪ㵮ਰ桷汩ㄲ㐸渺渽㈪㐦㤰簵慲摮湩⡴ⰰ⤱瀻楲瑮✨苣覃苣覃嬧♮㨱㈺ⱝ湥㵤✧牰湩⡴ꦃ菣ꢳ藥ꆙ⤧','u16')[2:]) |