Skip to content

Instantly share code, notes, and snippets.

View amimaro's full-sized avatar

Amir Zahalan amimaro

View GitHub Profile
@amimaro
amimaro / _beep
Last active August 29, 2020 23:44
Script to beep and/or notify after command finish at terminal
#!/bin/bash
# Save this script at ~/Scripts
# Add to the script folder to PATH at ~/.bashrc (export PATH="~/Scripts:$PATH")
# Don't forget to make this script executable, use: chmod +x _beep
# Install sox: apt install sox
# Use any audio file
# -q -V1 to use silent mode
@amimaro
amimaro / #_nginx.conf
Last active May 11, 2021 23:42
NGINX configuration to deploy (Angular application) on docker
events {}
http {
# Browser preferred language detection (does NOT require AcceptLanguageModule)
map $http_accept_language $accept_language {
~*^pt pt;
~*^en en;
}
@amimaro
amimaro / #_npx_commands.md
Last active July 11, 2022 17:20
NPX useful commands list

NPX Commands List

http-server

npx http-server [path] [options]

create-react-app

npx create-react-app@latest <project-name>