Skip to content

Instantly share code, notes, and snippets.

View daniloab's full-sized avatar
🎯
Focusing

Danilo Assis daniloab

🎯
Focusing
View GitHub Profile

Instructions for the Backend Tournament - 2025

Challenge

Your team and/or you need to develop a backend that intermediates payment requests to a payment processing service, called Payment Processor.

image

For each intermediated payment, a financial fee is charged. For example, with a 5% fee for a $100.00 payment request, you would be charged $5.00 and keep $95.00.

## git aliases
co = checkout
st = status
cob = checkout -b
cim = commit -m
alias = ! git config --get-regexp ^alias\. | sed -e s/^alias\.// -e s/\ /\ =\ /
pom = pull origin master
poma = pull origin main
com = checkout master
coma = checkout main
import { useSnackbar } from 'notistack';
import { MutationParameters, PayloadError } from 'relay-runtime';
import { useMutation, UseMutationConfig } from 'react-relay';
export const getError = (data: any) => {
if (data?.error) {
return data.error;
}
/**
 * Metro configuration for React Native
 * https://github.com/facebook/react-native
 *
 * @format
 */
const path = require('path');

Problems

After installed brew, node, npm, nvm, yarn we must export some variables. This is a starter file to my .bashrc.

Can be used for .zshrc just need to remove the bash eternal history lines or understand the error beyond shopt

export PATH=/opt/homebrew/bin:$PATH
export NVM_DIR=~/.nvm

export CLICOLOR=1

Hi there, Im trying to configure my react native environment on my Macbook M1. When trying to create a new react native project from Cli returns:

creating

npx react-native init RnRQYPoc --template react-native-template-typescript

...

✔ Downloading template
✔ Copying template
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
Fetching podspec for `boost` from `../node_modules/react-native/third-party-podspecs/boost.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Traceback (most recent call last):
	45: from /usr/local/bin/pod:23:in `<main>'
	44: from /usr/local/bin/pod:23:in `load'
	43: from /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>'

alias list

  • co = checkout
  • st = status
  • cob = checkout -b
  • cim = commit -m
  • alias = ! git config --get-regexp ^alias. | sed -e s/^alias.// -e s/\ /\ =\ /
  • pom = pull origin master
  • poma = pull origin main

how to add it

<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\FunctionalTestingFramework\Config;
use Magento\FunctionalTestingFramework\Exceptions\TestFrameworkException;
class MftfApplicationConfig