Skip to content

Instantly share code, notes, and snippets.

@ChiTimesChi
ChiTimesChi / Cursor-Desktop-AutoUpdate-Handler.sh
Last active November 12, 2023 12:31 — forked from arpagon/Cursor-Desktop-AutoUpdate-Handler.sh
Cursor-Desktop-AutoUpdate-Handler.sh
#!/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"
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
struct Random {
bytes32 seed;
}
using RandomLib for Random global;
// solhint-disable no-empty-blocks
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "forge-std/Test.sol";
contract QueueGuy {
struct Queue {
uint256 index;
mapping(uint256 => uint256) data;
}