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 […]

Self executing jar files

I personally always felt bad about the fact that we have to provide a shell script which runs the executable jar file. It would be nice if we could provide a self contained executable in a single file, right? I just discovered a trick which works on unix, but it can possibly be adapted on […]

When I first had to use OS X I had hard time with some things that weren’t working as expected. I thought they were usability bugs, but of course don’t try to argue about that with a veteran Apple user, because “you’re ugly and stupid, and that’s the way it should be! And OSX has […]

There are a couple of cool features in GIT that may not be well known by everyone, depending on which platform you are using. For example on Linux it is quite common to have the bash completion working, while in Windows msysgit comes with a cool prompt which displays the current branch and some status […]

If you have more than one laptop/computer on your desktop, you may find yourself jumping from a keyboard to another to make use of them. In this article I explain how I configured my laptops to share keyboard and mouse using synergy. It is always a good thing to have a second monitor, for example […]

Uninstalling .pkg files on OSX

I feel safe in managing my tasks on computers when I can always undo last operations and restore a working environment. For that reasons tools like cvs, subversion, git, etc. do exist. But the same should be true with an operating system. You do your stuff, install apps, and when unhappy of the changes you […]

Eclipse slow in OSX

I found that eclipse is incredibly slow in OSX, switching from tab to tab, reorganizing or switching the perspectives, or maximizing the tabs, it is so slow that can barely be defined as usable. If you are experiencing the same problem, try to modify the eclipse.ini (Eclipse.app/Contents/MacOS/eclipse.ini) in this way. Change the line -Dosgi.requiredJavaVersion=1.5 to: […]

I used to create launchers in Linux for command line applications, to place on the desktop or in some bar. On Linux, that is as easy as specifying the launcher command or bash script, tell if you want run it in a console or not, and specify an icon. On OSX (...) read this article. […]




About

You are currently browsing the NewInstance weblog archives for OSX.

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

Calendar

July 2017
M T W T F S S
« Nov    
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Follow me

twitter flickr LinkedIn feed

Subscribe by email

Enter your email address:

Archives


Categories

Tag Cloud


Listening