Skip to content

Instantly share code, notes, and snippets.

View sukesh-ak's full-sized avatar

Sukesh Ashok Kumar sukesh-ak

View GitHub Profile
@sukesh-ak
sukesh-ak / aes256.cpp
Created June 1, 2022 18:43 — forked from edwardstock/aes256.cpp
C++ OpenSSL AES256 encryption
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <memory>
#include <stdexcept>
#include <cstring>
#include <openssl/aes.h>
#include <openssl/err.h>
@sukesh-ak
sukesh-ak / WT32-SC01-Plus_ESP32-S3.ino
Last active December 14, 2024 04:31
WT32-SC01-Plus Test sample using LovyanGFX driver
/*
Simple Touch Drawing sample for WT32-SC01-Plus_ESP32-S3
Requirements:
- Development board : WT32-SC01-Plus_ESP32-S3
- Arduino Library - Display/Touch : LovyanGFX
- Board selected in Arduino : ESP32S3 Dev Module
*/
#define LGFX_USE_V1 // set to use new version of library
@sukesh-ak
sukesh-ak / MakerfabsGC9A01.ino
Last active November 13, 2022 06:31
Makerfabs GC9A01 1.28 Inch Round LCD LovyanGFX config
/*
Simple Touch Drawing sample for Makerfabs GC9A01 1.28 Inch Round LCD Module
Requirements:
- Development board : ESP32-S3 based
- Arduino Library - Display/Touch : LovyanGFX
- Board selected in Arduino : ESP32S3 Dev Module
*/
@sukesh-ak
sukesh-ak / Makerfabs_S3_Parallel_TFT.ino
Created November 30, 2022 16:04
Makerfabs ESP32-S3 3.5" Parallel TFT - ESP32S335D - Test sample using LovyanGFX driver
/*
Simple Touch Drawing sample for Makerfabs ESP32-S3 3.5" Parallel TFT ( ESP32S335D )
Requirements:
- Development board : Makerfabs ESP32-S3 3.5" 16Bit Parallel TFT
- Arduino Library - Display/Touch : LovyanGFX
- Board selected in Arduino : ESP32S3 Dev Module
*/
#define LGFX_USE_V1 // set to use new version of library
#include <LovyanGFX.hpp> // main library
@sukesh-ak
sukesh-ak / Makerfabs_S3_TFT43.ino
Last active January 25, 2024 15:29
Makerfabs ESP32-S3 4.3" 800x480 Parallel RGB565 TFT with Capacitive Touch
/*
Simple Graph + Touch Drawing sample for Makerfabs ESP32-S3 4.3" 800x480 Parallel RGB565 TFT ( E32S3RGB43 )
Product purchase link : https://bit.ly/42cuRO3
Requirements:
- Development board : Makerfabs ESP32-S3 4.3" 800x480 Parallel RGB565 TFT with Capacitive Touch
- Arduino Library - Display/Touch : LovyanGFX
- Board selected in Arduino : ESP32S3 Dev Module
- PSRAM : OPI PSRAM
*/
// ******************************************************
// An example of the SimpleFusion library that combines
// accelerometer and gyroscope data quickly and easily.
//
// This example uses the mpu6050 6-dof IMU and the
// Adafruit library for it.
//
// Created in 2022 by Sean Boerhout under the MIT License
// ******************************************************
@sukesh-ak
sukesh-ak / WT32-SC01_ESP32.ino
Created March 24, 2023 16:33
WT32-SC01 Test sample using LovyanGFX driver
/*
Simple Touch Drawing sample for WT32-SC01_ESP32
Requirements:
- Development board : WT32-SC01_ESP32
- Arduino Library - Display/Touch : LovyanGFX
- Board selected in Arduino : ESP32 Dev Module
*/
//#define LGFX_WT32_SC01 // Wireless Tag / Seeed WT32-SC01
@sukesh-ak
sukesh-ak / microk8s_in_lxc.md
Created August 10, 2023 09:34 — forked from acj/microk8s_in_lxc.md
Installing microk8s in an LXC container

Installing microk8s in an LXC container

I wanted to run Microk8s on a Proxmox 6 host inside of an LXC container. These are my notes from the journey.

  1. Create a privileged LXC container through the Proxmox web interface
  • Enable nesting and FUSE
    • In Proxmox UI, select container, then Options > Features > Check nesting and FUSE boxes
  1. SSH into the Proxmox host and edit the container's config in /etc/pve/lxc/.conf
    • Add the following lines
  • lxc.apparmor.profile: unconfined