.andExpect(jsonPath("[?(@['variableName'] == 'expectedValue')]").exists())
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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>3.1.0</version> | |
<configuration> | |
<encoding>${project.build.sourceEncoding}</encoding> | |
<overwrite>true</overwrite> | |
<delimiters> | |
<delimiter>@{*}</delimiter> | |
</delimiters> |
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
version: '3.3' | |
services: | |
mongo: | |
image: mongo:4.2 | |
ports: | |
- '27017-27019:27017-27019' | |
mongo-seed: | |
image: stefanwalther/mongo-seed | |
container_name: mongo-seed | |
environment: |
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
find . -type f -name "*.kt" -print0 | xargs -0 grep -l "uuid" |
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 | |
sudo apt-get update | |
# TODO | |
# https://github.com/timrichardson/Prime-Ubuntu-18.04 / https://github.com/matthieugras/Prime-Ubuntu-18.04 | |
# Battery https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html | |
sudo apt-get install tp-smapi-dkms acpi-call-dkms |
https://forums.linuxmint.com/viewtopic.php?t=232902
https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
sudo tlp-stat -b
Prolong batery life
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
1. Fix IDEA keyboard shortcuts https://askubuntu.com/questions/412046/unable-to-use-intellij-idea-keyboard-shortcuts-on-ubuntu |
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
sudo apt-add-repository ppa:yannubuntu/boot-repair && \ | |
sudo apt-get update && \ | |
sudo apt-get install -y boot-repair && \ | |
boot-repair | |
sudo apt-get install os-prober && \ | |
sudo os-prober && \ | |
sudo update-grub | |
// https://help.ubuntu.com/community/Boot-Repair |
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 | |
# Usage: ./update_phpstorm_eap.sh | |
# Download and run: wget -O ~/update_phpstorm_eap.sh https://gist.githubusercontent.com/piotrpolak/6dfeae405a6b6d999cf5f16f5615d70c/raw/842e9ad7650265a9c7a76c8699e10fad58814af9/update_phpstorm_eap.sh && chmod +x ~/update_phpstorm_eap.sh && ~/update_phpstorm_eap.sh | |
# Your custom location | |
PHPSTORM_DESTINATION="/home/${USER}/Apps/PhpStorm" | |
# Page containing links to the latest EAP tar.gz | |
EAP_PAGE_URL='https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program' |
NewerOlder