chmod +x test.sh
docker run -it --rm -v $PWD:/workspace ubuntu:20.04
import time | |
import ray | |
delay = 0.01 | |
context = ray.init() | |
num_cpus = ray.available_resources()["CPU"] | |
def busy_wait(duration): |
#!/bin/bash | |
set -eu | |
set -o pipefail | |
show_containers() { | |
local RED='\033[0;31m' | |
local GREEN='\033[0;32m' | |
local YELLOW='\033[1;33m' | |
local NOCOLOR='\033[0m' |
=LAMBDA(answerCell, correctAnswerCell, scoreCell, | |
IF(answerCell = "", | |
"", | |
IF(OR(scoreCell = "", scoreCell = "&"), | |
"", | |
LET(Z, LAMBDA(f, LET(g, LAMBDA(x, f(LAMBDA(v, LET(xx, x(x), xx(v))))), g(g))), | |
countRightAmpersands, Z(LAMBDA(countRightAmpersands, LAMBDA(cell, | |
LET(right, Offset(cell, 0, 1), | |
IF(right = "&", | |
countRightAmpersands(right) + 1, |
./configure --prefix=$HOME/opt/vim --enable-python3interp --enable-cscope | |
make | |
make test | |
make install |
#define SIZE "5" | |
*#include- include/color.h | |
#define RANK "6" | |
* | |
* The file with all the declarations for running color traces. | |
* The variable RANK tells how many Adjoint invariants of how many | |
* non-adjoint invariants can occur simultaneously. For 14 vertices | |
* this number is maximally 4 (4 loops in a non-adjoint representation) | |
* | |
* Note: One needs version 3 of FORM to run this. |
#!/bin/bash | |
# Save Valgrind output to a temporary file | |
valgrind_output=$(mktemp) | |
# Run Valgrind and save its output to the temporary file | |
# Capture only standard error output | |
valgrind --leak-check=full --gen-suppressions=all "$@" 2> "$valgrind_output" 1>/dev/null | |
# Output the suppression entries to standard output |
var args = WScript.Arguments; | |
if (args.length !== 1) { | |
WScript.Echo("Please drag and drop an Excel file onto this script."); | |
WScript.Quit(); | |
} | |
var filePath = args(0); | |
try { |
On Highfirst; | |
*--#[ jodavies_include : | |
* Paste denexpand.prc | |
* Expand a "den" function DEN in the variable EP. This is useful in cases | |
* where we have isolated the dependence on the EP symbol, and cannot merge | |
* everything into a common PolyRatFun without exceeding MaxTermSize. |