This file contains 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
// ==UserScript== | |
// @name mbank unlifting | |
// @description Przywraca wygląd strony transakcyjnej mbanku z przed liftingu | |
// @version 0.1 | |
// @grant none | |
// @author mardr | |
// @include https://online.mbank.pl/* | |
// ==/UserScript== | |
document.documentElement.classList.remove('lifting'); |
This file contains 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
// See https://blog.isquaredsoftware.com/presentations/react-redux-ts-intro-2020-12/#/36 for slides | |
// My basic render function structure: | |
function RenderLogicExample({ | |
someBoolean, // 1) Destructure values from `props` object | |
someList, | |
}) { | |
// 2) Declare state values | |
const [a, setA] = useState(0); | |
const [b, setB] = useState(0); |
This file contains 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
## Global install of the app generator | |
npm install -g create-react-app | |
## Setup the app (first-time only) | |
create-react-app my-app | |
cd my-app | |
git init | |
# Create the Heroku app; requires free account at https://www.heroku.com/ | |
heroku create -b https://github.com/heroku/heroku-buildpack-static.git |
This file contains 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
<!-- Credit Card --> | |
<label for="frmNameCC">Name on card</label> | |
<input name="ccname" id="frmNameCC" required placeholder="Full Name" autocomplete="cc-name"> | |
<label for="frmCCNum">Card Number</label> | |
<input name="cardnumber" id="frmCCNum" required autocomplete="cc-number"> | |
<label for="frmCCCVC">CVC</label> | |
<input name="cvc" id="frmCCCVC" required autocomplete="cc-csc"> | |
<label for="frmCCExp">Expiry</label> | |
<input name="cc-exp" id="frmCCExp" required placeholder="MM-YYYY" autocomplete="cc-exp"> |