Skip to content

Instantly share code, notes, and snippets.

View bidah's full-sized avatar

Rodrigo Figueroa bidah

View GitHub Profile
@bidah
bidah / PRD.md
Created February 25, 2026 12:13
PRD SKILL
name description
prd
Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.

PRD Generator

Create detailed Product Requirements Documents that are clear, actionable, and suitable for autonomous AI implementation via the Ralph loop.


Metro error: Unable to resolve module uniwind/components from /Users/rofi/Programing/open-mobile-code/local-expo-app/node_modules/@react-navigation/native/lib/module/Link.js: uniwind/components could not be found within the project or in these directories:
node_modules
../node_modules
../../node_modules
> 1 | "use strict";
2 |
3 | import { useTheme } from '@react-navigation/core';
4 | import * as React from 'react';
Import stack:
@bidah
bidah / youtube-player.native.tsx
Created May 14, 2025 13:55
youtube expo universal module
import Fontisto from "@expo/vector-icons/Fontisto";
import React, { useState, useCallback, useEffect } from "react";
import { View, ImageBackground, Pressable } from "react-native";
import YoutubePlayerIframe from "react-native-youtube-iframe";
import { useBoolean } from "@/hooks/use-boolean";
const OverlayPlayerScreen = ({
image,
setToggleOverlay,
}: {
import { supabase } from "@/lib/supabase";
import { useAuth } from "@/services/auth/useAuth";
import { useEffect } from "react";
import { trpc } from "@/utils/trpc";
export function useRealtime() {
// your auth setup to get current user id
const { session } = useAuth();
const userId = session?.user.id;
@bidah
bidah / SplitScreen.tsx
Created November 14, 2023 23:55 — forked from smontlouis/SplitScreen.tsx
Amie in-app split screen in react-native
import { useWindowDimensions } from 'react-native'
import { Gesture } from 'react-native-gesture-handler'
import Animated, {
Extrapolation,
WithSpringConfig,
interpolate,
scrollTo,
useAnimatedRef,
useAnimatedScrollHandler,
useAnimatedStyle,
{
"title": "Change modifiers to arrows",
"rules": [
{
"description": "Change right_shift to top_arrow if pressed alone",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "right_shift",
{
"title": "Change rk61 Keyboard escape behavior",
"rules": [
{
"description": "Change left option+escape to escape - 2",
"manipulators": [
{
"from": {
"key_code": "escape",
"modifiers": {
{
"title": "Change rk61 Keyboard escape behavior",
"rules": [
{
"description": "Change left option+escape to escape",
"manipulators": [
{
"from": {
"key_code": "escape",
"modifiers": {
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {