• Blog
  • About
  • Site Notice

Welcome to the Blog

  • Home
  • |
  • Tag: Snippets

Categories

  • English
  • German
  • News
  • Java
  • Allgemein

tags cloud

  • software engineering
  • Usability
  • Java
  • UDD
  • Snippets
  • Ruby on Rails
  • Ruby
  • Play Framework
  • Linux
  • Projects

Useful links

  • Generated Homepage
  • Blog
  • Data protection
  • Site Notice
  • More

Archives

  • May 2018
  • November 2015
  • November 2014
  • August 2014
  • January 2014
  • December 2013
  • November 2013
  • September 2013

Kill all processes of a single user

Shell kill -9 `ps -u $username -o "pid="` 1 kill -9 `ps -u $username ...

English

Read More

Copy something directly into the clipboard from Terminal.app

Shell cat foo.txt | pbcopy 1 cat foo.txt | pbcopy ...

English

Read More

Java enums from a given string

To generate a instance of a enum class by a given string you can ...

English

Read More

Show DB2 SQLCODES

With the db2 comand line tool: db2 ? SQL$FOO 1 db2 ? SQL$FOO Replace ...

English

Read More

Java BigDecimal is negative?

To check if a BigDecimal in Java is negative use the signum() method like ...

English

Read More

Testing that a method throws an exception

In Java with JUnit 3 Java public void testIndexOutOfBounds() { try { new ArrayList().get(0); ...

English

Read More
Load More

About me    Site notice    

Copyright 2021 Jäger Software Engineering GmbH, all rights reserved.