Skip to content

Instantly share code, notes, and snippets.

View iamlos's full-sized avatar

Cza iamlos

  • Miami
View GitHub Profile
@iamlos
iamlos / copy-paste-at-once.txt
Last active September 26, 2026 00:36 — forked from denisgolius/generate-ssh-key.sh
Correct file permissions for ssh keys and config.
chmod 700 ~/.ssh &&
chmod 600 ~/.ssh/* ||true &&
chmod 644 ~/.ssh/*.pub ||true &&
chmod 644 ~/.ssh/authorized_keys ||true &&
chmod 644 ~/.ssh/known_hosts ||true &&
chmod 644 ~/.ssh/config ||true
chmod g-w,o-w /home/$USER
or
chmod g-w,o-w ~/
@iamlos
iamlos / claude-code-higgsfield-ugc-guide.md
Created August 30, 2026 05:29 — forked from AKCodez/claude-code-higgsfield-ugc-guide.md
Claude Code + Higgsfield — The Complete UGC Pipeline: Automate AI image & video generation with custom skills and Playwright browser automation

Claude Code + Higgsfield — The Complete UGC Pipeline

Automate the entire UGC ad creation workflow: character generation, image creation, and video production. No tab switching, no copy-pasting, no manual clicking. One command, full pipeline.


Overview

Claude Code is an AI assistant that runs in your terminal. Combined with Playwright MCP (a tool that gives Claude control over a real browser) and a library of custom skills, it can:

🎬 Higgsfield MCP no Claude — Prompt + Setup Guide

As promised in the reel: connect Higgsfield to Claude via MCP and let the AI ​​generate 4 of your viral UGC videos (hooks + video) and post them automatically to your networks.

5 It starts for free, with 100 credits.


⚙️ Setup (5 minutes)

@iamlos
iamlos / handbrake-batch.sh
Created January 21, 2026 03:13 — forked from geerlingguy/handbrake-batch.sh
Handbrake CLI batch transcoding script
#!/bin/bash
#
# This script requires HandBrakeCLI. On macOS, at least, you need to download
# and install it separately from Handbrake.
#
# See: https://handbrake.fr/downloads2.php
if [ -z "$1" ] ; then
TRANSCODEDIR="."
else
@iamlos
iamlos / README.md
Created December 4, 2025 20:01 — forked from wong2/README.md
How to run Claude computer use demo on macOS

Note

It is necessary to give Terminal (or iTerm or whatever you use) the permission to control the computer. This can be done in System Settings ➔ Privacy & Security ➔ Accessibility.

Guide

  • Install cliclick for mouse & keyboard emulation
    • brew install cliclick
  • Clone Anthropic quickstart repo
    • git clone https://github.com/anthropics/anthropic-quickstarts.git
  • cd computer-use-demo
  • Replace computer-use-demo/computer_use_demo/tools/computer.py with the modified version below
@iamlos
iamlos / wordpress-nextjs-integration-guide.md
Created March 19, 2025 09:39
Prompt: Implementing WordPress as a Headless CMS in a Next.js Application

Implementing WordPress as a Headless CMS in a Next.js Application

This guide provides step-by-step instructions for implementing WordPress as a headless CMS in a Next.js application using Faust.js and GraphQL. This approach allows you to use WordPress for content management while leveraging Next.js for the frontend.

Prerequisites

  • A WordPress site with admin access
  • Node.js and npm/yarn installed
  • Basic knowledge of React and Next.js
  • Basic understanding of GraphQL
@iamlos
iamlos / index.tsx
Created March 13, 2025 08:52 — forked from bonface221/index.tsx
Framer motion animated counter up while component is in view in next js. For react remove use client and props
"use client";
import {
animate,
motion,
useInView,
useMotionValue,
useTransform,
} from "framer-motion";
import { useEffect, useRef } from "react";
@iamlos
iamlos / vpn_install.sh
Created January 10, 2025 20:27 — forked from ig-rudenko/vpn_install.sh
Для установки нового VPN сервера
#!/bin/bash
if [ "${EUID}" -ne 0 ]; then
echo "You need to run this script as root"
exit 1
fi
# Добавляем официальные репозитории для ubuntu 20.04 LTS
echo "deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
@iamlos
iamlos / harden_ubuntu.sh
Created January 10, 2025 19:16 — forked from renier/harden_ubuntu.sh
Harden Ubuntu
#!/bin/bash
apt-get update
apt-get upgrade -y
apt-get autoremove -y
apt-get autoclean -y
apt-get install ufw -y
apt-get install denyhosts -y
# Configure firewall