This file contains hidden or 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
| allDeps toDigraph | | |
"Avoid artifacts" | |
MCWorkingCopy flushObsoletePackageInfos. | |
PackageOrganizer default flushObsoletePackages: [:p | | |
p classes size = 0 and: [p methods size = 0]]. | |
Smalltalk garbageCollect. | |
"" | |
toDigraph := [:hash | | s | | |
s := WriteStream on: String new. | |
s nextPutAll: 'digraph {'; lf. |
This file contains hidden or 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
#!/bin/bash | |
set -eu | |
# Hat tip to https://gist.github.com/koallen/32709a244d77a2c0f8e17ed79a4092ed | |
MLNX_SRIOV_DEVICES="" | |
[ -e /etc/default/mlnx_sriov ] && . /etc/default/mlnx_sriov | |
# params | |
# - device sys path (e.g. /sys/class/infiniband/mlx5_0) |