Skip to content

Instantly share code, notes, and snippets.

@forcequit
forcequit / .cursorrules
Created May 31, 2025 17:14 — forked from boxabirds/.cursorrules
Rock solid: turn Cursor into a rock-solid software engineering companion
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
@forcequit
forcequit / install_ffmpeg.sh
Created August 22, 2023 19:48 — forked from smac89/install_ffmpeg.sh
Install latest version of ffmpeg on Ubuntu
#!/bin/bash
sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
# Create a dir where the rest of the sources will live
mkdir ~/ffmpeg_sources
<?php
namespace App\Workflows\ConvertVideo;
use Workflow\ActivityStub;
use Workflow\Workflow;
class ConvertVideoWorkflow extends Workflow
{
public function execute()