Skip to content

Instantly share code, notes, and snippets.

View jamesyoung's full-sized avatar
🤖
https://collab.land

James Young jamesyoung

🤖
https://collab.land
View GitHub Profile
@jamesyoung
jamesyoung / llms.txt
Created June 2, 2025 03:54
CryptoCretins
I'll save the conversation context to my long-term memory and generate an llms.txt file following the LLMS.TXT specification (https://llmstxt.org/) to ensure an IDE agent can fully understand the complete context of our chat. The llms.txt file will include metadata, conversation history, and relevant details in a structured format, capturing the essence of our interaction, including the game design for CryptoCretins: Rise to Richest, feedback from ChatGPT and Claude, and my responses to critiques and updates.
Below, I’ll provide the content of the llms.txt file, tailored to the specification, which includes:
Metadata: Information about the conversation, such as timestamp, participants, and purpose.
Context: Summary of the conversation’s scope, including the game design prompt, feedback, and iterations.
Messages: Structured history of key exchanges, including user inputs, AI responses, and external feedback (ChatGPT, Claude).
Artifacts: References to the game design, smart contracts, and other outputs.
Directi

Keybase proof

I hereby claim:

  • I am jamesyoung on github.
  • I am jamessyoung (https://keybase.io/jamessyoung) on keybase.
  • I have a public key ASC-WrPq5fhWTKvpNH-Af-OwDpB02itymYmaYT45nv5ZTwo

To claim this, I am signing this object:

[
{
"inputs": [
{
"internalType": "address",
"name": "approvedTokenAddress",
"type": "address"
},
{
"internalType": "address",
const fs = require('fs')
const Tx = require('ethereumjs-tx')
const ledger = require('ledgerco')
const Web3 = require('web3')
const rlp = require('rlp');
const web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8585"))
const metacoinJSON = require('./build/contracts/MetaCoin.json')
const bytecode = metacoinJSON.unlinked_binary
const ownerAddress = fs.readFileSync('./owner.addr', 'utf8').toString()

Keybase proof

I hereby claim:

  • I am jamesyoung on github.
  • I am jamesyoung (https://keybase.io/jamesyoung) on keybase.
  • I have a public key ASB65VAyuleZOQk1uK2i0CKsKblB2C7vG8TFrGFkBEW_EQo

To claim this, I am signing this object:

Verifying that +jamesyoung is my blockchain ID. https://onename.com/jamesyoung

How to create a GraphGist

You create a GraphGist by creating a GitHub Gist in AsciiDoc and enter the URL to it in the form on this page. Alternatively, you can put an AsciiDoc document in Dropbox and enter the public URL in the form.

This GraphGist shows the basics of using AsciiDoc syntax and a few additions for GraphGists. The additions are entered as comments on their own line. They are: //console for a query console; //hide, //setup and //output to configure a query; //graph and //table to visualize queries and show a result table.

Click on the Page Source button in the menu to see the source for this GraphGist.

A small social networking website

This database is a small example of a networking site where users can watch movies, subscribe to TV shows and comment and rate any of the previous media. Users may follow or block other users, just like any other networking website nowadays.

  • Purpose:

The theme was chosen because of the success these type of webs have all over the world, and because in general their structure can easily and naturally be displayed as a graph with very different types of relationships and very connected data. So, in a nutshell,

@jamesyoung
jamesyoung / gist:8119487
Created December 25, 2013 01:46
UpdateGameInfo.as::sendRequest()
override public function sendRequest():void
{
var m_SendObj:Object = new Object;
m_SendObj.cApi = API_NAME;
m_SendObj.cMethodName = "POST";
var param : Map = getParms();
LoggerWrapper.instance.getGameInfo(param);
param.add("appID", SlotsConfigData.getInstance().getAppPackageName());
"bonus": {
"type":"bonus",
"button_group": [
{
"id": "PrizeMagic",
"image": "scallop_pick.png",
"image-down": "scallop_pick.png",
"specific-position": [