Skip to content

Instantly share code, notes, and snippets.

View rajtilakjee's full-sized avatar
:octocat:
Imagineering!

Rajtilak Bhattacharjee rajtilakjee

:octocat:
Imagineering!
View GitHub Profile
@rajtilakjee
rajtilakjee / redditstreakbot.py
Created June 26, 2023 05:23
Reddit Streak Bot
import praw
import os
import requests
import pandas as pd
from dotenv import load_dotenv
load_dotenv()
reddit = praw.Reddit(
@rajtilakjee
rajtilakjee / redditmodmailbot.py
Created June 26, 2023 05:24
Reddit Modmail Bot
import praw
import discord
import os
from dotenv import load_dotenv
load_dotenv()
reddit = praw.Reddit(
client_id=os.getenv('API_CLIENT'),
client_secret=os.getenv('API_SECRET'),
@rajtilakjee
rajtilakjee / set_refresh_rate.py
Last active November 4, 2025 11:03
Python script to change the display's refresh rate to 60 Hz for Windows 11 PC
import ctypes
from ctypes import wintypes
# Constants
CDS_UPDATEREGISTRY = 0x01
DISP_CHANGE_SUCCESSFUL = 0
ENUM_CURRENT_SETTINGS = -1
class POINTL(ctypes.Structure):
_fields_ = [("x", wintypes.LONG), ("y", wintypes.LONG)]
@rajtilakjee
rajtilakjee / std.md
Created December 11, 2024 13:41 — forked from tonibardina/std.md
Git Commit Message Standard

Merged from https://github.com/joelparkerhenderson/git_commit_message and https://chris.beams.io/posts/git-commit/

General Rules

  • Commit messages must have a subject line and may have body copy. These must be separated by a blank line.
  • The subject line must not exceed 50 characters
  • The subject line should be capitalized and must not end in a period
  • The subject line must be written in imperative mood (Fix, not Fixed / Fixes etc.)
  • The body copy must be wrapped at 72 columns
  • The body copy must only contain explanations as to what and why, never how. The latter belongs in documentation and implementation.
@rajtilakjee
rajtilakjee / contemplative-llms.txt
Created January 8, 2025 03:57 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference