The performance of a website is something that I’m very interested about. Especially when it comes to mobile, which of course is something very important to care about these days.
The biggest bottleneck tends to be images. Large and many images.
Creating custom routes in WordPress
Sometimes I can really miss the ability to create routes, “MVC style”, in WordPress. If you have ever worked with Laravel, Ruby on Rails, Express or something like that, you know what I mean.
When I was searching for a good solution to accomplish this, I found an excellent plugin called WP Router.
“Cannot run ssh”
I was trying to do a git clone
on my server the other day. The problem was that I got this error:
error: cannot run ssh: No such file or directory
fatal: unable to fork
As you can see, the problem was that my server didn’t have ssh installed. The solution was to clone via http instead.
Example:
git clone git@github.com:stefanledin/bigfoot.git
didn’t work, but this did:
git clone https://github.com/stefanledin/bigfoot.git
My workflow for this blog
This past weekend, I (once again) turned this site back to be my personal blog. I’ve been writing a number of blog posts over at stefanledin.github.io, which was an experiment with Jekyll from the beginning. But now I will try to become more serious with the blogging and have therefore moved it back here.
Now I’m going to tell you about how I made this blog. Consider this post to be a follow up to my previous posts about workflows with a real world example.
Replace MAMP with Vagrant today
Durning the last couple of months I’ve played around quite a bit with Vagrant. I’m sure that you’ve heard about Vagrant and understood that it’s some new, cool thing that everybody should use.
You may also have read that MAMP is bad and Vagrant is good, and now you’ve came across a little guide on how to replace MAMP with Vagrant.
I’ll be using the excellent Vaprobash script to the Vagrant server up and running.