If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
import React, { useState, useEffect } from "react"; | |
import "semantic-ui-css/semantic.min.css"; | |
import { Button, Icon } from "semantic-ui-react"; | |
import "./cart.css"; | |
function AddToCart({ products, handleChange }) { | |
const [cartItems, setCartItems] = useState([]); | |
const [subtotal, setSubtotal] = useState(0); | |
const [selectedItem, setSelectedItem] = useState(null); |
If you don't know what Wireguard is, well, you should. It's fast, easy to setup and highly configurable. We will configure Wireguard for multiple users with various restrictions using iptables.
This should fit most setups (not mine though 😉)
# This is a sample Python script. | |
# Eng Eryx | |
my_graph_db = dict({'n': 0}) | |
def insert(item): | |
n = my_graph_db['n'] + 1 |
# Install git-semver https://github.com/hartym/git-semver | |
pip install git-semver | |
# Cd to your cool project | |
cd semver101 | |
# Assuming it's the first time with tags | |
git tag -am 0.1.0 "Cool project's version 0.1.0" | |
# Checkout tags with git-semver, she's your new magic wand from now on |
pragma solidity ^0.5.0; | |
contract Hospital { | |
address owner; | |
struct Patient { | |
index uint; | |
name string; | |
} | |
Patient |
if(! function_exists('client_app')){ | |
/* | |
* Get the client application instance. | |
* | |
*/ | |
function client_app(){ | |
$hostname = mnet_client(); | |
$client = \App\Models\Client\Client::where('hostname_id',$hostname->id)->first(); | |
return $client; | |
} |