I hereby claim:
- I am fearful-symmetry on github.
- I am fearful_symmetry (https://keybase.io/fearful_symmetry) on keybase.
- I have a public key ASDpUHyAPVF3IW11CHNj10CENe9ZRQDtsMvPHGEmMHmz9go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[package] | |
name = "test-ffi" | |
version = "0.1.0" | |
edition = "2018" | |
[lib] | |
crate-type = ["cdylib"] # Creates dynamic lib | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
yum
.ksh
.df -m
to make sure you have enough disk space to do development. Ask for someone who knows IBM's cloud UI to fix it, lest you be forced to wrangle with AIX's volume manager.vim
, git
and golang
available via yum.yum.sh
script at the top of the page.AIX_toolbox
repo that contains standard GNU coreutils. The ones you get are not standard. For example, ls --color=auto
doesn't work out of the box.yum install coreutils
once you have the AIX_toolbox
repo. Add export PATH=/usr/linux/bin:opt/freeware/bin:$PATH
to your .bashrc
to get standard gnu coreutils.#!/usr/local/bin/python3 | |
import json | |
def fetch_nodes(stats_file: str): | |
""" | |
return node data from _node/stats | |
""" | |
raw_fd = open(stats_file) |
package main | |
/* | |
#include <stdlib.h> | |
#include <sys/sysctl.h> | |
#include <sys/mount.h> | |
#include <mach/mach_init.h> | |
#include <mach/mach_host.h> | |
#include <mach/host_info.h> | |
#include <libproc.h> |