- PC Gamer / Desktop (Ryzen 7 2700, 16 GB RAM, RTX 3050, 1TB Nvme)
- Macbook M1 16 GB RAM 1TB 13-inch (Personal)
- Macbook M1 Max 32 GB RAM 500GB 16-inch (Work)
- Macbook i5 2017 8 GB RAM 1TB 13-inch (Personal)
- Keyboard Keychron K3
//SPDX-License-Identifier: UNLICENSED | |
pragma solidity ^0.8.0; | |
contract CashbackContract { | |
address payable shop; | |
uint256 public percentage = 10; // 10% | |
constructor(address target) { | |
shop = payable(target); |
cfgver "1" | |
unbindall | |
bind "0" "slot10" | |
bind "1" "slot1" | |
bind "2" "slot2" | |
bind "3" "slot3" | |
bind "4" "slot4" | |
bind "5" "slot5" | |
bind "6" "slot6" | |
bind "7" "slot7" |
import * as React from 'react' | |
import { Animated, Easing, ScrollView, View } from 'react-native' | |
const AutoScrolling = ({ | |
style, | |
children, | |
endPaddingWidth = 20, | |
duration, | |
delay = 0, | |
isLTR = false, |
// SPDX-License-Identifier: MIT | |
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) | |
pragma solidity ^0.8.0; | |
import "../utils/Context.sol"; | |
/** | |
* @dev Contract module which provides a basic access control mechanism, where | |
* there is an account (an owner) that can be granted exclusive access to |
export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home" | |
export ANDROID_HOME=~/Library/Android/sdk | |
export PATH=$PATH:$ANDROID_HOME/emulator | |
export PATH=$PATH:$ANDROID_HOME/tools | |
export PATH=$PATH:$ANDROID_HOME/tools/bin | |
export PATH=$PATH:$ANDROID_HOME/platform-tools | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm | |
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion |
import '__mocks__/broadcast' | |
import { ReactChildren, ReactChild } from 'react' | |
import { render } from '@testing-library/react' | |
import { GlobalStyles } from 'styles' | |
import { ToastContainer } from 'components/Toast' | |
import { AuthProvider } from 'contexts/AuthContext' | |
import { SidebarProvider } from 'contexts/SidebarContext' |
// outside component (after imports) | |
const useAuth = jest.spyOn(require('contexts/AuthContext'), 'useAuth') | |
const user = { | |
user: { | |
name: 'Roberto Firmino', | |
}, | |
} | |
// inside describe | |
useAuth.mockReturnValue(user) |
import { | |
createContext, | |
ReactNode, | |
useContext, | |
useEffect, | |
useState, | |
} from 'react' | |
import { setCookie, parseCookies, destroyCookie } from 'nookies' | |
import Router from 'next/router' |