Check out the branch and all tags:
git clone --branch letstrust2go --tags https://github.com/tobyp/tpm2-tss
[~]% TSS2_LOG=all+INFO,tcti+TRACE LD_LIBRARY_PATH=/usr/local/lib /usr/local/bin/tpm2_startup -V -T "spi-lt2go" -c | |
debug:tcti:src/tss2-tcti/tctildr.c:161:tctildr_conf_parse() name_conf: "spi-lt2go" | |
debug:tcti:src/tss2-tcti/tctildr.c:168:tctildr_conf_parse() TCTI name: "spi-lt2go" | |
debug:tcti:src/tss2-tcti/tctildr-dl.c:314:tctildr_get_tcti() name: "spi-lt2go", conf: "(null)" | |
trace:tcti:src/tss2-tcti/tctildr-dl.c:151:tcti_from_file() Attempting to load TCTI file: spi-lt2go | |
debug:tcti:src/tss2-tcti/tctildr-dl.c:92:handle_from_name() Could not load TCTI file: "spi-lt2go": spi-lt2go: cannot open shared object file: No such file or directory | |
trace:tcti:src/tss2-tcti/tctildr.c:111:tcti_from_info() Attempting to load TCTI info | |
trace:tcti:src/tss2-tcti/tctildr.c:118:tcti_from_info() Loaded TCTI info named: tcti-spi-lt2go | |
trace:tcti:src/tss2-tcti/tctildr.c:119:tcti_from_info() TCTI description: TCTI for communicating with LetsTrust-TPM2Go. | |
trace:tcti:src/tss2-tcti/tctildr.c:120:tcti_from_info() TCTI config_help: Takes no |
//gcc $(pkg-config --cflags --libs glfw3 cairo) glfw-cairo-xlib.c | |
#include <math.h> | |
#include <stdio.h> | |
#include <cairo/cairo.h> | |
#include <cairo/cairo-xlib.h> | |
#include <GLFW/glfw3.h> | |
#define GLFW_EXPOSE_NATIVE_X11 |
#include <GLFW/glfw3.h> | |
#define GLFW_EXPOSE_NATIVE_X11 | |
#define GLFW_EXPOSE_NATIVE_GLX | |
#include <GLFW/glfw3native.h> | |
#include <cairo/cairo.h> | |
#include <cairo/cairo-gl.h> | |
#include <stdlib.h> | |
int main(int argc, char * argv[]) { |
package net.tobyp.bukkit.annoyance; | |
import org.bukkit.ChatColor; | |
import org.bukkit.entity.Creeper; | |
import org.bukkit.entity.Entity; | |
import org.bukkit.entity.EntityType; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.entity.*; |
#include <chrono> | |
#include <condition_variable> | |
#include <deque> | |
#include <list> | |
#include <mutex> | |
#include <thread> | |
#include <utility> | |
#include <vector> | |
namespace scheduling { |