➜ hyperfine "micromamba package extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda outmmjaxnew" --warmup 3
Benchmark 1: micromamba package extract jaxlib-0.4.1-cpu_py38h6beaf4d_1.conda outmmjaxnew
Time (mean ± σ): 227.2 ms ± 17.4 ms [User: 158.4 ms, System: 52.8 ms]
Range (min … max): 212.9 ms … 267.5 ms 13 runs
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
package: | |
name: dosbox | |
version: "0.74.0" | |
source: | |
url: https://downloads.sourceforge.net/project/dosbox/dosbox/0.74-3/dosbox-0.74-3.tar.gz | |
sha256: c0d13dd7ed2ed363b68de615475781e891cd582e8162b5c3669137502222260a | |
build: | |
number: 0 |
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 pathlib import Path | |
ltxt = Path("_rclpy_pybind11.dir/link.txt") | |
cmd = ltxt.read_text().split() | |
final_cmd = [] | |
for c in cmd: | |
if c.startswith("@CMakeFiles"): | |
p = c.removeprefix("@CMakeFiles/") |
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 requests | |
import json | |
url = 'http://localhost:3001/api/graphql' | |
cookies = {} | |
mutation = '''mutation($file: Upload!) { | |
uploadEnv(environmentFileUpload: $file) { | |
id |
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
mkdir -p ~/.local/bin | |
set PLATFORM=win | |
set ARCH=64 | |
curl -Ls https://micro.mamba.pm/api/micromamba/%PLATFORM%-%ARCH%/latest | tar -xvj -C ~/.local/bin/ --strip-components=1 Library/bin/micromamba.exe |
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
#include <chrono> | |
#include <iostream> | |
#include <string> | |
#include <thread> | |
#include <random> | |
#include <sys/ioctl.h> | |
namespace cursor | |
{ | |
class CursorMovementTriple |
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
#include <filesystem> | |
#include <iostream> | |
#include <archive.h> | |
#include <archive_entry.h> | |
#include <cassert> | |
#include <fcntl.h> /* For O_RDWR */ | |
#include <unistd.h> /* For open(), creat() */ | |
namespace fs = std::filesystem; |
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
#include <iostream> | |
#include <fstream> | |
#include <filesystem> | |
#include <curl/curl.h> | |
#include <zstd.h> | |
#include <bzlib.h> | |
#include <chrono> | |
namespace fs = std::filesystem; |
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
#include <iostream> | |
#include <fstream> | |
#include <filesystem> | |
#include <curl/curl.h> | |
#include <zstd.h> | |
#include <bzlib.h> | |
namespace fs = std::filesystem; | |
// constexpr size_t BUFFER_SIZE = 131072; |
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
curl -Ls https://micro.mamba.pm/api/micromamba/win-64/latest | tar -xvj -C ~/.local/bin/ --strip-components=1 Library/bin/micromamba |
NewerOlder