This file contains 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 os.path | |
import sqlite3 | |
import subprocess | |
import time | |
import traceback | |
import ranger.api | |
import ranger.api.commands | |
This file contains 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
Moved to GitLab: https://gitlab.com/CyberShadow/the-farmer-was-replaced |
This file contains 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.comparison; | |
import std.algorithm.iteration; | |
import std.algorithm.mutation; | |
import std.algorithm.searching; | |
import std.algorithm.setops; | |
import std.algorithm.sorting; | |
import std.array; | |
import std.file; | |
import std.format; | |
import std.math.algebraic; |
This file contains 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.setops; | |
import std.algorithm.sorting; | |
import std.array; | |
import std.exception; | |
import std.file; | |
import std.range; | |
import std.stdio; | |
import std.string; |
This file contains 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
/solve | |
/game.txt | |
/make_table_hands | |
/make_table_heap | |
/graph | |
/data | |
/bot_server | |
/extract_card_fingerprints | |
/extract_cards | |
/bot |
This file contains 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
let | |
package = { | |
writeShellScript | |
, llama-cpp | |
, nixGL | |
}: | |
writeShellScript "run-llamafile" '' | |
if [ $# -eq 0 ] ; then | |
echo "Usage: $0 server -m wizardcoder-python-13b-v1.0.Q4_K_M.gguf -ngl 9999" | |
exit 2 |
This file contains 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
private struct MaybeDynamicArray(T, size_t size = -1) | |
{ | |
static if (size == -1) | |
{ | |
T[] items; | |
alias items this; | |
} | |
else | |
{ | |
T[size] items; |
This file contains 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
/search_shootself |
This file contains 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
#!/usr/bin/env dub | |
/+ dub.sdl: | |
dependency "ae" version="==0.0.3236" | |
+/ | |
module find_commit_with_longest_message; | |
import std.algorithm.iteration; | |
import std.range.primitives; | |
import std.stdio; |
This file contains 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:latest | |
RUN apt-get update | |
RUN apt-get install -y curl xz-utils git mc gcc | |
RUN apt-get install -y libncursesw5-dev libz-dev | |
RUN curl -fsS https://dlang.org/install.sh | bash -s dmd | |
RUN useradd -m user | |
RUN su - user -c /bin/bash -c 'curl -fsS https://dlang.org/install.sh | bash -s dmd' |
NewerOlder