Skip to content

Instantly share code, notes, and snippets.

View is-equal's full-sized avatar
📺
Big Screen Developer

Matheus (Equal) Albino is-equal

📺
Big Screen Developer
View GitHub Profile
@is-equal
is-equal / reactive.js
Created August 26, 2023 16:40 — forked from 1Marc/reactive.js
Vanilla Reactive System
// Credit Ryan Carniato https://frontendmasters.com/courses/reactivity-solidjs/
let context = [];
export function untrack(fn) {
const prevContext = context;
context = [];
const res = fn();
context = prevContext;
return res;
@is-equal
is-equal / LogitechF310_Macbook.MD
Created August 5, 2022 03:51 — forked from jackblk/LogitechF310_Macbook.MD
Getting Logitech F310 to work with Macbook USB-C port

Connect & use Logitech F310 with Macbook

Since my Macbook Pro only has USB-C port, I used an USB-A to USB-C adapter to connect my F310 to it, but it does not work (pressing MODE button does not turn on the LED).

How to

To make it work:

  • Disconnect F310 from Mac
  • On F310: switch X-input to D-input
  • Hold Logitech button (in the middle)
  • Connect F310 to Mac via adapter, now you can release the Logitech button.

Configure yay

git clone https://aur.archlinux.org/yay.git .yay
cd .yay && makepkg -si

Install packages