➜ 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
export TOKEN=$(curl --silent https://ghcr.io/token\?scope\=repository:wolfv/artifact:pull | jq -r .token) | |
curl \ | |
--silent \ | |
--request 'GET' \ | |
--header "Authorization: Bearer $TOKEN" \ | |
--header "Accept: application/vnd.oci.image.manifest.v1+json" \ | |
'https://ghcr.io/v2/wolfv/artifact/manifests/1.0' | |
echo "\n\nFetching image content now:\n\n" |
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
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main |
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 | |
import jinja2 | |
import yaml | |
from conda.models.match_spec import MatchSpec | |
import networkx as nx | |
# import matplotlib.pyplot as plt | |
import os, random, time, json | |
import workerpool | |
NO_BUILD_LOCAL_PKGS = True |
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
Rcpp::sourceCpp("benchr.cpp") | |
x <- matrix(as.double(1:10000), 10) | |
library("rbenchmark") | |
benchmark( | |
"arma" = { | |
z <- somefunc_arma(x) | |
}, |
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
<!DOCTYPE html> | |
<head> | |
<meta charset="UTF-8"> | |
<style> | |
.r1 {color: #800080; font-weight: bold} | |
.r2 {color: #008000} | |
.r3 {color: #800000} | |
body { | |
color: #000000; | |
background-color: #ffffff; |
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 |
NewerOlder