Skip to content

Instantly share code, notes, and snippets.

View danielnunez's full-sized avatar
:octocat:
Codeando eternamente

Daniel Nuñez S. danielnunez

:octocat:
Codeando eternamente
View GitHub Profile
@manueldev
manueldev / DSL-2401HN-T1C-movistar-adsl.txt
Last active October 4, 2025 20:18
contraseñas de routers por proveedores chilenos vtr movistar mundo entel claro wom
http://192.168.1.1:8000/cgi-bin/login_advance.cgi
DSL-2401HN-T1C
Movistar Chile ADSL
Support
!!T2l2f4n3c1!!
@ayoubzulfiqar
ayoubzulfiqar / folder_structure.md
Created September 5, 2023 06:12
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
@alikrc
alikrc / DbeaverDarkThemeHow.md
Last active May 14, 2025 06:38
dbeaver dark theme setup
@themakunga
themakunga / README.md
Last active October 1, 2025 18:54
Validador de RUN chileno en TypeScript

Validador de RUN chile en Typescript

conmo usarlo

solo rut

import { validateRUN } from 'your/dir/file.ts';

const run: string = '11.111.111-1'; // also can be '11111111-1' or '111111111'
const response: boolean = validateRUN({run});
@domingogallardo
domingogallardo / Imágenes Docker multiplataforma.md
Last active July 25, 2023 10:40
Cómo crear una imagen Docker multiplataforma en un MacBook M1

Imágenes Docker multiplataforma en MacBook M1

Las imágenes Docker creadas en un MacBook M1 tienen la arquitectura linux/arm64 y no funcionan en ordenadores con el procesador Intel, que necesitan la arquitectura linux/amd64.

Para solucionar este problema podemos crear y subir a Docker Hub una imagen multiplataforma. Así tendremos una imagen que funciona bien para ordenadores Intel y para ordenadores con arquitectura ARM

@megahirt
megahirt / Docker with XDebug.md
Last active July 16, 2025 20:13
Debugging PHP with XDebug v3 inside Docker using VSCode

Debugging PHP with XDebug v3 inside Docker using VSCode

Assumptions / Prerequisites

  • XDebug v3+ inside Docker (e.g. php:7.3-apache Docker image)
  • Running Docker v20.10+
  • VSCode with PHP Debug Extension (Felix Becker)
  • Using Docker Compose for orchestration

Objective

@lennardv2
lennardv2 / 1. Building PHP-MAMP on Apple Silicon M1.md
Last active February 25, 2025 15:28
Native PHP development / MAMP stack on Apple silicon M1

Building the MAMP stack (php, apache & mysql) on Apple Silicon ARM (native)

Update! This tutorial is outdated. Nowadays brew installes m1 binaries just fine. Also use valet: https://laravel.com/docs/9.x/valet. It's 10x easier.

In this tutorial, we'll build the the nescessary packages for ARM via homebrew. After that we'll configure apache2 for using virtual hosts. The native php is ofcourse way faster, see the results of this benchmark below.

TEST NAME SECONDS OP/SEC
@nickcernis
nickcernis / mariadb-brew-macos.md
Last active August 7, 2025 15:47
Install MariaDB with brew on macOS and fix the “access denied” issue

Edit — best to first try:

mariadb-secure-installation -u $(whoami)

Original version here below in case the above does not work for you.


alexcvzz.vscode-sqlite
andys8.jest-snippets
apollographql.vscode-apollo
austincummings.razor-plus
bobsparadox.seti-black
BriteSnow.vscode-toggle-quotes
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
CoenraadS.bracket-pair-colorizer
dbaeumer.vscode-eslint
@GlauberF
GlauberF / KeyEventSimulator.js
Created April 29, 2020 10:28
A function for simulating key event in JavaScript. You just have to choose what key and keyboard event you want to simulate.
/**
* Simulate a key event.
* @param {Number} keyCode The keyCode of the key to simulate
* @param {String} type (optional) The type of event : down, up or press. The default is down
* @param {Object} modifiers (optional) An object which contains modifiers keys { ctrlKey: true, altKey: false, ...}
*/
function simulateKey (keyCode, type, modifiers) {
var evtName = (typeof(type) === "string") ? "key" + type : "keydown";
var modifier = (typeof(modifiers) === "object") ? modifier : {};