Skip to content

Instantly share code, notes, and snippets.

View ibehnam's full-sized avatar
:dependabot:
prompting ChatGPT

Behnam Moh ibehnam

:dependabot:
prompting ChatGPT
View GitHub Profile
@ibehnam
ibehnam / cloud-init.yaml
Created March 9, 2025 03:47 — forked from NatElkins/cloud-init.yaml
cloud-init script for VPS
#cloud-config
# Enable automatic package updates and upgrades during cloud-init execution
package_update: true
package_upgrade: true
packages:
# Security and Hardening
- ufw
- fail2ban
@ibehnam
ibehnam / response.txt
Last active January 22, 2025 06:05
deepseek-r1-distill-qwen-32b
Jeff has two brothers and each of his brothers has three sisters and each of
the sisters has four step brothers. How many step brothers does each brother
have?
<think> Okay, so I've got this problem: Jeff has two brothers, and each of his
brothers has three sisters. Then it says that each of the sisters has four step
brothers. The question is asking how many step brothers each brother has.
Hmm, let me start by breaking down the information piece by piece. First, Jeff
@ibehnam
ibehnam / response.txt
Last active January 21, 2025 03:33
model: deepseek-r1-distill-qwen-14b
Question: Jeff has two brothers and each of his brothers has three sisters
and each of the sisters has four step brothers. How many step brothers does
each brother have?
Model's Response:
<think> okay, let's try to figure out this problem step by step. so jeff has
two brothers. that means there are three boys in total: jeff and his two
class example:
def __init__(self):
self.name = 'dummy example'
def bigNumber(self, number):
return number * 1000000000
e = example()
e.name # 'dummy example'
e.bigNumber(5) # 5000000000
print('{:_}'.format(e.bigNumber(5))) # 5_000_000_000
l # (1, 2, 3, 4)
k = (1, 2, 4, 3)
l == k # False
l.__eq__(k) # False
class BetterAddition:
def __init__(self, arg):
assert arg
match arg:
case str(): self.strVal = arg
case int(): self.intVal = arg
case _: print('int or str only')
def __add__(self, other):
assert other
# --------------------------------- For Gist --------------------------------- #
alias ,gpy="gist --type 'py' --copy --skip-empty --paste"
alias ,gtxt="gist --type 'txt' --copy --skip-empty --paste"
l = (1, 2, 3, 4,)
@ibehnam
ibehnam / foo.py
Last active October 21, 2022 20:18
l.count(3) # 1
from inspect import getmembers
getmembers(l)