How to use inline sed on mac.
Blocks on the Stack
While reading through Apple’s open source code (headers) I came across queue.h and stumbled over the following warning:
Searching for files with Spotlight is awesome and you can actually use the power of Spotlight even in the console. But first let me show you some nice features of Spotlight.
When writing Objective-C code and using git you probably realised that the
git diff output does not mention the function name in which the change occurred. This can easily be changed.
Have a folder with all the Mavericks wallpapers and screen saver images but without wasting a lot of space.
“Mac OS X Performance Checklist” is one of the best blog posts I have read in a long time.
Faking a received SMS
So I got sick with NSLog and wrote myself a simple wrapper around it.
David wrote this nice little helper that automatically increments the build version every time.
So brew threw this at me this morning
If you started Mail and it tells you that your plugin got disabled you have to move the plugin first from the disabled folder back to the “normal” folder:
Did you know, that you can trigger your HotCorners with a modifier key?
I just figured out, that I want to make sure, that I never committed a key to my repository before publishing it, so what’s the easiest way to grep throw all commits in a git repository:
If you have little space on your machine and therefore want to install the LaTeX Basic package (which is only around 150MB instead of a couple of GB) you might run into problems that packages are missing but with
tlmgr this is quite easy to solve
To get mission control to pop up fast just write this to your plist file:
Recently I noticed that a config file of Safari gets updated every now and then even if Safari is not running.
Recently I turned on UPnP (Universal Plug and Play) to play a bit with it and instantly noticed that someone/something opened some ports in my router and forwarded them to my machine. So of course I wanted to know what’s going on on my network.
If you want a small bash, zsh or shell script that auto authenticates you with Uppsala Universities UpUnet-S you can use this simple one liner, just add our username and password and up you go
bash: ./adb: No such file or directory
FreeMind is a mind-mapping software I recently started to use and I like it, so far. But let the webpage talk for itself:
To be able to use Safari’s search function you definitely should execute this cmd:
If you try to run FreeMind on Mountain Lion you get this “nice” error message:
I had a fresh installation of Mountain Lion and installed Java 7. The problem was when I tried to run StandAloneJava applications ML always asked me whether it should install Java 6. Apparently a lot of people have this problem and here is the solution how to solve it.
By default iTunes sorts albums by name instead of year for whatever reason.
I always forget how to figure out the length and the fingerprint of a key, so here we go
After fighting against Java 6 from Apple I decided to install Java 7 and have a look into that. To say the least, I still feel quite nauseous so I keep this EXTREMELY short.
If you installed Java from Apple then you have the problem, that you have got a very old Version of Java.