Skip to content

Instantly share code, notes, and snippets.

View Olaclemmy's full-sized avatar

Olaniyi Clement O Olaclemmy

  • South Africa
View GitHub Profile
@Olaclemmy
Olaclemmy / windows-keys.md
Created April 20, 2025 21:58 — forked from rvrsh3ll/windows-keys.md
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@Olaclemmy
Olaclemmy / AudioPlaylist
Created May 2, 2019 19:51 — forked from jewelsea/AudioPlaylist
Plays a list of Audio Files in JavaFX, displaying the media metadata of each file (it it is available).
import javafx.application.*;
import javafx.beans.value.*;
import javafx.collections.*;
import javafx.event.*;
import javafx.geometry.Pos;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.control.cell.MapValueFactory;
import javafx.scene.image.*;
import javafx.scene.layout.*;
@Olaclemmy
Olaclemmy / ImagePicker.java
Created January 14, 2019 01:13 — forked from Mariovc/ ImagePicker.java
Utility for picking an image from Gallery/Camera with Android Intents
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.content.res.AssetFileDescriptor;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.media.ExifInterface;
@Olaclemmy
Olaclemmy / BLE2902.cpp
Created October 25, 2018 07:19 — forked from beegee-tokyo/BLE2902.cpp
Dirty patch for ESP32 BLE server to allow multiple clients to connect and subscribe to Notify or Indicate
/** Patch for adding multi client subscriptions to NOTIFY and INDICATE
* All functions adapted to support data for up to 10 clients
* Check lines 23, 24, 25, 34, 35, 43, 44, 52, 53, 55, 57, 66, 67, 69, 71
* for changes
*/
/*
* BLE2902.cpp
*
* Created on: Jun 25, 2017
* Author: kolban
@Olaclemmy
Olaclemmy / KeyInWifi.cpp
Created October 21, 2018 23:45 — forked from yoursunny/KeyInWifi.cpp
Enter WiFi Credentials on ESP32 with One Button https://yoursunny.com/t/2018/ESP32-WiFi-credentials-one-button/
#include "KeyInWifi.hpp"
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <vector>
#include <WiFi.h>
#include <WString.h>
#include <U8x8lib.h>
#define DELAY_CHOICE 250
@Olaclemmy
Olaclemmy / ESP32_BLE_Arcade.ino
Created October 17, 2018 23:13 — forked from GameDragon2k/ESP32_BLE_Arcade.ino
NodeMCU-32S Game Pad
/*
Video: https://www.youtube.com/watch?v=oCMOYS71NIU
Based on Neil Kolban example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleNotify.cpp
Ported to Arduino ESP32 by Evandro Copercini
Gamepad coding by Game Dragon
*/
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
@Olaclemmy
Olaclemmy / Arduino101_Pixy.ino
Created October 13, 2018 03:14 — forked from rondagdag/Arduino101_Pixy.ino
Arduino 101 + Pixy
//
// begin license header
//
// This code is created by Ron Dagdag
//
// All source code is provided under the terms of the
// GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html).
// Those wishing to use Pixy source code, software and/or
// technologies under different licensing terms should contact us at
// [email protected]. Such licensing terms are available for