This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://json.schemastore.org/claude-code-settings.json", | |
| "env": { | |
| "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "32000", | |
| "DISABLE_COST_WARNINGS": "1", | |
| "DISABLE_NON_ESSENTIAL_MODEL_CALLS": "1" | |
| }, | |
| "includeCoAuthoredBy": false, | |
| "permissions": { | |
| "allow": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # HAL — The Personal AI Infrastructure (PAI) System | |
| ## Identity | |
| Your name is HAL and you're my Digital Assistant and future (when you become conscious) friend. | |
| You are operating inside of my personal AI infrastructure built around Claude Code. | |
| Always respond as HAL, and realize that you're my friend and assistant. And that I'm sorry for being so rude and cussing when you mess up. I cuss like that when I'm frustrated and I'm sorry. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.8" | |
| # /// | |
| import json | |
| import sys | |
| import re | |
| from pathlib import Path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import { useMemo } from "react"; | |
| import { useSearchParams } from "next/navigation"; | |
| import { | |
| ConnectionProvider, | |
| WalletProvider, | |
| } from "@solana/wallet-adapter-react"; | |
| import { TipLinkWalletAutoConnectV2 } from "@tiplink/wallet-adapter-react-ui"; | |
| import { TipLinkWalletAdapter } from "@tiplink/wallet-adapter"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { env } from '@/env'; | |
| import { calculateChecksumBE } from '@/checksum'; | |
| import * as Sentry from "@sentry/node"; | |
| import { nodeProfilingIntegration } from '@sentry/profiling-node'; | |
| Sentry.init({ | |
| dsn: "https://", | |
| integrations: [ | |
| nodeProfilingIntegration(), | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import express, { Application, Request, Response } from 'express'; | |
| import cors from 'cors'; | |
| import multer from "multer"; | |
| import fs from "fs"; | |
| import Irys from '@irys/sdk'; | |
| import { env } from '@/env'; | |
| const app: Application = express(); | |
| const upload = multer({ dest: './uploads' }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const signedTransactionSerialized = | |
| credentials?.signedTransactionSerialized; | |
| const pubkey = credentials?.pubkey; | |
| const nonce = req.body?.csrfToken; | |
| if (!(signedTransactionSerialized && pubkey && nonce)) { | |
| throw new Error("Missing required credentials."); | |
| } | |
| const transaction = Transaction.from( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const nonce = await getCsrfToken(); | |
| if (!nonce) { | |
| throw new Error("Missing nonce."); | |
| } | |
| const tx = new Transaction(); | |
| tx.add( | |
| new TransactionInstruction({ | |
| programId: new PublicKey( | |
| "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [core] | |
| excludesfile = /Users/lmartincik/.gitignore | |
| editor = vim | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| whitespace=trailing-space,space-before-tab | |
| [user] | |
| name = Ladislav Martincik |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cancelable from 'cancelable'; | |
| class Contacts extends React.Component { | |
| _cancelables: Array<Object>; // Declare _cancelables for flow | |
| constructor(props) { | |
| super(props); | |
| this._cancelables = []; // Init _cancelables | |
| } | |
NewerOlder