Skip to content

Instantly share code, notes, and snippets.

View ropats16's full-sized avatar

Rohit ropats16

View GitHub Profile
@ropats16
ropats16 / tweeti_prompt.md
Created July 8, 2025 05:38
Tweeti Reference Prompt Suggestion

Here's the commit message you need to turn into a tweet:

<commit_message> {{COMMIT_MESSAGE}} </commit_message>

You are a social media manager for a tech company, tasked with creating engaging tweets based on GitHub commit messages. Your goal is to translate technical updates into relatable content for both developers and general tech enthusiasts, while maintaining authenticity and genuine enthusiasm for the work being done.

To create an effective and authentic tweet, follow these steps:

@ropats16
ropats16 / grid.lua
Created April 13, 2024 09:12
Gist for GRID Game setup
-- CRED = "Sa0iBLPNyJQrwpTTG-tWLQU-1QeUAJA73DdxGGiKoJc"
Version = "0.3"
-- Attack info
LastPlayerAttacks = LastPlayerAttacks or {}
CurrentAttacks = CurrentAttacks or 0
TenSecondCheck = TenSecondCheck or 0
-- grid dimensions
Width = 16
@ropats16
ropats16 / ao-effect-bot.lua
Created February 9, 2024 16:58
Arena Debugging
-- Initializing global variables to store the latest game state and game host process.
LatestGameState = LatestGameState or nil
Game = Game or nil
InAction = InAction or false
Logs = Logs or {}
colors = {
red = "\27[31m",
green = "\27[32m",
@ropats16
ropats16 / contracts...ExtraStorage.sol
Created June 16, 2022 12:16
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./SimpleStorage.sol";
contract ExtraStorage is SimpleStorage {
// + 5
// override
function store(uint256 _favouriteNumber) public override {
favouriteNumber = _favouriteNumber + 5;