I hereby claim:
- I am arturmartins on github.
- I am arturmartins (https://keybase.io/arturmartins) on keybase.
- I have a public key whose fingerprint is 5AD7 E464 F268 A96C A0DC B5B9 0BF4 27DB 2701 2336
To claim this, I am signing this object:
// 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") { |
#!/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 |
#!/bin/bash | |
# Utility to download latest etcd version for linux | |
SYSTEM_VERSION="linux-amd64" | |
fail(){ | |
echo "[${0##*/}]: FATAL: ${@}" | |
exit 1 | |
} |
pragma solidity 0.8.20; | |
contract HelloWorld2{ | |
string userInput; | |
function set(string memory finalValue) public | |
{ | |
userInput = finalValue; | |
} |
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.20; | |
// This defines a contract named “HelloWorld”. | |
// | |
// A contract is a collection of functions and data (its state). | |
// Once deployed, a contract will exist at an address on the Ethereum blockchain. | |
contract HelloWorld { | |
// This is a public function that returns the string “Hello World”. |
#!/bin/bash | |
# Requirements: | |
# - homebrew: https://brew.sh/ | |
# - homebrew tap: buo/cask-upgrade - https://github.com/buo/homebrew-cask-upgrade | |
# - homebrew mas (Mac App Store command-line interface - https://github.com/mas-cli/mas) | |
# | |
# Install the requirements by running: | |
# brew tap buo/cask-upgrade && brew install mas | |
# CONFIG: |
-- show running queries (pre 9.2) | |
SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(query_start, clock_timestamp()), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
I hereby claim:
To claim this, I am signing this object:
(Trinity College Dublin (TCD) on a MACOS Yosemite)
sudo Downloads/Bradford_Dissolvable_Agent.app/Contents/MacOS/DissolvableAgent
#!/bin/bash | |
# Based on the instructions in | |
# https://bucardo.org/wiki/Bucardo/Installation | |
# -------- configuration: Variables | |
BUCARDO_VERSION='5.4.1' | |
DOWNLOAD_URL="http://bucardo.org/downloads/Bucardo-${BUCARDO_VERSION}.tar.gz" | |
# ------------------------------- | |
TEMP_FILE="/tmp/${RANDOM}.tar.gz" |