Enable forwarding:
sysctl -w net.ipv4.ip_forward=1
Create this script eg sudo nano iptables.sh
eth=$1
proto=$2
package middleware | |
import ( | |
"context" | |
"strings" | |
"github.com/labstack/echo/v4" | |
firebase "firebase.google.com/go" | |
"google.golang.org/api/option" |
Enable forwarding:
sysctl -w net.ipv4.ip_forward=1
Create this script eg sudo nano iptables.sh
eth=$1
proto=$2
As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.
#!/usr/bin/env perl | |
use warnings; | |
use strict; | |
# Use modules installed with cpanm -L | |
use lib 'extlib/lib/perl5'; | |
use DBI; | |
use POSIX qw(strftime); | |
use Spreadsheet::WriteExcel; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"