Skip to content

Instantly share code, notes, and snippets.

@piotrpolak
piotrpolak / gist:c616455f1da8dfc2d4e101afbfdcdc8d
Last active July 17, 2023 12:25
Cygwin unattended installation
# 1. Download https://cygwin.com/setup-x86_64.exe
# 2. Copy and paste the following lines in your default Windows CMD
# to install Cygwin alongside with some additional packages under c:\cygwin64
# NOTE: First navigate to the same directory where setup-x86_64.exe is located
setup-x86_64.exe ^
--quiet-mode ^
--packages ^
bzip2,^
#!/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'
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
1. Fix IDEA keyboard shortcuts https://askubuntu.com/questions/412046/unable-to-use-intellij-idea-keyboard-shortcuts-on-ubuntu
#!/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
find . -type f -name "*.kt" -print0 | xargs -0 grep -l "uuid"

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

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: