Skip to content

Instantly share code, notes, and snippets.

View urkopineda's full-sized avatar

Urko Pineda urkopineda

View GitHub Profile
@urkopineda
urkopineda / cloudSettings
Last active February 26, 2020 07:36
My VSCode settings
{"lastUpload":"2020-02-26T07:36:54.508Z","extensionVersion":"v3.4.3"}
@urkopineda
urkopineda / ERC721Token.sol
Last active December 3, 2018 16:25
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.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.23;
import "github.com/OpenZeppelin/zeppelin-solidity/contracts/token/ERC721/ERC721.sol";
contract ERC721Token is ERC721 {
mapping (uint256 => address) private tokenToOwner;
mapping (address => uint256) private ownerToBalance;
mapping (uint256 => address) private approvedToken;
mapping (address => mapping (address => bool)) private approvalOperators;
@urkopineda
urkopineda / content.component.css
Last active January 9, 2023 15:12
Masonry implementation in Angular 2+ only with JS and CSS, ordered horizontaly
.card-img-overlay-gradient {
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.flex-container {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
grid-auto-rows: 20px;
}
.flex-item {}