Searching the Google Books API with PHP [Quickstart]

APIs are always fun to me, because you gain access to a large pool of information. Today I want to take a quick look at how to access the Google Books API with PHP. The code snippets and general knowledge should be applicable to all kinds of other Google APIs like YouTube or Google+.

Requirements

To access the Google API you will need an API key, which firstly requires you to register a project as a developer and then register your application as a client for the Google Books API. I have heavily screenshotted that process, because I didn’t find it very intuitive.

Secondly I’ll be using Composer for the ones that have php executable in their command line, most likely MacOS and Linux users. If you don’t want anything to do with composer, you can also download the Google API client manually from github.

Continue reading Searching the Google Books API with PHP [Quickstart]

How to get a high score on Pagespeed Insights (and make your site fast)

This post is about how to optimize your page for speed and we’re going to test the results with the Pagespeed Insights tool provided by Google.

Google started weighting results on their search engine result pages after the results for your website, so if you score high numbers, you are more likely to show up, especially for mobile users.

Continue reading How to get a high score on Pagespeed Insights (and make your site fast)

NGINX / Apache: Block Requests to PHP file (xmlrpc.php)

This is going to be a short post about how to block your webserver from serving a specific file.

WordPress comes with a file called xmlrpc.php which enables you to use their mobile App on self-hosted blogs or enables ping- and trackbacks. However, there is a bunch of bots out there that attempt to brute-force their way in and can produce either high load or actually present a security risk.

Continue reading NGINX / Apache: Block Requests to PHP file (xmlrpc.php)

Distortion Copenhagen 2016 – Nørrebro / Wednesday

We were at Distortion in Copenhagen last Wednesday. It’s basically a huge street party, bundled with lots of small concerts, the consumption of beer and other (mostly soft) drugs and a LOT of people.

The party moved over the week through different parts of the city and ended at a festival with an entrance fee. Most of the people in the street were friendly, happy and partying too, but it wasn’t quite the same feeling as at a real festival. People were a little more suspicious and selfish.

In general it was a nice experience, also because people were posing for us or just didn’t really mind people with cameras being around.

Judith got a bunch of really really cool close up photos, so check them out on her blog too.

distortion-copenhagen-noerrebro-01

Continue reading Distortion Copenhagen 2016 – Nørrebro / Wednesday

I need feminism because: Metal T-shirts

I need feminism because of a lot of things, one of them is metal t-shirts.

Technically it’s not only metal t-shirts, it’s all kinds of shirts, but have you seen logos of metal bands? They basically all look as if you tried to make some kind of evil mandala using a pile bones of around 30 orc corpes. That in itself isn’t a problem, but I really don’t want anyone, especially women, to feel uncomfortable while my brain tries to make sense of the logo on their chest!

Continue reading I need feminism because: Metal T-shirts

On Being Powerless

No matter how much you do, achieve, how well you do, there will be defeats, inevitably. The Serenity Prayer teaches us to accept what we can’t change, but I sometimes find it hard to accept unfair realities.

God, give me grace to accept with serenity
the things that cannot be changed,
Courage to change the things
which should be changed,
and the Wisdom to distinguish
the one from the other.

Continue reading On Being Powerless

How to get a Job in Tech

How do you actually get a job in tech? I’m going to try to tell you, because I’ve just been through this journey and this blog post was written over the last couple of months where I left my job as a teacher to write code every day. I also believe most of the things in this article apply to most fields and not only to tech.

I’m a Web Developer (BA), but I’ve worked as a teacher (on how to make web sites) the first two years, because it was a really cool job and I got to work with young adults with ADHD or ASD, an autism spectrum disorder. (Still miss you guys, if you’re reading this!)

Continue reading How to get a Job in Tech

Tech bubbles and the war of user bases

Disclaimer:

I don’t own a million dollar startup, I am no analyst, I didn’t write my Phd in… well I haven’t written one at all so far. I work as a developer, I blog and I take photographs.

Tech startups currently get evaluated at seemingly insane sums of money, usually based on the amount of users and how much engagement they show with each other through their product.

Continue reading Tech bubbles and the war of user bases

Best (dark) Atom Editor Themes

As previously blogged about, I’m quite the fan of the atom editor, here I quickly want to introduce some of my favourite syntax themes for it.

As a UI theme, I’m still stuck on Seti, because it’s clutter free and it has some awesome icons for all the different file extensions.

Monokai Seti Syntax

Continue reading Best (dark) Atom Editor Themes