There is good news for you. I made a new repository with a single Dockerfile to build every combinations of versions of Ubuntu LTS and gcc you like
Find out more on https://github.com/alexandreelise/install-gcc
There is good news for you. I made a new repository with a single Dockerfile to build every combinations of versions of Ubuntu LTS and gcc you like
Find out more on https://github.com/alexandreelise/install-gcc
@bpteague Has an excellent update solution as of February 2025 using modern tools and an updated workflow.
This gist will remain here, but is deprecated. I'll keep it here historical and link-preservation purposes only. I strongly encourage everyone to check out the solution above!
#!/bin/bash | |
clang hello.c -target arm64-apple-darwin20.1.0 -o hello.arm64 | |
echo -n "hello.arm64 is architecture " && lipo -archs ./hello.arm64 | |
clang hello.c -target x86_64-apple-darwin-macho -o hello.x86_64 | |
echo -n "hello.x86_64 is architecture " && lipo -archs ./hello.x86_64 | |
lipo hello.arm64 hello.x86_64 -create -output hello | |
echo -n "final output binary has archs " && lipo -archs ./hello |
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker
. This will install the whole docker suite, left only Tini to be compiled manually.
This article show you the ultimate way to set up a transparent proxy on Linux using clash and iptables to bypass the GFW in China.
We use:
You can go to github gist to download all files mentioned in this article.
import os | |
import time | |
import pandas as pd | |
import pyarrow as pa | |
import chdb | |
import subprocess | |
# file size 117MB | |
data_path = '/home/Clickhouse/bench/hits_0.parquet' |