Skip to content

Instantly share code, notes, and snippets.

View guillorrr's full-sized avatar

Guillermo Baron guillorrr

View GitHub Profile
@evgenyneu
evgenyneu / setup_cursor_ubuntu.md
Last active December 11, 2025 15:40
Install Cursor AI code editor on Ubuntu 24.04 LTS

Install Cursor AI editor on Ubuntu 24.04

  1. Use the Download button on www.cursor.com web site. It will download the NAME.AppImage file.

  2. Copy the .AppImage file to your Applications directory

cd ~/Downloads
mkdir -p ~/Applications
mv NAME.AppImage ~/Applications/cursor.AppImage
@mzarallo
mzarallo / .env.ci
Last active December 3, 2024 09:51
Github action to test your application in Laravel and deploy via SSH
APP_KEY=
APP_ENV=local
APP_DEBUG=true
APP_URL=http://127.0.0.1:8000
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
@ssi-anik
ssi-anik / Dockerfile
Created July 18, 2021 09:16
xdebug 3, docker integrate with PhpStorm
FROM sirajul/php74-fpm:latest
RUN pecl install xdebug
#RUN docker-php-ext-enable xdebug
RUN mkdir -p /home/xdebug
COPY ./docker/php/xdebug-debug.ini /home/xdebug/xdebug-debug.ini
COPY ./docker/php/xdebug-default.ini /home/xdebug/xdebug-default.ini
COPY ./docker/php/xdebug-off.ini /home/xdebug/xdebug-off.ini
COPY ./docker/php/xdebug-profile.ini /home/xdebug/xdebug-profile.ini
@dnburgess
dnburgess / gist:e00fc05a567f278828ff72b3e35ed3cc
Last active October 17, 2023 16:36
DB Tech Media Server Setup
---
version: "2"
services:
emby:
image: linuxserver/emby
container_name: emby
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
@spirillen
spirillen / ffmpeg-add-subtitles.md
Last active November 22, 2025 20:27
Use FFmpeg to add subtitles to video

Use FFmpeg to add subtitles to video

MP4:

ffmpeg -i input.mp4 -f srt -i input.srt -map 0:0 -map 0:1 -map 1:0 -c:v copy \
    -c:a copy -c:s mov_text output.mp4

MKV:

@elcascarudo-dev
elcascarudo-dev / Postman
Created May 24, 2020 12:50
Instalar Postman en Ubuntu 20.04
1.- Descargar Postman
https://www.postman.com/downloads/
2.- Descomprimirlo
tar zxf Postman-*.tar.gz
@rolandstarke
rolandstarke / laravel setup.sh
Last active June 16, 2025 10:54
Server setup bash script for Laravel
# Ubuntu 20 LTS Server Setup for Laravel
# Login as root user
sudo su -
# Update list of available packages
apt update
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 12, 2025 19:21
Conventional Commits Cheatsheet
@cfriedli
cfriedli / forticlientsslvpn-expect.sh
Created October 17, 2018 10:24 — forked from azizasm/forticlientsslvpn-expect.sh
Continuous run Forticlient VPN using expect. Automatically restart VPN if get disconnected or session closed.
#!/bin/bash
# Forticlient SSL VPN Client / expect
# --------------------------------------------
# CONFIGURATION
FORTICLIENT_PATH=""
@cse031sust02
cse031sust02 / install-laravel-project.sh
Created March 12, 2018 04:26
Bash Script to install Laravel project from Git on LEMP stack
#!/bin/sh
########################################################
# Bash script to install HeavyGari Laravel App
# Written by Talha Ibne Imam
########################################################
HC='\033[0;32m' # Heading Color
WC='\033[0;33m' # Warning Color
NC='\033[0m' # No Color