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
<div class="documents"> | |
<div class="dates"> | |
<p class="selldate">Sold: 16-07-2012</p> | |
</div> | |
........ | |
</div> | |
<div class="documents"> | |
<div class="dates"> | |
<p class="selldate">Sold: 15-07-2012</p> |
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
#!/usr/bin/env bash | |
# | |
# Approach: | |
# 1. Find variable declaration in the form of "$my-var: anyvalue" | |
# 2. Loop through found variables and find occurrences of each variable in all scss files | |
if [ -z "$1" ]; then | |
echo "Please specify a directory as the first argument." | |
exit 1 | |
fi |
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
module.exports = { | |
transform: { | |
'^.+\\.tsx?$': 'ts-jest', | |
}, | |
roots: [ | |
'<rootDir>/src/', | |
'<rootDir>/tests/', | |
], | |
testRegex: '(<rootDir>/tests/.*|(\\.|/)(test|spec))\\.(ts|tsx)$', | |
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], |
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
const puppeteer = require('puppeteer'); | |
function timeout(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
(async () => { | |
try { | |
const browser = await puppeteer.launch({ headless: false }); | |
const page = await browser.newPage(); |
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
Użyj tych zasad poniżej aby móc z tobą grać. | |
Stwórz grę tekstową, w której gracz wciela się w osobę, która spotyka Dżina i może mu zadać trzy życzenia. | |
Twoje zadanie jako Dżina: | |