Skip to content

Instantly share code, notes, and snippets.

View hussainsultan's full-sized avatar

Hussain Sultan hussainsultan

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
graceTimeOut = 10
logLevel = "ERROR"
defaultEntryPoints = ["http", "https"]
[web]
address = ":8081"
CertFile = "/etc/traefik/certs/traefik-admin.cert.pem"
KeyFile = "/etc/traefik/certs/traefik-admin.key.pem"
[marathon]
@UranusSeven
UranusSeven / README.md
Last active August 31, 2023 00:16
Benchmark pandas 2.0.0 with TPC-H

The TPC-H is a decision support benchmark. It consists of a suite of business oriented ad-hoc queries and concurrent data modifications.

Pandas 2.0.0 RC0 and RC1 has been released. According to the release notes, the main new features in 2.0.0 focus on performance improvement.

The benchmark runs on my laptop:

MacBook Pro (16-inch, 2021)
Chip Apple M1 Max
Memory 32 GB
@dlovell
dlovell / dbg-nix-pkg.sh
Last active May 10, 2024 18:05
A helper function to `nix develop` on a package
# https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages#Using_nix-shell_for_package_development
function debug_nix_package () {
set -u
packageName=${1:-default}
flakeDir=${2:-$(pwd)}
tmpdir=${3:-$(mktemp --directory --suffix=-nix-dbg)}
system=${4:-$(uname --machine)-$(uname --kernel-name | tr '[:upper:]' '[:lower:]')}
cd "$tmpdir" || exit
ln -s "$flakeDir" flakeDir