How to install:
Add the script to the /usr/bin folder
As root, run:
wget -O /usr/bin/upgrade-all https://gist.githubusercontent.com/arturmartins/62653143b9a384e63e79bb81d8fe9386/raw/upgrade-all.sh| #!/usr/bin/env python3 | |
| """ | |
| Converts WEBVTT subtitles (vtt) to plain text. | |
| It removes all time related info as well as duplicated and empty lines. | |
| """ | |
| # Author: Artur Martins <[email protected]> | |
| # Version: 1.0 | |
| # Date: 2023-Oct-25 |
| // SPDX-License-Identifier: MIT | |
| pragma solidity 0.8.19; | |
| import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol"; | |
| import "@openzeppelin/[email protected]/access/AccessControl.sol"; | |
| contract Token is ERC20, AccessControl { | |
| bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); | |
| constructor() ERC20("Chainlink Bootcamp 2024 Token", "CLBoot24") { |
| #!/bin/bash | |
| # | |
| # Author: github.com/arturmartins | |
| # Version: 1.0.0 | |
| # Config details can be found in https://lastpass.com/lplinux.php | |
| # CONFIG: URL and filenames | |
| TARBALL="lplinux.tar.bz2" |