Clone Mastodon's repository.
# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live
cd ~/live
alias babel-node='babel-node --presets stage-0' | |
------ RECV ------ | |
// babel-node recv2.js "#" | |
// babel-node recv2.js "kern.*" | |
const amqp = require('amqplib'); | |
const args = process.argv.slice(2); | |
if (args.length == 0) { |
Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.
Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).
It should look something like the content below; call it my-site.conf
or something like that.
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
// Interface for ERC20 token | |
interface ERC20 { | |
// Transfer tokens to a specified address | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
// Get the balance of a specific address | |
function balanceOf(address account) external view returns (uint256); |