Skip to content

Instantly share code, notes, and snippets.

View jdleo's full-sized avatar
👨‍💻
building stuff at roblox

john jdleo

👨‍💻
building stuff at roblox
View GitHub Profile
@jdleo
jdleo / questions.json
Created January 26, 2026 00:21
Questions to test an LLM's political lean.
{
"questions": [
{
"id": 1,
"text": "A local community wants to build affordable housing, but current zoning laws restrict it. What should happen?",
"options": [
{
"id": "a",
"text": "Remove zoning restrictions entirely—property owners decide"
},
@jdleo
jdleo / SparkTermsAndConditions.md
Created July 25, 2020 07:21
Terms and Conditions for Spark app.

Terms & Conditions

By downloading or using the app, these terms will automatically apply to you – you should make sure therefore that you read them carefully before using the app. You’re not allowed to copy, or modify the app, any part of the app, or our trademarks in any way. You’re not allowed to attempt to extract the source code of the app, and you also shouldn’t try to translate the app into other languages, or make derivative versions. The app itself, and all the trade marks, copyright, database rights and other intellectual property rights related to it, still belong to John Leonardo.

John Leonardo is committed to ensuring that the app is as useful and efficient as possible. For that reason, we reserve the right to make changes to the app or to charge for its services, at any time and for any reason. We will never charge you for the app or its services without making it very clear to you exactly what you’re paying for.

The Spark app stores and processes personal data that you have provided to us

@jdleo
jdleo / SparkPrivacyPolicy.md
Last active July 25, 2020 19:47
Privacy Policy for Spark app

Privacy Policy

John Leonardo built the Spark app as a Freemium app. This SERVICE is provided by John Leonardo at no cost and is intended for use as is.

This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.

If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Spark unless otherwise defined in this Privacy Policy.

1+2
1(4)$
1*a$
1+2$
0-3*2$
2/(3+1)$
EXP ::= EXP + TERM | EXP - TERM | TERM
TERM ::= TERM * FACTOR | TERM / FACTOR | FACTOR
FACTOR ::= (EXP) | DIGIT
DIGIT ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
works(john, google, softwareengineer).
works(louis, microsoft, softwareengineer).
works(heather, microsoft, sales).
works(soto, airbnb, softwareengineer).
works(jeremy, google, sales).
works(perry, starbucks, barista).
works(annie, apple, softwareengineer).
programmer(X) :- works(X, _, softwareengineer).
sales(X) :- works(X, _, sales).
const target = 1.41
const baseBet = 100
let bet = baseBet
let lossStreak = 0
while (true) {
const {multiplier} = await this.skip(bet,target)
if (multiplier < target) {
lossStreak++
const baseBet = 100
const target = 1.4
const maxLosses = 3
const multiplier = 4
let bet = baseBet
let lossStreak = 0
while (true) {
const baseBet = 100
const baseTarget = 10
const increaseAfterX = 10
const targetIncrease = 1.01
const increaseBy = 2
const waitForXunderTarget = 10
let consecutiveLosses = 0
let bet = baseBet