Skip to content

Instantly share code, notes, and snippets.

View davidvpe's full-sized avatar

David Velarde davidvpe

View GitHub Profile
@ywwwtseng
ywwwtseng / host-react-app-on-apache-server.md
Last active May 3, 2024 15:52
Host react application on Apache server

Host react application on Apache server

Step 1 : Create your app

$ npm install -g create-react-app 
$ create-react-app my-app

Step 2 : Build it for production

@jdormit
jdormit / retry.sh
Last active August 23, 2023 19:55
Bash script to retry a failed command
#!/bin/bash
# Retries a command on failure.
HELP=\
"$0: $0 [flags] [options] [--] COMMAND
Runs a command, retrying if the command fails
Arguments:
COMMAND The command to run
@stephenway
stephenway / git-change-author-commit.sh
Created December 19, 2015 04:02
Change last commit author
git commit --amend --author "Stephen Way <way.stephen@gmail.com>" --no-edit && \
git rebase --continue
...
git push origin master --force