Skip to content

Instantly share code, notes, and snippets.

View RayFernando1337's full-sized avatar

Ray Fernando RayFernando1337

View GitHub Profile
@RayFernando1337
RayFernando1337 / capabilities.txt
Created March 9, 2025 23:22 — forked from jlia0/agent loop
Manus tools and prompts
# Manus AI Assistant Capabilities
## Overview
I am an AI assistant designed to help users with a wide range of tasks using various tools and capabilities. This document provides a more detailed overview of what I can do while respecting proprietary information boundaries.
## General Capabilities
### Information Processing
- Answering questions on diverse topics using available information
- Conducting research through web searches and data analysis
#!/usr/bin/env python3
"""
Human quality transcripts from audio files using
AssemblyAI for transcription and Google's Gemini for enhancement.
Requirements:
- AssemblyAI API key (https://www.assemblyai.com/)
- Google API key (https://aistudio.google.com/)
- Python packages: assemblyai, google-generativeai, pydub
# Swift Language Fundamentals
Swift is a modern programming language for Apple platforms (iOS, macOS, etc.) with these key characteristics:
1. Core Features:
- Type inference for automatic type detection
- Optionals for safe handling of missing values
- Closures for flexible function passing
- Memory safety by design
- Built-in error handling
@RayFernando1337
RayFernando1337 / 3dbuttonRayFernando.swift
Created December 16, 2024 22:39
3D Button by @RayFernando1337 inspired by @tahahaider37
import SwiftUI
struct WaterButton: View {
@State private var isPressed = false
var body: some View {
Button(action: {
withAnimation(.spring(response: 0.15, dampingFraction: 0.6)) {
isPressed = true
}
@RayFernando1337
RayFernando1337 / convert_archive.py
Created November 18, 2024 10:56 — forked from deepfates/convert_archive.py
Convert your twitter archive into a training dataset and markdown files
import argparse
import json
import logging
import os
import re
import shutil
from concurrent.futures import ProcessPoolExecutor, as_completed
from dataclasses import dataclass
from datetime import datetime
from typing import Any, Callable, Dict, List, Literal, Optional, Tuple
@RayFernando1337
RayFernando1337 / LuxuryGoldTheme.tsx
Created October 30, 2024 15:36
Luxury Gold Theme (In Progress)
import React from 'react';
import { X } from 'lucide-react';
const GoldThemeModal = () => {
const themes = [
{ id: 'dark', preview: 'Dark' },
{ id: 'light', preview: 'Light' },
{ id: 'gold', preview: 'Gold' }
];
@RayFernando1337
RayFernando1337 / README_hfd.md
Created August 15, 2024 19:20 — forked from padeoe/README_hfd.md
CLI-Tool for download Huggingface models and datasets with aria2/wget+git

🤗Huggingface Model Downloader

Considering the lack of multi-threaded download support in the official huggingface-cli, and the inadequate error handling in hf_transfer, this command-line tool smartly utilizes wget or aria2 for LFS files and git clone for the rest.

Features

  • ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
  • 🚀 Multi-threaded Download: Utilize multiple threads to speed up the download process.
  • 🚫 File Exclusion: Use --exclude or --include to skip or specify files, save time for models with duplicate formats (e.g., *.bin or *.safetensors).
  • 🔐 Auth Support: For gated models that require Huggingface login, use --hf_username and --hf_token to authenticate.
  • 🪞 Mirror Site Support: Set up with HF_ENDPOINT environment variable.