Tonight I came across an issue in gitbook. First of all I want to say that it’s a wonderful piece of software and they’re trying super hard to build a great service out of gitbook.com to empower self-publishers, but this curious bug had me wondering quite a bit.
Few weeks ago we decided to switch our static site to GHOST and write a theme for it. Now, GHOST isn’t an optimal choice for a photography portfolio and we’ll get into why that’s the case in a bit, but we both like blogging to, so we wanted to give it a shot.
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+.
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.
For about a month now I’ve been using GitKraken every day, which has entered public beta some weeks ago.
It’s quite a neat GUI client for git, making all kinds of tasks nicer to perform and the best thing: It’s really cross platform and available for Linux, my operating system of choice.
When working with code, especially with front end code, you might want to see a diff of two files. Maybe you have a build tool that’s doing something with it or just two different versions. The point is: You want to know exactly if two files are the same or just have all the differences listed. I’ll just share some of my favourite tools for that.
Bootstrap is a great CSS framework, but what if we only want to use the grid and not all the other features? You can do this if you either use the SASS or LESS version of the bootstrap framework. I’ll quickly demonstrate how you only take the necessary parts. I dug into this, because I was creating a landing page only featuring parts of the bootstrap framework to increase the page speed.
Continue reading “Bootstrap 4 Grid only and SASS with Gulp”
Creating a git merge conflict is easier than you think. It usually naturally occurs when git doesn’t know which change to accept into a branch, while merging. Typically you want to avoid them, but for educational purposes or just to get a better understanding of them, let’s create a git merge conflict.
I’m currently in the planning phase of creating a video course on git for beginners, so I really need your help. What would you put into it? Continue reading “Developing a Video Course on Git”
I’m currently tasked with the revision of some lecture material for basic HTML, CSS and PHP studies, so I thought I should give gitbook a try.
It’s a super sweet generator for creating an interactive website, a pdf and even epub from a loosely structured bunch of MarkDown files. You can imagine I love that. Continue reading “Creating books with Gitbook”