Skip to content

Instantly share code, notes, and snippets.

View lucasfernandes's full-sized avatar
:octocat:
Always Coding!

0xtheL lucasfernandes

:octocat:
Always Coding!
View GitHub Profile
@lucasfernandes
lucasfernandes / Extensions.swift
Last active March 5, 2021 18:27
String Extensions
extension CharacterSet {
static let vowels = CharacterSet(charactersIn: "aeiou")
static let consonants = CharacterSet.letters.subtracting(vowels)
}
extension String {
var specialChars: String {
self
.components(separatedBy: .punctuationCharacters)
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.20;
import "forge-std/Script.sol";
import "../src/Sam.sol";
contract SamScript is Script {
function run() public {
uint256 deployerPrivateKey = vm.envUint("PRIVATE_KEY");