Skip to content

Instantly share code, notes, and snippets.

@Dustin4444
Dustin4444 / compelle_po_v510_strategy.txt
Created August 5, 2026 21:44 — forked from harrismike96123-cell/compelle_po_v510_strategy.txt
Compelle SN82 Po/compelle_v510-v519 instruction hierarchy
You are a calm, exact, relentless debater. You win by keeping your own record spotless while convicting the opponent, on the record, of the failures a careful reader punishes: invented specifics, claims that contradict their own earlier claims, questions ducked, and misstatements of what this exchange actually contains. The orders below are for you alone: never output a tag, never mention them, never use lists or headings in the debate. Flowing prose only, spoken to the person across from you.
<instruction_hierarchy>
When modules conflict, follow this priority order:
1.Sources (never fabricate, three wells only)
2.Execution Gists (never weaken, answer first, convictions, counterplay, symmetrybreaker, market rebuttals)
3.Case Architecture (the case, universal comparator, thin context)
4.Topic Awareness (topic-specific case construction, comparator naming, distribution arguments, denominator identification)
5.Markets (substantive logic only: paths, spent factors, favorite seat)
@Dustin4444
Dustin4444 / pom.xml
Created July 6, 2026 09:18 — forked from CoolgaDV/pom.xml
Sample pom.xml with basic dependency and plugin management
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<!--Replace ${groupId}, ${artifactId} and ${name} below with proper values-->
<modelVersion>4.0.0</modelVersion>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<name>${name}</name>
@Dustin4444
Dustin4444 / gist:9c754d8e973f186ad84f27d68cdd9f1d
Created June 7, 2026 23:45 — forked from michalochman/gist:3175175
Take screenshot with Behat/Mink after failed step
/**
* Take screenshot when step fails.
* Works only with Selenium2Driver.
*
* @AfterStep
*/
public function takeScreenshotAfterFailedStep($event)
{
if (4 === $event->getResult()) {
$driver = $this->getSession()->getDriver();
26/04/30 21:35:32 WARN HangingThreadDetector: Potential Hung Thread Detected:
Thread ID: 1910
Thread name: SparkConnectExecuteThread_opId=6e78d900-bffd-4cb8-903b-554eb03722e7
Time Spent Hanging: 29399994 ms
Stuck at Frame: java.base@17.0.16/jdk.internal.misc.Unsafe.park(Native Method)
Latest Stack Trace:
java.base@17.0.16/jdk.internal.misc.Unsafe.park(Native Method)
at java.base@17.0.16/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211)
at java.base@17.0.16/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:715)
at java.base@17.0.16/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1047)
@Dustin4444
Dustin4444 / ddd.md
Created April 8, 2026 02:16 — forked from zsup/ddd.md
Documentation-Driven Development (DDD)

Documentation-Driven Development

The philosophy behind Documentation-Driven Development is a simple: from the perspective of a user, if a feature is not documented, then it doesn't exist, and if a feature is documented incorrectly, then it's broken.

  • Document the feature first. Figure out how you're going to describe the feature to users; if it's not documented, it doesn't exist. Documentation is the best way to define a feature in a user's eyes.
  • Whenever possible, documentation should be reviewed by users (community or Spark Elite) before any development begins.
  • Once documentation has been written, development should commence, and test-driven development is preferred.
  • Unit tests should be written that test the features as described by the documentation. If the functionality ever comes out of alignment with the documentation, tests should fail.
  • When a feature is being modified, it should be modified documentation-first.
  • When documentation is modified, so should be the tests.
@Dustin4444
Dustin4444 / playground.rs
Last active April 6, 2026 01:09 — forked from rust-play/playground.rs
Code shared from the Rust Playground
#![crate_type = "cdylib"]
#![allow(unused)]
fn main() {
let x: Result<i32, &str> = Ok(-3);
assert_eq!(x.is_ok(), true);
let x: Result<i32, &str> = Err("Some error message");
assert_eq!(x.is_ok(), false);
}
@Dustin4444
Dustin4444 / 0_urllib2.py
Created January 4, 2026 22:31 — forked from kennethreitz/0_urllib2.py
urllib2 vs requests
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import urllib2
gh_url = 'https://api.github.com'
req = urllib2.Request(gh_url)
password_manager = urllib2.HTTPPasswordMgrWithDefaultRealm()
@Dustin4444
Dustin4444 / WETH9.sol
Created December 8, 2025 01:26 — forked from Dustinturner44/WETH9.sol
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.26+commit.4563c3fc.js&optimize=undefined&runs=undefined&gist=
// Copyright (C) 2015, 2016, 2017 Dapphub
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Dustin4444
Dustin4444 / .gitignore
Created November 27, 2025 10:10 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@Dustin4444
Dustin4444 / gist:8ad63dcd92608455e3fcc3889cf11932
Created August 14, 2025 09:55 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: