Skip to content

Instantly share code, notes, and snippets.

@joeblackwaslike
joeblackwaslike / How-to-Python-in-Cursor.md
Last active September 14, 2025 09:31
How to use python with the Cursor IDE

How to use python with the Cursor AI IDE

Cursor.app has a critical vulnerability that should be taken seriously!

Please see my post below on this as sooon as possible! https://gist.github.com/joeblackwaslike/752b26ce92e3699084e1ecfc790f74b2?permalink_comment_id=5716065#gistcomment-5716065

Steps to patch latest cursor

These instructions should work with the latest versions of cursor which requires a much different strategy than the older versions where you could simply point cursor to the MS extension marketplace and call it a day.

Version details

@neel-krishnaswami
neel-krishnaswami / pcomb.ml
Last active September 14, 2025 09:26
A linear-time parser combinator library in Ocaml
module C : sig
type t
val empty : t
val one : char -> t
val union : t -> t -> t
val inter : t -> t -> t
val top : t
val mem : char -> t -> bool
val make : (char -> bool) -> t
val equal : t -> t -> bool
@samczsun
samczsun / README.md
Last active September 14, 2025 09:25
SEAL 911 Members

This document has been moved!

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 14, 2025 09:22
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests
@Turupawn
Turupawn / NoirGettingStarted.md
Last active September 14, 2025 09:19
Getting started with Noir: Hello World

Install the dependencies

curl -L https://raw.githubusercontent.com/noir-lang/noirup/refs/heads/main/install | bash
noirup
curl -L https://raw.githubusercontent.com/AztecProtocol/aztec-packages/refs/heads/master/barretenberg/bbup/install | bash
bbup

Create a new project

@kebot
kebot / STYLES.css
Last active September 14, 2025 09:19 — forked from onespaceman/STYLES.css
base16 theme
/* based on Ayu Dark https://github.com/tinted-theming/home/blob/main/styling.md#ayu-darkyaml */
:root {
--base00: #0f1419; /* Black (Background) - Default Background */
--base01: #131721; /* (Darkest Gray) - Lighter Background (Used for status bars) */
--base02: #272d38; /* (Dark Gray) - Selection Background */
--base03: #3e4b59; /* Bright Black (Gray) - Comments, Invisibles, Line Highlighting */
--base04: #bfbdb6; /* (Light Gray) - Dark Foreground (Used for status bars) */
--base05: #e6e1cf; /* White - Default Foreground, Caret, Delimiters, Operators */
--base06: #e6e1cf; /* (Lighter White) - Light Foreground */
--base07: #f3f4f5; /* Bright White - The Lightest Foreground */
@hmyit
hmyit / vmp.hpp
Created January 5, 2020 20:00
C++ RAII semantics and literals for VMProtect string encryption APIs
#pragma once
#ifdef VMPROTECT
#include <VMProtectSDK.h>
#define VMP_STRINGIFY_(x) #x
#define VMP_STRINGIFY(x) VMP_STRINGIFY_(x)
#define VMP_DEFAULT_LABEL __FILE__ ":" __FUNCTION__ "(" VMP_STRINGIFY(__LINE__) ")"
#define VMP_BEGIN() VMProtectBegin(VMP_DEFAULT_LABEL)
@nathan-osman
nathan-osman / README.md
Last active September 14, 2025 09:17
List of Ubuntu archive mirrors

How to Use

The country.txt file contains a list of all country mirrors as of 2016-04-25. The path for all country mirrors is /ubuntu/.

VESC macOS Universal Build

Some parts referenced from https://www.downtowndougbrown.com/2023/08/how-to-create-a-qt-5-arm-intel-universal-binary-for-mac/

I will be working on a Mac Studio M2 with macOS 14.5. But these instructions should work on any Mac with macOS 12.0 or later. I will also be downloading and building in $HOME/qt but feel free to change VESCBUILDBASE to another folder you with to use.

The resulting build will be in /opt/external/qt-5.15.14 so change the -prefix option if you wish to change that. Also feel free to change -j8 to a higher number if you have more cores available to speed up the build.

Open up Terminal and let's get started!