How my Git repository got corrupt in the first place
Ok, so how my Git repository got corrupt was (sort of) entirely my own fault.
And why it was a problem was definitely entirely my own fault.
I had two stashes in my repository and decided for no apparent reason to pop
the second stash straight after popping the first stash. Git told me there were
conflicts in the second pop. I decided that I shouldn't really have popped them
straight after each other (lesson #1 here) and decided to restore a Time
Machine backup to get to the state where both stashes were still stashed. And
that's …continue.
In October 2013 I upgraded both my work Mac running Lion and my home Mac running Snow Leopard to Mavericks. Here's a report of the problems I ran into.
On my home Mac running Snow Leopard I wanted to do a clean install. It turns out this isn't an option in the install process, instead you have to wipe your drive/partition first and then start the installation process;
Admin password problem (didn’t notice lock), only occurred once;
My keyboard lay-out at the login screen somehow got stuck on …continue.
So, I'm finally getting to know Plone. We will be using it for the company website and I should be getting a short training in working and developing with Plone so I can take on the maintenance of the website after delivery.
I had some extra time to delve into Plone before the training and I have to say: Plone definitely has a steep learning curve. It toke me forever just to get it up and running (not being familiar with zc.buildout doesn't help). Just now I had to help my colleague getting everything up and running and he ran into …continue.
A while ago I wrote two posts, one on using Twig and another on using htaccess with Mac's Apache. I was reasonably happy with the described setups until I discovered that when I used something like <link rel="stylesheet"href="/style.css"media="all"> in my HTML it wouldn't work because my site was running at the default http://localhost/~heleen/website/index.html and so it would map the 'root' slash to http://localhost/ rather than http://localhost/~heleen/website/. I found a solution to this using vhosts, which works really well. But then I had to add another website, and another, and realised that surely there should be an easier way …continue.
Add DocumentRoot "/Users/[your-username]/Sites/" at the top of the file;
Add FollowSymLinks to the Options;
Change AllowOverride None to AllowOverride All;
Change Deny from All to Allow from All.
Original:
<Directory "/Users/[your-username]/Sites/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Deny from All
</Directory>
New:
DocumentRoot "/Users/[your-username]/Sites/"
<Directory "/Users/[your-username]/Sites/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from All
</Directory>
Just now I tried to use django-admin.py makemessages to create a language file and got the following error:
/bin/sh: xgettext: command not found. After a search on my system it turns out I don't have gettext installed.
I did some searching and found mac-ports solutions, but I'm not a big fan of them. I tried compiling myself and got the following errors:
For the project I am currently working on at my job I needed to make some HTML page mock-ups. The HTML and CSS were already available within the current version of the website, I just needed to restructure the content a bit and make a few mock-ups of it to see what sort of issues we'd run into.
Initially I just copied the HTML and replaced the old content with the new content. Then I made another copy and replaced it with different content. I then realised what I needed was a tempting system. If I was going to make 10 …continue.