This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define the service folders | |
SERVICES=( | |
"api-gateway" | |
"micro-services/admin" | |
"micro-services/aggregator" | |
"micro-services/customer" | |
"micro-services/notification" | |
"micro-services/order" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set your new remote name here | |
NEW_REMOTE="origin" | |
# Fetch all branches from the remote | |
git fetch $NEW_REMOTE | |
# Loop through all local branches | |
for branch in $(git for-each-ref --format='%(refname:short)' refs/heads/); do | |
# Set the upstream to the corresponding branch on the new remote | |
git branch --set-upstream-to=$NEW_REMOTE/$branch $branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const LINKEDIN_OPTIMIZATION_GOAL = { | |
REACH: "Reach", | |
IMPRESSIONS: "Impressions", | |
LEADS: "Leads", | |
LANDING_PAGE_CLICKS: "Landing Page Clicks", | |
ENGAGEMENT_CLICKS: "Engagement Clicks", | |
} as const; | |
export const LINKEDIN_CAMPAIGN_OBJECTIVE_TYPE = { | |
BRAND_AWARENESS: "BRAND_AWARENESS", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const development = [ | |
]; | |
const staging = [ | |
]; | |
const prod = [ | |
]; | |
const developmentSet = new Set(development); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NULL | 'jkillby5k@nps.gov' | 'nps.gov' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
---|---|---|---|---|---|---|
NULL | 'vanstiss5l@bravesites.com' | 'bravesites.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'jbanting5m@last.fm' | 'last.fm' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'lbarrack5n@pinterest.com' | 'pinterest.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'wferrarini5o@themeforest.net' | 'themeforest.net' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'bcoslitt5p@skyrock.com' | 'skyrock.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'cburgett5q@vinaora.com' | 'vinaora.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'satter5r@hubpages.com' | 'hubpages.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'tcadwallader5s@narod.ru' | 'narod.ru' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'yarch5t@livejournal.com' | 'livejournal.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NULL | 'mworsall0@booking.com' | 'booking.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
---|---|---|---|---|---|---|
NULL | 'ltrowel1@unblog.fr' | 'unblog.fr' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'iianilli2@google.fr' | 'google.fr' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'mbrimmicombe3@marriott.com' | 'marriott.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'ngumary4@macromedia.com' | 'macromedia.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'sdawnay5@goodreads.com' | 'goodreads.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'ckellitt6@salon.com' | 'salon.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'nstephens7@wikispaces.com' | 'wikispaces.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'tgiorgiutti8@howstuffworks.com' | 'howstuffworks.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' | |
NULL | 'gdeehan9@fastcompany.com' | 'fastcompany.com' | '231' | '2022-11-22 11:02:31' | '2022-11-22 11:02:31' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pieces = [ | |
{ | |
type: "rook", | |
team: "white", | |
column: "A", | |
row: 1, | |
isCaptured: false, | |
}, | |
{ | |
type: "knight", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
extends: ['next/core-web-vitals', 'airbnb', 'airbnb/hooks', 'prettier'], | |
plugins: ['react', '@typescript-eslint', 'prettier'], | |
env: { | |
browser: true, | |
es2021: true, | |
node: true, | |
}, | |
parser: '@typescript-eslint/parser', | |
parserOptions: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.3; | |
import "@openzeppelin/contracts/utils/Counters.sol"; | |
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
import "hardhat/console.sol"; | |
contract NFTMarketplace is ERC721URIStorage { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT OR Apache-2.0 | |
pragma solidity 0.8.2; | |
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; | |
import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol"; | |
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; | |
import "@openzeppelin/contracts-0.8/token/ERC721/ERC721.sol"; | |
import "hardhat/console.sol"; |
NewerOlder