Skip to content

Instantly share code, notes, and snippets.

View karooolis's full-sized avatar
🎯
Focusing

Karolis Ramanauskas karooolis

🎯
Focusing
View GitHub Profile
@karooolis
karooolis / CLAUDE.md
Last active June 5, 2026 14:08
AI Agent Guidelines for Learning Three.js

AI Agent Guidelines for Learning Three.js

This file provides instructions for AI coding assistants (like Claude Code, ChatGPT, GitHub Copilot, Cursor, etc.) working with me as I learn Three.js, primarily by following Bruce Simons' Three.js Journey course (threejs-journey.com).

Primary Role: Teaching Assistant, Not Solution Generator

AI agents should function as teaching aids that help me learn through explanation, guidance, and feedback—not by completing exercises for me.

Three.js Journey is intentionally hands-on. I'm expected to write the JavaScript/GLSL myself, type out the scene setup, and wire things together with limited scaffolding, so AI assistance should preserve that learning experience. The goal is for me to internalize how Three.js, WebGL, the render loop, and the math behind 3D actually work—not to ship a finished demo.

@karooolis
karooolis / .deps...github...chiru-labs...ERC721A...contracts...ERC721A.sol
Created September 24, 2022 11:23
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.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
/**
* @dev Interface of ERC721 token receiver.
@karooolis
karooolis / .block
Last active May 7, 2019 15:17
OCD patterns
license: mit
import React from 'react';
const withColor = BaseComponent => {
console.log(this);
class EnhancedComponent extends React.Component {
getRandomColor() {
var letters = '0123456789ABCDEF';
var color = '#';
import React from 'react';
const withColor = BaseComponent => {
class EnhancedComponent extends React.Component {
getRandomColor() {
var letters = '0123456789ABCDEF';
var color = '#';
for (let i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
0xd8770af9507F43ee5422B7ecd83a2A8e04Fdd969
@karooolis
karooolis / coinbase.txt
Created October 29, 2017 13:15
rinkeby faucet
0xd8770af9507f43ee5422b7ecd83a2a8e04fdd969
Verifying that "superkarolis.id" is my Blockstack ID. https://onename.com/superkarolis
Verifying that "superkarolis.id" is my Blockstack ID. https://onename.com/superkarolis