1.sh
:
#!/bin/sh
set -eux
rm -rf rubygems bundler
git clone https://github.com/rubygems/rubygems
git clone https://github.com/rubygems/bundler
const data = { | |
amount_marketplace: null, | |
amount: 500000000000000000000, | |
latest_settlement_offer_address: null, | |
released_at: null, | |
arbitrator_fee: 500, | |
marketplace: '0x0000000000000000000000000000000000000777', | |
split_marketplace: 1000, | |
refunded_at: null, | |
amount_arbitrator: null, |
# Fig pre block. Keep at the top of this file. | |
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh" | |
# If you come from bash you might have to change your $PATH. | |
export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# export ANDROID_HOME=~/Android/Sdk | |
# export PATH="$PATH:$ANDROID_HOME/tools" | |
# export PATH="$PATH:$ANDROID_HOME/platform-tools" |
.fadeinDown { | |
-webkit-animation: fadeInDown 500ms ease-in-out; /* Chrome, Safari, Opera */ | |
animation: fadeInDown 500ms ease-in-out; | |
} | |
/* Chrome, Safari, Opera */ | |
@-webkit-keyframes fadeInDown { | |
0% { |
import { DateTime, DurationLikeObject } from 'luxon' | |
const DAYS_IN_SECONDS = 86400 | |
const HOURS_IN_SECONDS = 3600 | |
const MINUTES_IN_SECONDS = 60 | |
/* | |
const getUnit = (challengePeriod: number): keyof DurationLikeObject => { | |
let unit: keyof DurationLikeObject = 'days' |
ambar.bundle-size | |
andys8.jest-snippets | |
apollographql.vscode-apollo | |
aslamanver.vsc-export | |
bierner.markdown-preview-github-styles | |
bradlc.vscode-tailwindcss | |
carbonid1.emmet-jss | |
christian-kohler.npm-intellisense | |
CoenraadS.bracket-pair-colorizer-2 | |
dbaeumer.vscode-eslint |
Execute all commands bellow one by one: | |
sudo apt update | |
sudo apt install git | |
git --version | |
git config --global user.name "Your Name" |
import React, { useState, useEffect } from "react"; | |
import { useForm } from "react-hook-form"; | |
import { Link, useParams, useNavigate } from "react-router-dom"; | |
import mapValues from "lodash/mapValues"; | |
import Axios from "axios"; | |
import 'bootstrap/dist/css/bootstrap.min.css'; | |
import "../style.css" | |
function EntradaProduto() { | |
//SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
// import openzeppelin ERC721 NFT functionality | |
import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; | |
import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; | |
import '@openzeppelin/contracts/utils/Counters.sol'; | |
// security against trasactions for multiple requests | |
import 'hardhat/console.sol'; |
import { jss } from '@/ui/jss' | |
import { tag } from '../../utils/tag' | |
const svgs = { | |
success: | |
'<svg viewBox="0 0 426.667 426.667" width="18" height="18"><path d="M213.333 0C95.518 0 0 95.514 0 213.333s95.518 213.333 213.333 213.333c117.828 0 213.333-95.514 213.333-213.333S331.157 0 213.333 0zm-39.134 322.918l-93.935-93.931 31.309-31.309 62.626 62.622 140.894-140.898 31.309 31.309-172.203 172.207z" fill="#6ac259"></path></svg>', | |
warning: | |
'<svg viewBox="0 0 310.285 310.285" width=18 height=18> <path d="M264.845 45.441C235.542 16.139 196.583 0 155.142 0 113.702 0 74.743 16.139 45.44 45.441 16.138 74.743 0 113.703 0 155.144c0 41.439 16.138 80.399 45.44 109.701 29.303 29.303 68.262 45.44 109.702 45.44s80.399-16.138 109.702-45.44c29.303-29.302 45.44-68.262 45.44-109.701.001-41.441-16.137-80.401-45.439-109.703zm-132.673 3.895a12.587 12.587 0 0 1 9.119-3.873h28.04c3.482 0 6.72 1.403 9.114 3.888 2.395 2.485 3.643 5.804 3.514 9.284l-4.634 104.895c-.263 7.102-6.26 12.933-13.368 12.933H146.33c-7.112 0-13.099- |