This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
[user] | |
email = your_email | |
name = your_username | |
[alias] | |
# view your global git config Aliases from CLI | |
aliases = config --get-regexp '^alias\\.' | |
# git clone | |
cl = !git clone | |
# Git shallow clone for large repos | |
clq= !git clone --depth=1 |
version: '3' | |
services: | |
postgres: | |
image: postgres | |
ports: | |
- "5432:5432" | |
volumes: | |
- pg-dataset:/var/lib/postgresql/data | |
environment: |
<?php | |
// address used throughout page and script. could also just be hardcoded without PHP. | |
$addr = 'qqvppp5pe4sce8qyvyncdrhekgkxcyw2hczvervmp8'; | |
?> | |
<html> | |
<head> | |
<title>Donate BCH</title> | |
<style> | |
body { font:16pt arial; } | |
#address { font:18pt arial; } |
{"lastUpload":"2020-12-25T07:19:08.091Z","extensionVersion":"v3.4.3"} |
/* | |
Go-Language implementation of an SSH Reverse Tunnel, the equivalent of below SSH command: | |
ssh -R 8080:127.0.0.1:8080 operatore@146.148.22.123 | |
which opens a tunnel between the two endpoints and permit to exchange information on this direction: | |
server:8080 -----> client:8080 |
#!/bin/bash | |
# Install the Build and Test Dependencies | |
apt-get update | |
apt-get install -y curl build-essential tcl | |
# Download and Extract the Source Code | |
cd /tmp | |
curl -O http://download.redis.io/redis-stable.tar.gz | |
tar xzvf redis-stable.tar.gz |
#!/bin/env/ python2.7 | |
# Version 1.0.0 | |
# Simple program to checkout in supreme | |
# adding multiprocessing and proxy support | |
import sys | |
import json | |
import time | |
import requests |
One of the big leaps you'll have to make as a JavaScript developer is wrapping your head around Object Oriented Programming (OOP). This is tough, and that's ok because it's tough for everyone at first. When you start out with JavaScript you're taught to use functions as your primary way of organizing your code. This is fine, but you'll probably find that organizing your code around objects makes larger projects easier to accomplish and improve / maintain.
The cool thing is that what OOP amounts to is an organizational strategy. I have a set of related tasks, how do I go about starting the project and organizing my code? These tasks have some variables and functions that are used to accomplish them, so you create them and write the logic for them to interact. While you can write those out as detached functions and variables, making those variables and functions into properties and methods of an object can make the division between those tasks easier to see and maintain.
Maint
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)