mode: NAT
gateway: 10.0.2.2
network mask: 255.255.255.0
cidr: 10.0.2.0/24
interfaces:
- lo - state: unknown
- enp0s3 - state: down
#!/bin/bash | |
# | |
# Install docker on Debian 11 Bullseye with one line | |
# | |
set -u; | |
# Check if user is root. | |
[[ ! $(id -u) -eq 0 ]] && echo "Run as root." && exit 1; |
#!/bin/bash | |
# | |
# Install required packages for Blockscout | |
# | |
# Tested on: Debian 11 Bullseye | |
# | |
set -eu; |
#!/bin/bash | |
# | |
# Install BurpSuite and Mitmproxy certificates on android emulator | |
# ref: | |
# - https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/ | |
# - https://secabit.medium.com/how-to-configure-burp-proxy-with-an-android-emulator-31b483237053 | |
# | |
# report errors | |
set -au; |
package util | |
import ( | |
"net/http" | |
"strings" | |
"time" | |
"github.com/aws/aws-sdk-go/aws/credentials" | |
v4 "github.com/aws/aws-sdk-go/aws/signer/v4" | |
) |
#!/usr/bin/bash | |
#################################################### | |
# Golang autosetup script | |
# | |
# usage: | |
# v=GOLANG_VERSION curl -s THIS_RAW_GIST | bash | |
# | |
# copy & paste: | |
# v=1.16.4 curl -s https://gist.githubusercontent.com/v3rlly/502debce2eef17c9570553046aa316db/raw/go_autosetup.sh | bash | |
#################################################### |
Setup nodeJS + Nodemon + Babel ---> ES6 syntax
npm install babel-cli babel-preset-env babel-loader babel-core --save-dev
sudo npm install -g nodemon
#!/bin/bash | |
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
# "sandbox" account to drop network traffic in linux programs | |
# tested on ubuntu 19.10 | |
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
# ------------------------------------------------------------------------- | |
# 1. Create a user group that should receive the firewall rule | |
# ------------------------------------------------------------------------- |
#!/bin/bash | |
# ------------------------------------------------------------------ | |
# [Author] Title | |
# Description | |
# | |
# This script uses shFlags -- Advanced command-line flag | |
# library for Unix shell scripts. | |
# http://code.google.com/p/shflags/ | |
# | |
# Dependency: |