Skip to content

Instantly share code, notes, and snippets.

#include <bme680.h>
#include <bme680.c>
#include <linux/i2c-dev.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int8_t user_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Install Pro Tools 2018.4</string>
<key>Identifier</key>
<string>com.github.gkluoe.pkg.ProTools2018</string>
<key>Input</key>
<dict>
dtrace -n 'pid1887::getgrouplist:entry { numgroups=(int*) copyin(arg3, sizeof(int)); printf ("Arg0: %s, Arg1: %d, Arg2: %d, ARg3: %d", copyinstr(arg0),arg1, arg2, *numgroups); ustack() }'
#!/usr/bin/env python
#
# Copyright (c) 2014 OpenElectrons.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
import csv
from pprint import pprint
# Read a microsoft Teams attendance report CSV file and pares into a dict
# that describes the meeting and lists attendences
meeting_info = None
attendees = None
with open('report.csv', 'r') as f:

Why am I taking part in industrial action?

I believe that it is important for union membership to be represented at all levels of the organisation and, while I do believe that the University and ECA are genuinely engaged and making progress on the Four Fights, we need sector-wide engagement and systemic change.

The USS pension scheme is deferred payment for service and the proposed changes will result in highly significant cuts to the lifetime benefits of huge numbers of hard-working colleagues.

I want Higher Education to be an attractive place for the most talented and wonderful people to work. The principle of collective action means that, with an extremely heavy heart, I will be striking from 1st to 3rd December.

Geoff Lee
Head of Information, Technical and Technology Services

#include <Arduino.h>
#include <Wire.h>
#include <BMx280I2C.h>
#include <M5StickCPlus.h>
#include <CircularBuffer.h>
// Connect to a BME280 sensor and draw a graph of the temperature.
// the graph constantly auto-scales so that all of the plotted points
// fit into the Y axis.
import os
import openai
import http
# This is our experimental API gateway
openai.api_base = 'https://apimgmtpoc001.azure-api.net/openai'
# This needs to be set or the module complains, but we can leave it empty.
openai.api_key = ''