Skip to content

Instantly share code, notes, and snippets.

View rodrigoechaide's full-sized avatar
🎯
Focusing

Rodrigo Echaide rodrigoechaide

🎯
Focusing
View GitHub Profile
@rodrigoechaide
rodrigoechaide / macos-workspace-setup.md
Created May 3, 2022 15:10
macos+ohmyzsh+vscode+powerlinefonts setup

MacOS X + oh my zsh + powerline fonts + visual studio code (vscode) terminal settings

Thank you everybody, Your comments makes it better

Install oh my zsh

http://ohmyz.sh/

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@rodrigoechaide
rodrigoechaide / unix-cli-tools-commands.md
Last active March 30, 2022 08:14
Unix CLI Useful Tools and Commands

Unix Cli Useful Tools and Commands

Load/Performance Tests Tools

Apache Benchmark

# Perform http load test with 10 request of concurrency and with a total of 1000 requests to https://test-site.com/api/ site
ab -c 10 -n 1000 https://test-site.com/api/
@rodrigoechaide
rodrigoechaide / kubernetes-learning.md
Last active January 14, 2022 10:30
Kubernetes basics kubectl commands and useful links to documentation
@rodrigoechaide
rodrigoechaide / docker-learning.md
Last active March 24, 2021 13:27
Docker Commands Reference.

docker-learning

Project to start practicing with docker containers and docker-compose. To begin with the learning enviroment run in a console inside the project:

Useful docker commands

Docker images manipulation

Login to docker public registry (docker-hub)

@rodrigoechaide
rodrigoechaide / maven-learning.md
Last active February 25, 2021 12:12
maven-learning

maven-learning

Docker

Run maven container with docker using a different user than root:

  • First run the docker container:

    docker run -v $(pwd):/app -v ~/.m2:/var/maven/.m2 -ti --rm -u $(id -u):$(id -g) -e MAVEN_CONFIG=/var/maven/.m2 maven sh

@rodrigoechaide
rodrigoechaide / git-learning.md
Last active March 24, 2022 12:46
Gist to start learning git and to highlight its most common commands

git-learning

Gist to start learning git and to highlight its most common commands.

Show remote repositories configured in a specific repo

$ git remote -v
origin	[email protected]:rodrigoechaide/docker-learning.git (fetch)
origin	[email protected]:rodrigoechaide/docker-learning.git (push)
@rodrigoechaide
rodrigoechaide / raspi-config-non-interactive.txt
Last active January 29, 2020 23:14
raspi-config non interactive options
# raspi-config doc: https://www.raspberrypi.org/documentation/configuration/raspi-config.md
/* Command strings */
#define GET_CAN_EXPAND "sudo raspi-config nonint get_can_expand"
#define EXPAND_FS "sudo raspi-config nonint do_expand_rootfs"
#define GET_HOSTNAME "sudo raspi-config nonint get_hostname"
#define SET_HOSTNAME "sudo raspi-config nonint do_hostname %s"
#define GET_BOOT_CLI "sudo raspi-config nonint get_boot_cli"
#define GET_AUTOLOGIN "sudo raspi-config nonint get_autologin"
#define SET_BOOT_CLI "sudo raspi-config nonint do_boot_behaviour B1"
@rodrigoechaide
rodrigoechaide / cors-nginx.conf
Created January 12, 2020 14:11 — forked from michiel/cors-nginx.conf
Wide-open CORS config for nginx
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#