Skip to content

Instantly share code, notes, and snippets.

View samyk's full-sized avatar

samy kamkar samyk

View GitHub Profile
@cablej
cablej / default.md
Created June 21, 2025 18:46
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.
@aravindanve
aravindanve / bypass-disable-devtool.md
Last active December 24, 2025 04:28
Bypass disable-devtool

(Working as of 2025-02-09)

There are websites that use disable-devtool to prevent you from opening or using devtools. They typically prevent you from right clicking or using the keyboard shortcut to open devtools. Even if you successfully do so, they detect it and redirect you elsewhere. You can bypass this by using one of the following ways.

Opening devtools

If the shortcut F12 on Windows or Option + ⌘ + I on Mac do not work. Press the three vertically aligned dots in the top right corner of your Google Chrome or Microsoft Edge window. Under the section "More Tools", you'll see the option to select "Developer Tools" which opens the toolkit in your window.

@Larswa
Larswa / main.py
Created January 16, 2025 16:02
Prusa Connect Discord to Pushover webhook
import requests
from flask import Flask, request
# Pushover Credentials (Replace with your real credentials)
PUSHOVER_USER_KEY = "uboq658g2h4yeu72p4thxfurmu3wkj"
PUSHOVER_API_TOKEN = "atsrka2kwa2dc1a9u5xpas36znsn29"
def discord_to_pushover(request):
"""Handles Discord webhooks from Prusa Connect and forwards to Pushover."""
try:
@rvndbalaji
rvndbalaji / langgraph_builder.py
Last active April 14, 2025 16:45
Utility class to build dynamic langgrah agents
import base64
import functools
import operator
from typing import *
from typing import Annotated, Any, Dict, List, Sequence
from dto.chat import *
from dto.graph import *
from langchain.prompts import ChatPromptTemplate, MessagesPlaceholder
from langchain.tools import BaseTool
@fbarretto
fbarretto / instructions.md
Last active December 17, 2025 09:55
StreamDiffusion-TD Prerequisites

Setting up Python/GIT in a Mac for StreamDiffusion-TD

This is meant to help Mac users to setup their Python and GIT environment to run the StreamDiffusion-TD (TouchDesigner) tox for the first time (like if you don't have Python installed yet).

Before starting I recommend you check if you already have Python installed by running:

python3 --version
  • If you get Python 3.10 or higher, you're good to go and you can skip this setup and proceed to the tox.
  • If you get command not found: python3, you can follow the installation steps.
  • If you get Python 3.9 or a lower version, you can jump to the step 3.
@fbarretto
fbarretto / streamdiffusion-mac.md
Last active October 21, 2025 05:31
StreamDiffusion on a Mac

This is a gist on how to get StreamDiffusion running on a Mac (mps)

  1. Clone the repo

git clone https://github.com/cumulo-autumn/StreamDiffusion.git
  1. Setup the environment

cd StreamDiffusion
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active December 18, 2025 02:06
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress
@thesamesam
thesamesam / xz-backdoor.md
Last active December 9, 2025 03:22
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

@danny-avila
danny-avila / default-chatgpt-fonts.md
Created February 16, 2024 18:11
Adding Default ChatGPT Fonts to LibreChat

The default ChatGPT fonts, according to OpenAI's brand guidelines, are proprietary and require appropriate font license according to your use case.

They can be purchased here: https://klim.co.nz/buy/soehne/

The fonts in question are (9 total):

  • Söhne (Buch Kursiv, Buch, Halbfett Kursiv, Halbfett, Kraftig Kursiv, Kraftig, Mono Buch Kursiv, Mono Buch, Mono Halbfett)

If you have purchased a license, you can use the commented-out @font-face declarations in ./client/src/styles.css to include them in your project.

struct ContentView: View {
var body: some View {
VStack {
HStack {
Spacer()
Button { } label: {
Image(systemName: "power")
.resizable()
.aspectRatio(contentMode: .fill)
.padding()