This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
readonly RED_COLOR="\e[31m" | |
readonly GREEN_COLOR="\e[32m" | |
readonly YELLOW_COLOR="\e[33m" | |
readonly RESET_COLOR="\e[0m" | |
readonly APP_DIR="$HOME/Applications" | |
readonly ICON_DIR="$HOME/.local/share/icons" | |
readonly ICON_URL="https://cursor.sh/brand/icon.svg" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.17; | |
struct Random { | |
bytes32 seed; | |
} | |
using RandomLib for Random global; | |
// solhint-disable no-empty-blocks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.13; | |
import "forge-std/Test.sol"; | |
contract QueueGuy { | |
struct Queue { | |
uint256 index; | |
mapping(uint256 => uint256) data; | |
} |