Skip to content

Instantly share code, notes, and snippets.

View ide's full-sized avatar
📈
My life is a hackathon

James Ide ide

📈
My life is a hackathon
View GitHub Profile
@plentz
plentz / nginx.conf
Last active July 22, 2024 11:19
Best nginx configuration for improved security(and performance)
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048

I would like to propose a lightning talk for the Reactive Conference demonstrating how you can interact with Arduino and/or Raspberry Pi GPIO's using React Native.

Here's is an example video where fellow speaker Brent Vatne controls my arduino device remotely using a sample react native app that can be found here

Thank you, @christopherdro

@fauxpark
fauxpark / applefn.patch
Last active July 17, 2024 08:25
QMK Apple Fn
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 18f8b0bbfc..4ef3e230e4 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -878,6 +878,10 @@ ifeq ($(strip $(JOYSTICK_ENABLE)), yes)
endif
endif
+ifeq ($(strip $(APPLE_FN_ENABLE)), yes)
+ OPT_DEFS += -DAPPLE_FN_ENABLE
@not-a-feature
not-a-feature / update_ssd_firmware.sh
Last active March 9, 2024 23:17
Updates the firmware of Western Digital SSDs on Ubuntu / Linux Mint.
⚠️ News: Use the interactive tool wd-fw-update.
- Install it via pip: `pip install wd-fw-update`
- Then run `wd-fw-update`
- See https://github.com/not-a-feature/wd_fw_update for more information.
A shell version is also available and was merged into a proper repository: https://github.com/not-a-feature/wd_ssd_firmware_update