Skip to content

Instantly share code, notes, and snippets.

View carlgonz's full-sized avatar

Carlos carlgonz

View GitHub Profile
#include <stdint.h>
#include <stdio.h>
#include <zmq.h>
#include <assert.h>
#include <stdlib.h>
int main(int argc, char** argv) {
if(argc < 3) {
fprintf(stderr, "Usage %s: <xpublish_url> <xsubsriber_url>\n", argv[0]);
exit(1);
@rathboma
rathboma / README
Last active July 29, 2022 07:48
LenovoT440s thinkfan configuration
INSTRUCTIONS:
```bash
sudo cp thinkfan.conf /etc/thinkfan.conf
sudo echo 'options thinkpad_acpi fan_control=1' > /etc/modprobe.d/thinkpad_acpi.conf
sudo reboot # for the modprobes to work
sudo emacs /etc/defaults/thinkfan # change START=no to START=yes
```