Skip to content

Instantly share code, notes, and snippets.

<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>
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:

.andExpect(jsonPath("[?(@['variableName'] == 'expectedValue')]").exists())

find . -type f -name "*.kt" -print0 | xargs -0 grep -l "uuid"
#!/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
1. Fix IDEA keyboard shortcuts https://askubuntu.com/questions/412046/unable-to-use-intellij-idea-keyboard-shortcuts-on-ubuntu
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
#!/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'