Skip to content

Instantly share code, notes, and snippets.

@V-Juarez
V-Juarez / Entorno de Desarrollo para php usando Docker.md
Last active January 22, 2025 08:35
Configuración de docker, php y nginx

Entorno de Desarrollo para php usando Docker 🐳

Quieres aprender php, pero las configuraciones te han abrumado y el deseo de aprender van mermando. No, no detengas tu aprendizaje, siempre existe una solución a los problemas. Instalar php, configurar un servidor web en Windows es muy sencillo, en Linux y macOS es otra situación. Debes conocer sobre la terminal, un editor de código, vim, nano, ser avanzado... y mucho más.

La herramienta que vamos a utilizar y que permite trabajar con php, un servidor web y la terminal es Docker.

Docker: Es una plataforma de software que permite crear, probar e implementar aplicaciones rápidamente.

Docker-compose: Es una herramienta para definir y ejecutar aplicaciones; es multicontenedor que permite simplificar el uso de Docker a partir de archivos YAML, de esta forma es más sencillo generar contendores que se relacionen entre sí, conectarlos, habilitar puertos, volúmenes, etc.

@sts10
sts10 / rust-command-line-utilities.markdown
Last active January 22, 2025 08:35
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@z3ntu
z3ntu / rotation_matrix.py
Last active January 22, 2025 08:34
generate the iio rotation matrix
#!/usr/bin/python3
import glob
import os
import sys
import time
"""
(according to Android emulator, seems to be inverse for iio)
upright/normal: 0 9.81 0
@shague
shague / a.rb
Created November 2, 2015 22:07
flows2
config table 0
{
"flow-node-inventory:table": [
{
"id": 0,
"flow": [
{
"id": "sfcIngress_25_3",
"table_id": 0,
@Orangera1n
Orangera1n / Windows build repo.md
Last active January 22, 2025 08:30
Orangera1n's Windows Build Repo

Orangera1n's Windows Build Repo

Section 1: Introduction

This is a massive (10TB+) archive of almost every publicly leaked or released windows build ever made, stored on 3 5TB onedrive accounts. ALL of these builds come from publicly available sources, not private leaks.

Section 2: How to download the builds?

It's simple, there are 3 OneDrive folders with them: Onedrive folder 1 with Windows XP build 5.1.2202 to Windows 10 v1507/Server 2016 build 10.0.10240.16384: https://orangera1nwashere-my.sharepoint.com/:f:/g/personal/microsoftdata_orangera1nwashere_onmicrosoft_com/El7__pok5NBLh_h71nWPPyQBY0Eb2FjI5lOgKP4YwstkKQ?e=xKWrwQ

Onedrive folder 2, with Windows 10 v1511/Server 2016 build 10.0.10514.0 to Windows 10 v1803 build 10.0.17134.1: https://orangera1nwashere-my.sharepoint.com/:f:/g/personal/microsoftdata2_orangera1nwashere_onmicrosoft_com/Ep_EJbQRjzhHjouJZFCbAmYBu8cP2Z2TXGYiXt8nGglA0w?e=YKniRx

@FloppyGit
FloppyGit / aqara_opple_6_button_remote.yaml
Last active January 22, 2025 08:30
Aqara Opple 6 Button Remote 3 bands (WXCJKG13LM) via Zigbee2MQTT [Z2M]
blueprint:
name: Aqara Opple switch 3 bands via zigbee2mqtt
description: "Control anything you want with Aqara Opple switch 3 bands (6 buttons) (WXCJKG13LM)\n
\ Each band button has single, double, triple, hold & release.\n
\ Updated to breaking changes with Z2M v2. You have to reselect your device.\n Credits:\n
\ - @bouyssic created with 4-Button https://community.home-assistant.io/t/z2m-aqara-opple-4-boutons-blueprint-wxcjkg12lm/279950\n
\ - @shaxs adapted to 6-Button https://github.com/shaxs/-Z2M-Aqara-Opple-6-button-blueprint-WXCJKG12LM-for-HA/blob/56cb6afa3e631fc6d8a36aa3c871e63b544bbc39/opple6button.yaml\n
\ - @iynaix bugfix mode https://github.com/shaxs/-Z2M-Aqara-Opple-6-button-blueprint-WXCJKG12LM-for-HA/pull/1
\ \n - @calcubot5000 cleanup https://community.home-assistant.io/t/zigbee2mqtt-z2m-aqara-opple-6-button-remote-3-bands-wxcjkg13lm/391475/7\n\n
\ Switch Button Layout (little dot lower left). Switch could be rotated like
@tatumroaquin
tatumroaquin / archlinux-qemu-kvm.md
Last active January 22, 2025 08:29
QEMU-KVM Installation for Arch Linux

QEMU-KVM in Arch Linux

Check Virtualization Support

lscpu | grep -i Virtualization
  • VT-x for Intel
  • AMD-Vi for AMD

Ensure that your kernel includes KVM modules

@rxaviers
rxaviers / gist:7360908
Last active January 22, 2025 08:28
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@nabakdev
nabakdev / disable-ipv6-openwrt.md
Created June 6, 2023 13:56
disable IPV6 openwrt
uci set 'network.lan.ipv6=0'
uci set 'network.wan.ipv6=0'
uci set 'dhcp.lan.dhcpv6=disabled'

# Disable RA and DHCPv6 so no IPv6 IPs are handed out
uci -q delete dhcp.lan.dhcpv6
uci -q delete dhcp.lan.ra

# Disable the LAN delegation