Skip to content

Instantly share code, notes, and snippets.

View alwye's full-sized avatar
🏴

Alex alwye

🏴
View GitHub Profile
@alwye
alwye / main.py
Last active June 23, 2018 16:25
Simple script that illustrates Python's lists, functions and loops. Created for Cisco Software Engineering School.
def get_name(first_name, last_name):
print(first_name + " " + last_name)
friends = [
{
'first_name': 'Sherlock',
'last_name': 'Holmes'
},
{
@alwye
alwye / unittest.py
Created June 26, 2018 17:34
Example of a unit test
import unittest
def multiply(a, b, c):
return a * b * c + 1
class MathTest(unittest.TestCase):
def testMultiply(self):
@alwye
alwye / conditions.py
Created June 26, 2018 17:48
'Conditions' was the subject of the module 4. Here's different examples of how you use them.
# you can create a list like this
fruits = [
'apple',
'grapes',
'banana'
]
favourite_fruit = "mango"
if favourite_fruit in fruits:
@alwye
alwye / default.md
Created June 23, 2025 05:30 — forked from cablej/default.md
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.