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 / .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