Skip to content

Instantly share code, notes, and snippets.

View jillesvangurp's full-sized avatar

Jilles van Gurp jillesvangurp

View GitHub Profile
@jillesvangurp
jillesvangurp / .profile
Created May 26, 2012 08:55
profile tweak to get custom git prompt
# brew install bash_completion for this to work ...
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
# add current git branch to prompt
PS1='\h:\w\[\033[32m\]$(__git_ps1) \[\033[0m\]$ '
@jillesvangurp
jillesvangurp / jedit_dot_profile_snippet.sh
Created June 2, 2011 14:12
Start Jedit from the command line
# bash function for opening files in jedit (http://www.jedit.org/) from the command line
# copy the line below in your .profile or .bashrc
# the nohup can be used to avoid closing the editor when you close the terminal window from which you launch
function jedit() { nohup java -Xms15M -jar /Applications/jEdit.app/Contents/Resources/Java/jedit.jar -reuseview "$@" > /dev/null 2> /dev/null &}
Many of you have been asking about the future of the Elasticsearch UG Berlin. A few months ago we announced the temporary shutdown of the meetup while we negotiated how to continue the meetup due to some disagreements. We continued discussing this over the last few months and finally agreed to relaunch the meetup with a bit changed scope. We very much enjoyed running the group in the old form and it has been one of the most active groups in that space, with 32 events over the time it lasted. Only Elasticsearch France is more active.
Today we are announcing the re-launch of the group under a different name: Search Berlin and with a broadened scope: search. We will open the group to other topics from the same space. We believe this will lead to a more informative environment for all attendees and provides independence to the community effort. Elasticsearch and the products around it will of course stay an important topic. This comes along with a few minor governance changes (which improve the group, in our vi
class Person {
// final fields can be public, no more getter bullshit
public final String name;
public final String sex;
public final int age;
...
// private constructor to be used by Builder only, constructor inject everything in one go and never modify.