- Snaps don't work if your homedir isn't /home/foo
- Snaps don't work if your homedir is /home/foo but it's nfs
- microk8s straight up doesn't work on zfs (canonical/microk8s#401)
what is software testing
what is software testing
Programs that want to bind themselves to free cores present some challenges
when run within Docker.
CPU pinning allows a program to request it be assigned exclusively to a core or set of cores This improves cache locality and other factors that become relevant for extremely CPU bound processes, especially in combination with other configurations that prevent the scheduler from assigning other processes
#!/bin/bash | |
# ---------------------------------------------------------------------------------- | |
# Script for checking the temperature reported by the ambient temperature sensor, | |
# and if deemed too high send the raw IPMI command to enable dynamic fan control. | |
# | |
# Requires: | |
# ipmitool – apt-get install ipmitool | |
# slacktee.sh – https://github.com/course-hero/slacktee | |
# ---------------------------------------------------------------------------------- |
- hello | |
+ world |
ovrResult mygis(ovrSession session, ovrControllerType controllerType, ovrInputState* inputState) | |
{ | |
ovrResult r = gis(session, controllerType, inputState); | |
ovrVector2f lh = inputState->Thumbstick[0]; | |
ovrVector2f rh = inputState->Thumbstick[1]; | |
if (controllerType == ovrControllerType_Touch) { | |
int resx = 500; | |
int resy = 500; |
bind()
a socket to an address X on interface A, set the
outgoing multicast interface to interface B with IP[V6]_MULTICAST_IF
and
then send datagrams IP sourced from X but transmitted on B (i.e. using B's
MAC address).#!/usr/bin/python | |
# Retrieved from: https://gcc.gnu.org/ml/gcc-patches/2015-11/msg01095.html | |
# Authored by someone at AdaCore | |
# Copied by Quentin Young with no modifications | |
# -*- coding: utf-8 -*- | |
"""Splits an existing .texinfo file into components suitable for | |
makeinfo.py | |
If "-node <name>" is specified, only that node and its children are | |
kept |