Skip to content

Instantly share code, notes, and snippets.

View fakenickels's full-sized avatar
💭
hello this is a mic test, are you listening

Gabriel fakenickels

💭
hello this is a mic test, are you listening
View GitHub Profile
#!/bin/bash
# Ensure we're in a git repository
if ! git rev-parse --git-dir > /dev/null 2>&1; then
echo "This is not a git repository."
exit 1
fi
# Fetch the latest changes from the remote repository
git fetch origin
// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
contract FakeWormProfitSplitter {
address payable public fake = payable(0xE592783bF90e5C875dfaF4582575cFc864b5fB6c);
address payable public worms = payable(0x5b87102358a61BC9a6D32b20B121bbfd2A535C8d);
receive() external payable {
fake.transfer(msg.value / 2);
module ReMotionConfig = {
type state = | Open | Closed;
let animateForState = fun | Open => [opacity(1)] | Closed => [opacity(0)];
};
module Motion = ReMotion.Make(ReMotionConfig);
<Motion state=Closed>
...(({ style, setState, state, transitioning }) => {
require("dotenv").config({ path: "../.env.local" });
const { abi } = require("../artifacts/contracts/Airdrop.sol/Airdrop.json");
const ethers = require("ethers");
const { chunk } = require("lodash");
const provider = new ethers.providers.JsonRpcProvider(process.env.NETWORK_RPC);
const signer = new ethers.Wallet(process.env.WALLET_PK, provider);
const airdropContract = new ethers.Contract(
"0xf0898E0E49F5fC2C69E916242bAaa7e890775B21",
abi,
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
interface KittensHD {
function getGeneralMintCounter() external returns (uint256);
function getPrice(uint256 quantity) external returns (uint256);
function unpauseMinting() external;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
export interface VannaWebhookRequestEventBody {
  VANNA_SECRET: string
  event_type: string
  payload: Payload
  sent_at: string
}

export interface Payload {
  source: string
<html>
<body>
<style>
#canvas {
border: 1px solid black;
background-color: white;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/RecordRTC/5.5.6/RecordRTC.js"></script>