Skip to content

Instantly share code, notes, and snippets.

View brunocroh's full-sized avatar
🤣
I use arch btw

Bruno Rodrigues brunocroh

🤣
I use arch btw
View GitHub Profile
// Logiops (Linux driver) configuration for Logitech MX Master 3.
// // Includes gestures, smartshift, DPI.
// // Tested on logid v0.2.3 - GNOME 3.38.4 on Zorin OS 16 Pro
// // What's working:
// // 1. Window snapping using Gesture button (Thumb)
// // 2. Forward Back Buttons
// // 3. Top button (Ratchet-Free wheel)
// // What's not working:
// // 1. Thumb scroll (H-scroll)
// // 2. Scroll button
@brunocroh
brunocroh / progressBar.ts
Last active November 27, 2024 11:26
Youtube downloader
import cliProgress from 'cli-progress'
import colors from 'ansi-colors'
import stream from 'stream'
async function endDownload(promise: any) {
return new Promise((resolve, reject) => {
promise
.then(resolve)
.catch(reject)
})
import React, {Dispatch, SetStateAction, useCallback, useRef, useState} from 'react';
import {Input, TamaguiElement, XStack} from 'tamagui';
import * as Clipboard from 'expo-clipboard';
import {Keyboard} from 'react-native';
type Props = {
setState: Dispatch<SetStateAction<string>>;
};
type Code = {
@brunocroh
brunocroh / default.md
Created July 9, 2025 10:36 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.