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
<dependency> | |
<groupId>org.jboss.shrinkwrap.resolver</groupId> | |
<artifactId>shrinkwrap-resolver-depchain</artifactId> | |
<version>2.1.0</version> | |
<scope>test</scope> | |
<type>pom</type> | |
</dependency> |
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
Export: | |
docker commit <CONTAINER ID> <IMAGE-NAME> | |
e.g. (Oracle XE image) | |
docker commit d1db2b oracle-xe | |
docker save IMAGE-NAME > <IMAGE-NAME>.tar | |
e.g. |
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
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-assembly-plugin</artifactId> | |
<version>2.2.1</version> | |
<configuration> | |
<archive> | |
<manifest> | |
<mainClass>path.to.your.main.Class</mainClass> |
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
import java.util.Arrays; | |
import java.util.List; | |
import java.util.stream.Stream; | |
public class DynamicTree<T> { | |
private T value; | |
private List<DynamicTree<T>> dynamicTrees; | |
public DynamicTree(T value, List<DynamicTree<T>> dynamicTrees) { | |
this.value = value; |
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
SELECT username, account_status FROM dba_users WHERE username='SYSTEM'; | |
SELECT 'ALTER USER '|| name ||' IDENTIFIED BY VALUES '''|| spare4 ||';'|| password ||''';' FROM sys.user$ WHERE name='SYSTEM'; | |
ALTER USER SYSTEM IDENTIFIED BY VALUES 'S:8E533D4812DFD460BB9CDB06CEE19681770E9D612CB02B4979D9B4389DAF;2D594E86F93B17A1'; |
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
git config --global core.editor "open -nW -a 'Brackets'" |
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
# HOWTO: Make bootable USB stick from ISO on OSX | |
# determine /dev/diskN name of USB stick (e.g. /dev/disk2) | |
diskutil list | |
# convert image.iso to image.dmg (hdiutil adds .dmg automatically) | |
hdiutil convert -format UDRW -o image image.iso | |
# unmount (don't eject!) usb stick | |
diskutil unmountDisk /dev/disk2 |
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
// Add the follow Code Snippet to index.html from swagger-ui v2.x.x | |
// ... | |
window.swaggerUi = new SwaggerUi({ | |
url: url, | |
// --- --- --- ---- | |
useJQuery: true, | |
authorizations: { | |
makeCredentialed: function() { | |
this.xhrFields = {withCredentials: true}; // The important bit, along with useJQuery |
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
weißer Stecker: | |
1 - Kontrolleuchte Fernlicht | |
2 - Instrumentenbeleuchtung (Klemme 58g) | |
3 - Kontrolleuchte Blinker rechts | |
4 - Kontrolleuchte Blinker links | |
5 - Warnleuchte elektr. Getriebesteuerung | |
6 - nicht belegt | |
7 - nicht belegt | |
8 - Warnleuchte DDE |
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/sh | |
find ~/.m2 -name *.lastUpdated -delete |