Skip to content

Instantly share code, notes, and snippets.

View cWorksLLC's full-sized avatar
👋
welcome

Letter C cWorksLLC

👋
welcome
View GitHub Profile
so im back after months of inactivity
@cWorksLLC
cWorksLLC / index.py
Last active January 22, 2025 11:45
some code for my scratch in terminal programm
os.system('cls') # for beaty reasons
username = input("what is your username?: ")
password = maskpass.askpass(prompt="what is your password?: ", mask="*")
project = input("what project you want to connect to? (use project id, optional): ")
# getting user input ↑ | applying user input ↓
print("logging in to user...")
session = sa.login(username, password)
print("connecting to cloud project...")
cloud = session.connect_cloud(project)
@cWorksLLC
cWorksLLC / snippet.py
Created December 7, 2024 14:01
snippet of source code from Lux OS
while True:
cmd = input(">")
if cmd == "help":
print("help - lists all the commands.")
print("time - tells the current time.")
elif cmd == "time":
print(time.strftime("%H:") + time.strftime("%M:") + time.strftime("%S "))
else:
print("there is no command named " + cmd + ".")
@cWorksLLC
cWorksLLC / firstgist.txt
Created November 25, 2024 06:49
First gist
first gist i have