Using git for SVN repos

Posted on Sat 21 March 2015 in tech • Tagged with git, svn

We're forced to use SVN for some projects at the university. It's OK but when working on the go (Train) and offline it's a pain. Here are the steps for using git.

# initialize repo
git svn clone https://svn-server-address/repo/path

Now you can work and commit to your local …


Continue reading

x86 assembly on OSX

Posted on Sat 21 March 2015 in tech • Tagged with osx, code, assembly

During last terms compiler design course I learned x86 assembly "the hard way"... Here's some stuff that I "found out" while developing x86 assembly on OSX 10.10.

Read this first

I'm writing this post a couple of months after the course. I did not lookup the instructions and I'm …


Continue reading

Run IntelliJ IDEA 14 on OSX with Java 8

Posted on Sat 21 February 2015 in tech • Tagged with osx, intellij, java

Starting with Yosemite Apple finally stopped shipping Java 6 with OSX. It's recommended to install the latest Java version directly from Oracle. Unfortunately IntelliJ IDEA needs Java 6 (!) to start. Here is the recommended way to run IntelliJ IDEA with Java 8.

# first, install IntelliJ to /Applications
mkdir ~/Library/Preferences …

Continue reading

Move/Copy mails between different IMAP accounts

Posted on Sat 15 November 2014 in tech • Tagged with osx, linux, imap, gmail

I decided to switch back to Gmail/Inbox by Gmail. Copying thousands of mails in Thunderbird is a pain and after a couple of unsuccessful tries I started to search a better working alternative. mutt to the rescue!

# login to your old imap account:
mutt -f imaps://username@oldmailserver/INBOX …

Continue reading

Manually installing Boost 1.55 on OSX

Posted on Sun 19 October 2014 in tech • Tagged with osx, homebrew, boost, c++

Boost 1.56.0 which is currently installed by homebrew is broken. Just try to compile the following C++ program. It will fail.

#include <boost/graph/adjacency_matrix.hpp>

int main() {
}

Here are the steps to manually install Boost 1.55:

  • Download Boost 1.55 here
  • Extract the source and cd …

Continue reading

Enable homebrew for non admin users

Posted on Sat 18 October 2014 in tech • Tagged with osx, homebrew

Even on OSX you should not be working with an admin account. Here are the steps to make homebrew usable for non admin users.

Assumptions

I assume brew has already been installed by an administrator and it's login is admin. Change admin below to the name of your admin account …


Continue reading

OSX 10.10 (yosemite): configure: error: C compiler cannot create executables

Posted on Sat 18 October 2014 in tech • Tagged with osx, homebrew

Problem: brew fails with "configure: error: C compiler cannot create executables"

==> Upgrading 1 outdated package, with result:
python3 3.4.2_1
==> Upgrading python3
==> Downloading https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz
Already downloaded: /Library/Caches/Homebrew/python3-3.4.2.tar.xz
==> ./configure --prefix …

Continue reading

Hello

Posted on Thu 17 July 2014 in misc

Welcome to the new website. I've created the new page mainly as an excuse for not learning during the current exam preparations... So you should not expect any updates soon. There'll hopefully be some updated stuff here after the exam session in august. Have a nice summer and come back …


Continue reading