Skip to content

Instantly share code, notes, and snippets.

View dnoliver's full-sized avatar

Nicolas Oliver dnoliver

  • Intel Corporation
  • Hillsboro, Oregon
View GitHub Profile
@dnoliver
dnoliver / README.md
Last active April 5, 2021 19:26
Keylime

Keylime

Setup on Microsoft Hyper-V VM

To setup in Microsoft Hyper-V VM, follow this Github Comment.

Patches Required

tpm2_main.patch

@dnoliver
dnoliver / README.md
Last active April 14, 2021 17:54
Trusted Boot
version: "3.7"
services:
node-red:
image: nodered/node-red:latest
environment:
- TZ=America/Argentina
ports:
- "1880:1880"
networks:
- node-red-net
@dnoliver
dnoliver / README.md
Created November 3, 2020 03:00
Qt Download Sample

Qt Download URL Sample

This sample have the code to download an image using http and https.

@dnoliver
dnoliver / Dockerfile
Last active October 12, 2020 12:47
Custom Application Using TPM PKCS11
FROM fedora:latest
RUN dnf install -y tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools gnutls-utils openssl-pkcs11 nodejs
VOLUME /etc/tpm2_pkcs11
VOLUME /root/test
WORKDIR /root/test
CMD bash
@dnoliver
dnoliver / openvpn-pkcs11-test.sh
Last active July 27, 2020 22:58
Test OpenVPN PKCS11 Support
#!/bin/bash
set -euxo pipefail
# This script reproduces https://github.com/tpm2-software/tpm2-pkcs11/issues/67
# WARNING: Clear the TPM and deletes the PKCS11 DB
# REQUIRES:
# dnf install -y tpm2-pkcs11 tpm2-pkcs11-tools tpm2-tools gnutls-utils openvpn
echo "OpenVPN Server Setup"
@dnoliver
dnoliver / advantech.md
Last active June 24, 2020 00:06
Advantech

Firmware and BIOS

Firmware Update Manager version

[root@localhost-live liveuser]# fwupdmgr --version
client version:	1.5.0
compile-time dependency versions
	gusb:	0.3.4
	efivar:	37
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib
import sys
import time
## Pre-procesar datos
ConfirmedCases_raw = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv')
Deaths_raw = pd.read_csv('https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_deaths_global.csv')
@dnoliver
dnoliver / README.md
Last active December 9, 2020 18:41
Linux Integrity Measurement Architecture (IMA) Helpers

IMA Helper Scripts