Skip to content

Instantly share code, notes, and snippets.

View cgalvist's full-sized avatar

César Galvis cgalvist

View GitHub Profile
@cgalvist
cgalvist / arduino-cli-commands.md
Last active August 17, 2024 22:52
Arduino-CLI Commands

Install dependencies

Linux (Steps for Ubuntu 24.04)

# Install cpplint
sudo apt install cpplint
# Install arduino-cli
mkdir -p ~/.bin/arduino-cli
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.bin/arduino-cli/ sh
@cgalvist
cgalvist / README.md
Created July 8, 2024 00:53 — forked from avoidik/README.md
Repack APK, make it debuggable
@cgalvist
cgalvist / rust_commands.md
Created June 5, 2024 20:15
Rust commands

Rust commands

# Create workspace
echo '[workspace]' > Cargo.toml
# Create library
cargo new --lib crates/$LIB_NAME
# Create project
cargo new crates/$PROJECT_NAME
@cgalvist
cgalvist / flutter-commands.md
Last active July 9, 2024 15:25
Flutter commands

Install SDK and dependencies

Linux (steps for Ubuntu 24.04)

  1. Install Flutter SDK

Some steps from docs.flutter.dev

Android studio not required

Basic .NET template generator (clean architecture) and common files

# PARAMETERS
COMPANY=CompanyName
SYSTEM=SystemName
PROJECT=ProjectName
SOLUTION_NAME=$COMPANY.$SYSTEM.$PROJECT
FRAMEWORK=net8.0
@cgalvist
cgalvist / dev-docker-containers.md
Last active July 12, 2023 21:02
Useful docker-compose examples (dev)

Docker Compose examples

Docker Compose examples for local development and tests environments.

SonarQube

Check this page for show solutions with memory errors

# Make volumes
@cgalvist
cgalvist / ef-migrations.demo.md
Created June 28, 2023 15:30
Demostración EF Migrations
@cgalvist
cgalvist / docker-windows.md
Last active May 23, 2023 16:05
Instalar docker engine en Windows

Instalación de Docker engine (Windows - WSL)

Prerequisitos

  • No tener instalado Docker Desktop
  • Tener WSL 2 instalado. Instrucciones aquí.
  • Tener una distribución de Linux instalada desde la tienda de Microsoft (en este ejemplo, Ubuntu 22.04)

Instalación

@cgalvist
cgalvist / dotnet-template.md
Last active November 6, 2024 16:41
dotnet clean architecture template

Basic .NET template generator (clean architecture) and common files

# PARAMETERS
COMPANY=CompanyName
SYSTEM=SystemName
PROJECT=ProjectName
SOLUTION_NAME=$COMPANY.$SYSTEM.$PROJECT
FRAMEWORK=net8.0