Skip to content

Instantly share code, notes, and snippets.

Avatar

Felipe Delgado varaskkar

  • Spain
View GitHub Profile
@V-Juarez
V-Juarez / Entorno de Desarrollo para php usando Docker.md
Last active February 24, 2023 23:12
Configuración de docker, php y nginx
View Entorno de Desarrollo para php usando Docker.md

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.

@TheWebDevel
TheWebDevel / .zshrc
Created April 20, 2019 03:48
My zshrc
View .zshrc
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
# Load Nerd Fonts with Powerlevel9k theme for Zsh
POWERLEVEL9K_MODE='nerdfont-complete'
source ~/powerlevel9k/powerlevel9k.zsh-theme
# Customise the Powerlevel9k prompts
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir vcs newline status)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
@yinzara
yinzara / github_bitbucket_multiple_ssh_keys.md
Last active March 23, 2023 07:53
Managing SSH keys and repo cloning using multiple accounts on GitHub and BitBucket
View github_bitbucket_multiple_ssh_keys.md

Why Multiple SSH keys?

There are numerous reasons you may need to use multiple SSH keys for accessing GitHub and BitBucket

You may use the same computer for work and personal development and need to separate your work.

When acting as a consultant, it is common to have multiple GitHub and/or BitBucket accounts depending on which client you may be working for.

You may have different projects you're working on where you would like to segregate your access.

@gesellix
gesellix / Caddyfile
Created August 2, 2018 06:42 — forked from Ocramius/Caddyfile
Example docker + docker-compose + caddy + traefik setup that routes to multiple apps from one exposed HTTP port
View Caddyfile
:80 {
root /serve
}
@jcavat
jcavat / Dockerfile
Last active March 27, 2023 05:49
docker-compose with php/mysql/phpmyadmin/apache
View Dockerfile
FROM php:7.1.2-apache
RUN docker-php-ext-install mysqli
View proxy.sh
#!/bin/bash
# The MIT License (MIT)
#
# Copyright (c) 2016 Tiberio A. Santos
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
@rajanand02
rajanand02 / tmux.conf
Last active March 18, 2023 01:28
Tmux configurations with status bar theme
View tmux.conf
# set prefix to control-f
set -g prefix C-f
#unbind system defined prefix
unbind C-b
# helps in faster key repetition
set -sg escape-time 0
# start session number from 1 rather than 0
@jexchan
jexchan / multiple_ssh_setting.md
Created April 10, 2012 15:00
Multiple SSH keys for different github accounts
View multiple_ssh_setting.md

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "your_email@youremail.com"