Author Archive for Luigi



Yosemite network problems

I’ve successfully updated two macbooks to Yosemite, and I’m quite happy so far. The only problem I got, is that one of the two (an old late 2008 macbook) stopped seeing other devices on the network. Even from the Airport utility, it continues to look around without seeing the Time Machine connected to the network. […]

Ignoring versioned files with GIT

Suppose you work in a team. You download the project sources and you need to change some configurations according to your working environment, like the tcp port on which to run the webserver or the path where to store the log files. If you commit those files, after your local set up, this would impact […]

For the ones who don’t know what OWNER library is, you can read my previous article here: Introducing OWNER, a tiny framework for Java Properties files. It has been a long time since I posted the Part 1 of this article, and version 1.0.3 was just released. Now I should probably write about version 1.0.4 […]

In the last blog post I introduced what is the OWNER API and how to use it. Basically it is tiny library that helps reducing the Java code to read the configuration for your application from Java Properties files. You can find full documentation here. Version 1.0.0 was having the very basic features, and now I’m […]

I never liked to create “wrapper” classes for properties files. Do you know… those classes like: public class MyAppConfig { private static Properties p = …; public static String serverName() { return p.getProperty(“server.name”); } public static int serverPort() { return Integer.parseInt(p.getProperty(“server.port”)); } …. } There’s nothing really bad about those classes. Only that they don’t […]

Ssh “Write failed: Broken pipe”

I started to get this error “Write failed: Broken pipe” when I was leaving the terminal alone. Since plumbers are still expensive, despite the crisis, I decided to fix the pipe by myself. Very easy, just add the following line to /etc/ssh/sshd_config: ClientAliveInterval 60 This will send a “keep-alive” packet from the server to the […]

-bash: __git_ps1: command not found

How to fix the error “-bash: __git_ps1: command not found” after git-core updates.

It’s a couple of days I’m experiencing my macbook pro being more unstable (than usual). This morning I noticed that the cpu temperature was around 80˚C (using iStat Menus) and I notice that the process coreserviced was taking 80% CPU, and after that there was pentabletdriver with another 20%. I thought that it was a […]

I purchased an awesome 24″ LCD Monitor by Asus, I didn’t spend much (except for the Apple Mini DisplayPort to HDMI cable). The problem with OS X, is that once you have such a wonderful display you want to use it fully, and the Apple operating system works against you. In fact, by default the […]

I always found Dashboard pretty useless, and I just notice it exists when by mistake I press some key which switches the desktop to it. So, here is how to get rid of it; I write this post mainly for future memory for myself. From this article: $ defaults write com.apple.dashboard mcx-disabled -boolean YES $ […]




About

Archive for Luigi.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Calendar

June 2017
M T W T F S S
« Nov    
 1234
567891011
12131415161718
19202122232425
2627282930  

Follow me

twitter flickr LinkedIn feed

Subscribe by email

Enter your email address:

Archives


Categories

Tag Cloud


Listening