Skip to content

Instantly share code, notes, and snippets.

View aarohmankad's full-sized avatar
🎯
Focusing

Aaroh Mankad aarohmankad

🎯
Focusing
View GitHub Profile
@maurelian
maurelian / console.sol
Last active February 25, 2022 18:44
A JS style console.log() function for solidity.
pragma solidity ^0.4.10;
// Update: Just use HardHat's: https://github.com/nomiclabs/hardhat/blob/master/packages/hardhat-core/console.sol
// Enables event logging of the format `console.log('descriptive string', variable)`,
// without having to worry about the variable type (as long as an event has been declared for that type in the
// Console contract.
contract Console {
event LogUint(string, uint);
anonymous
anonymous / Titanic Survivors Data
Created June 3, 2015 00:14
Data on all (non)survivors of the Titanic
[
{
"PassengerId": 1,
"Survived": 0,
"Pclass": 3,
"Name": "Braund, Mr. Owen Harris",
"Sex": "male",
"Age": 22,
"SibSp": 1,
"Parch": 0,
This file has been truncated, but you can view the full file.
{"bulbasaur":{"base_stats":{"hp":45,"atk":49,"def":49,"spa":65,"spd":65,"spe":45},"name":{"en":"Bulbasaur","ja":"フシギダネ"},"type":["Grass","Poison"],"moves":{"tackle":{"type":"Normal","power":"50","accuracy":"100","category":"Physical","pp":35,"method":["level_up"]},"growl":{"type":"Normal","power":"0","accuracy":"100","category":"Status","pp":40,"method":["level_up"]},"leechseed":{"type":"Grass","power":"0","accuracy":"90","category":"Status","pp":10,"method":["level_up"]},"vinewhip":{"type":"Grass","power":"45","accuracy":"100","category":"Physical","pp":25,"method":["level_up"]},"poisonpowder":{"type":"Poison","power":"0","accuracy":"75","category":"Status","pp":35,"method":["level_up"]},"sleeppowder":{"type":"Grass","power":"0","accuracy":"75","category":"Status","pp":15,"method":["level_up"]},"takedown":{"type":"Normal","power":"90","accuracy":"85","category":"Physical","pp":20,"method":["level_up"]},"razorleaf":{"type":"Grass","power":"55","accuracy":"95","category":"Physical","pp":25,"method":["level_up"