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
| FROM buildkite/puppeteer:v1.15.0 | |
| RUN npm install --global --unsafe-perm pa11y-ci | |
| RUN groupadd -r user && useradd -r -g user user | |
| USER user | |
| ENTRYPOINT ["pa11y-ci"] |
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 axios = require("axios") | |
| const jsdom = require("jsdom") | |
| const { JSDOM } = jsdom | |
| async function run(){ | |
| const url = "https://savvas.me/explained/promises" | |
| let response = await axios.get(url) | |
| let html = response.data | |
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
| $("#the-button") | |
| .should(doSomething) | |
| .when("clicked") |
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
| [ | |
| "ΑΚΑΝΘΟΥ", | |
| "ΑΜΜΟΧΩΣΤΟΣ", | |
| "ΛΕΥΚΟΝΟΙΚΟ", | |
| "ΛΥΣΗ", | |
| "ΚΑΡΑΒΑΣ", | |
| "ΚΕΡΥΝΕΙΑ", | |
| "ΛΑΠΗΘΟΣ", | |
| "ΚΥΘΡΕΑ", | |
| "ΛΕΥΚΑ", |
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
| <div id="app"> | |
| <header> | |
| <h1>Your cart</h1> | |
| </header> | |
| <main> | |
| <div id="cart"> | |
| <i class="fas fa-shopping-cart"></i> 2 items in cart | |
| </div> | |
| </main> | |
| </div> |
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
| 1 | |
| 00:00:02,000 --> 00:00:08,000 | |
| This is some text | |
| 2 | |
| 00:00:08,000 --> 00:00:10,000 | |
| This is some more text | |
| 3 | |
| 00:00:10,000 --> 00:00:22,000 |
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
| function sayHi(){ | |
| console.log("Hello!") | |
| } |
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
| var fileSystem = require("fs"); | |
| displayLongestAcceptableWord(); | |
| function displayLongestAcceptableWord(){ | |
| var longestAcceptableWords = getLongestAcceptableWords(); | |
| longestAcceptableWords.forEach(function(word){ | |
| console.log(word); | |
| }); | |
| } |
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
| import java.awt.Color; | |
| import java.awt.Graphics; | |
| import java.awt.image.BufferedImage; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import javax.imageio.ImageIO; | |
| public class Pixelate | |
| { |
NewerOlder