Skip to content

Instantly share code, notes, and snippets.

View agathauy's full-sized avatar
🎯
Focusing

Agatha Uy agathauy

🎯
Focusing
View GitHub Profile
@futechiot
futechiot / esp32_series_AP+StationMode.ino
Last active February 18, 2025 16:07
ESP32 WIFI Modes Series: Create Hotspot on ESP32 in AccessPoint mode, Connect your ESP32 with your Home router or other wifi hotspot in STATION mode, make your ESP32 work in both mode simultaneously to give credentials and to send data on cloud
/*
OUTPUT: Creating your own hotspot on esp32 wifi+ble module as well as
connect to your home router or mobile hotspot.
BOTH ACCESS POINT + STATION ACTIVATED
Author: Ankit Rana (Futechiot)
Board Used: esp32 development board, LolinD32,WEMOS LOLIN32, ESP32 MH-ET live Minikit
Website: www.futechiot.com
GitHub: https://github.com/futechiot
@TriForceX
TriForceX / ldk-screen-upgrade.md
Last active September 13, 2021 13:27
LDK Screen Upgrade

LDK Screen Upgrade

The next guide is to replace/upgrade the LDK Game console screen for a bigger one. Thanks to Tbox for this.
Note: There will be a little bit of backlight bleed on the sides but only really noticeable in the dark.

Materials

  • LCD screen (buy)
  • Protector film (buy)
  • Screwdriver
  • Dremel or knife
  • Tape
// This post referred to this git. I just trimmed cam and wifi part.
// https://github.com/v12345vtm/CameraWebserver2SD/blob/master/CameraWebserver2SD/CameraWebserver2SD.ino
#include "FS.h"
#include "SD_MMC.h"
//List dir in SD card
void listDir(fs::FS &fs, const char * dirname, uint8_t levels){
Serial.printf("Listing directory: %s\n", dirname);
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@markerikson
markerikson / redux-socket-middleware-example.js
Created June 28, 2018 00:37
Redux socket middleware example usage
const createMySocketMiddleware = (url) => {
return storeAPI => {
let socket = createMyWebsocket(url);
socket.on("message", (message) => {
storeAPI.dispatch({
type : "SOCKET_MESSAGE_RECEIVED",
payload : message
});
});
@stevenliebregt
stevenliebregt / pyqt5-eventfilter-touch-example.py
Created June 15, 2018 14:52
PyQt5 Example of the eventFilter, and a TouchEvent capture.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from PyQt5.QtCore import QEvent
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWidgets import QMainWindow
@Coderx7
Coderx7 / Install NVIDIA Driver and CUDA.md
Created April 11, 2018 19:56 — forked from zhanwenchen/Install NVIDIA Driver and CUDA.md
Install NVIDIA CUDA 8.0 on Ubuntu 16.04.3 LTS
@xeoncross
xeoncross / logger.js
Last active April 21, 2024 00:26
Expressjs Server Monitoring with Winston + Morgan
const { createLogger, format, transports } = require("winston");
// https://github.com/winstonjs/winston#logging
// { error: 0, warn: 1, info: 2, verbose: 3, debug: 4, silly: 5 }
const level = process.env.LOG_LEVEL || "debug";
function formatParams(info) {
const { timestamp, level, message, ...args } = info;
const ts = timestamp.slice(0, 19).replace("T", " ");

Using the fs-net libtransistor fork

This guide assumes you are already familliar with setting up RetroArch with libtransistor.

Clone the fs-net branch from https://github.com/davidbuchanan314/libtransistor:

git clone https://github.com/davidbuchanan314/libtransistor --recursive -b fs-net

Build libtransistor as usual.

@Piasy
Piasy / install_ffmpeg.sh
Last active March 16, 2025 19:14
brew install ffmpeg with all options
brew options ffmpeg
brew install ffmpeg \
--with-chromaprint \
--with-fdk-aac \
--with-fontconfig \
--with-freetype \
--with-frei0r \
--with-game-music-emu \
--with-libass \