Skip to content

Instantly share code, notes, and snippets.

Basic commands

Run Maven from another directory:

 mvn -f tutorials/pom.xml clean verify

Run JAR application via exec-maven-plugin:

 mvn exec:java

Show docker version

Syntax:

docker version

List images

Syntax:

@vpiotr
vpiotr / svn-quickref.md
Created August 14, 2019 10:48
SVN Command Quickref

Basic commands

Add

  • add files

    svn add myscript.sh
    
  • add all which are not in SVN

@vpiotr
vpiotr / gedit_update.md
Created July 27, 2016 17:07
gedit - update instruction for Linux Mint 17

HOWTO: Update gedit to v. 3.x in Linux Mint

Introduction

In default setup, Linux Mint installs gedit in version 2.x. In order to use more recent version of this editor (for example for Markdown support), you can follow the instruction below.

Tested environment

Linux Mint 17.3

@vpiotr
vpiotr / git-quickref.md
Last active November 8, 2022 23:06
Git Command Quickref

Configure

  • show config value

    git config --global user.name
    
  • edit all config values

    nano ~/.gitconfig
    
@vpiotr
vpiotr / linux_setup.md
Last active May 6, 2022 23:01
First things to do after Linux Mint fresh install

Linux - first things to do after install

These commands were tested on Linux Mint 20.03

Use most recent kernel version

From distribution repo - using Update Manager

Select the latest version which works for you: https://www.makeuseof.com/upgrade-kernel-linux-mint/

From cutting edge repo

Annotations

Spring Data - Document

@Document - specify collection @Field - specify column (field) name @Indexed - add field to index @TextIndexed - full text index @Transient - do not store @DBRef - ref @PersistentConstructor - use this constractor for deserialization

Swagger QuickRef

Specification

Local Docker execution

Swagger Editor

Run Swagger Editor via Docker

@vpiotr
vpiotr / MyDesktopApp.nsi
Last active May 16, 2019 18:28
Sample NSIS script used in my desktop application
;--------------------------------------------------------------
;Sample NSIS script for MyDesktopApp
;
;Author: Piotr Likus, 2019
; https://github.com/vpiotr
;
;Initial script automatically created by Mihov NSIS Helper 3.2
; http://freeware.mihov.com
;
;Some patterns to be replaced: