In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
| const https = require("https"); | |
| const fs = require("fs"); | |
| const SKIP_PLATFORMS = [ | |
| "tron", | |
| "sora", | |
| "factom", | |
| "elrond", | |
| "osmosis", | |
| "cosmos", |
| const fs = require("fs"); | |
| const axios = require("axios"); | |
| const URLS = [ | |
| "https://tokens.uniswap.org", | |
| "https://extendedtokens.uniswap.org", | |
| "https://unsupportedtokens.uniswap.org", | |
| "https://raw.githubusercontent.com/The-Blockchain-Association/sec-notice-list/master/ba-sec-list.json", | |
| "https://api.coinmarketcap.com/data-api/v3/uniswap/all.json", | |
| "https://tokens.coingecko.com/uniswap/all.json", |
| 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" |