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
{ | |
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", | |
"environment": { | |
"networkUserAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Mobile Safari/537.36 Chrome-Lighthouse", | |
"hostUserAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36", | |
"benchmarkIndex": 1043, | |
"credits": { | |
"axe-core": "3.5.5" | |
} | |
}, |
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
#!/bin/bash | |
ref=$(git symbolic-ref HEAD 2> /dev/null | grep -v '/master$') && echo "${ref#refs/heads/}" |
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
# Deployer basic command completion | |
_deployer_get_command_list () { | |
deployer --no-ansi | sed "1,/Available commands/d" | awk '/^ +[a-z]+/ { print $1 }' | |
} | |
_deployer () { | |
compadd `_deployer_get_command_list` | |
} | |
compdef _deployer deployer |
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
/* | |
* An Example of an console IO Helper in Java | |
* Reading input until valid input is aquired | |
*/ | |
// IOHelper.java | |
import java.util.Scanner; | |
public class IOHelper { | |
Scanner scanner; |