Skip to content

Instantly share code, notes, and snippets.

View chriscarrollsmith's full-sized avatar

Christopher Carroll Smith chriscarrollsmith

View GitHub Profile
@chriscarrollsmith
chriscarrollsmith / Rconfig.R
Last active August 1, 2025 09:25
VSCode- & Cursor-friendly R configuration
#!/usr/bin/env Rscript
# R Setup Script
# Author: Christopher Smith
# Date: 2024-10-07
# Prerequisites: Install R and IDE (manual steps, not included in script)
# Define the mirror URL (edit as needed)
cran_mirror <- "https://lib.stat.cmu.edu/R/CRAN/"
@chriscarrollsmith
chriscarrollsmith / helloworld.py
Last active September 8, 2024 17:55
That feeling when you're falling in love with Python for the very first time
def greet():
# You are my heart
my_heart = {"my <3": "you"}
# My heart stops when you enter the room
sentiment = "Be still, my beating <3!".replace("beating ", "")
# Unlock me baby
key_to_my_heart = list(my_heart.keys())[0]
# I carve out my heart and replace it with you
epiphany = sentiment.replace(key_to_my_heart, my_heart[key_to_my_heart])
# Well, hello there ;)