Skip to content

Instantly share code, notes, and snippets.

View mavuriel's full-sized avatar
🎯
Focusing

Uriel Tenorio mavuriel

🎯
Focusing
View GitHub Profile
@mavuriel
mavuriel / config.md
Created July 12, 2024 00:22
pnpm installs fails (ERR_SOCKET_TIMEOUT)
@mavuriel
mavuriel / bluetooh-pair.md
Created November 30, 2023 01:05
Solve bluetooh pairing issue - linux

Bluetooh pairing

  1. If you tried to pair through some bluetooth UI from your OS and your device is associated then remove from your bluetooth device list.

  2. Restart bluetooth.service

sudo systemctl restart bluetooth.service
  1. Put your device into pairing mode
@mavuriel
mavuriel / README.md
Last active June 17, 2024 23:01
Script to setup LAMP

Setup LAMP

Script to setup LAMP - Apache - Mariadb - PHP in debian/ubuntu based distros

Additionally installing composer and PHP 8.0 to 8.3 versions

Setup instructions from:

@mavuriel
mavuriel / Firefox-Developer-install.md
Last active June 7, 2024 17:46
Script to install Firefox Developer Edition
@mavuriel
mavuriel / install-update_composer.md
Last active January 6, 2023 21:35
Pasos para instalar o actualizar composer en linux

Para instalar composer por primera vez puedes utilizar este comando, pero te instalara una version antigua por lo que deberas de seguir los pasos para actualizar despues de esta instalacion:

sudo apt-get install composer

Para actualizar composer puede ser realizado a traves del comando composer self-update pero si hubiera algun error al ejecutar el codigo se debe realizar lo siguiente:

function GenerarPaginacion(cantidadTotalRegistros){
const limiteRegistros = 10
const cantidadPaginas = Math.ceil(cantidadTotalRegistros / limiteRegistros)
// sessionStorage.setItem( 'cantidadPaginas', cantidadPaginas )
let objPaginacion = {}
for(let i = 0; i < cantidadPaginas; i++){
{
"meta": {
"theme": "caffeine"
},
"basics": {
"name": "Uriel Joshep Ameca Tenorio",
"label": "Web Developer",
"image": "",
"email": "[email protected]",
"phone": "2721807630",
@mavuriel
mavuriel / laravel_commands.md
Last active March 11, 2022 04:52
Recopilation for most common/uncommon laravel commands

Commands

Controller

  • php artisan make:controller NombreController

Models

  • php artisan make:model ModelName
  • Create a new model with table relation like:
@mavuriel
mavuriel / sshWindows.md
Last active June 12, 2022 02:50
Process to configure SSH github connection in windows

Guide to generate a SSH Key in Windows

Verify SSH installed

Configuration -> Apps -> Features and apps -> optional features

Use search bar and type "ssh", if it's installed you'll see a result with the name "OpenSSH client"

Terminal