This file contains hidden or 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
#!/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/" | |
This file contains hidden or 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
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 ;) |
NewerOlder