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 -eEuo pipefail | |
cd "$(dirname "$0")" | |
pwd=$PWD | |
cd ~/work/extern/linux | |
if true |
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
dummy |
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
import ae.utils.text; | |
import std.algorithm.comparison; | |
import std.algorithm.iteration; | |
import std.range; | |
import std.stdio; | |
/* | |
Old values: |
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
FROM docker.io/debian:unstable-20230208@sha256:b2f6fc00701e0d5ee6ef994891a6b4695865b51292fa2fb7a34882c15c7e4b4f | |
RUN apt-get update | |
RUN apt-get install -y emacs tmux | |
COPY repro.sh / | |
CMD /repro.sh |
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
dummy |
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
/problem | |
/solution.txt |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<script crossorigin src="https://visjs.github.io/vis-network/standalone/umd/vis-network.min.js"></script> | |
<style type="text/css"> | |
* { | |
box-sizing: border-box; |
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
import std.algorithm.iteration; | |
import std.algorithm.mutation; | |
import std.algorithm.sorting; | |
import std.datetime.stopwatch; | |
import std.exception; | |
import std.parallelism; | |
import std.random; | |
import std.range; | |
import std.stdio; | |
import std.typecons; |
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
import ae.utils.meta; | |
R binomialCoefficient(T, R=T)(T n, T m) | |
{ | |
if (n < m) | |
return R(0); | |
R result = 1; | |
foreach (i; n - m + 1 .. n + 1) | |
result *= i; | |
foreach (i; 1 .. m + 1) |
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 -eEuo pipefail | |
if [[ $EUID -ne 0 ]] ; then exec sudo "$0" "$@" ; fi | |
dir=/tmp/mNPJYwnwQt | |
btdu=${BTDU:-btdu} | |
mkdir "$dir" | |
trap 'rmdir "$dir"' EXIT |