Centering in CSS is a pain in the ass. There seems to be a gazillion ways to do it, depending on a variety of factors. This consolidates them and gives you the code you need for each situation.

This whole section is dedicated to learning how to say "if" in Japanese. Oh, if only it was as simple as English. In Japanese, there's four (count them, four) ways to say "if"! Thankfully, the conjugations are sparse and easy especially since you don't have to deal with tenses.

The descriptions of the signs mostly follow Gardiner's publications. However, an attempt was made to achieve a greater consistency.

Let’s harness the power of these new media queries to serve an image of the right size based on the device a user views our site on. We’re going to save a lot of bandwidth for the small devices, and serve a beautiful large image for larger ones.

We’ll do that by using the HTML5 picture element and its powerful source tag and media and srcset attributes.

So these are big problems with traditional law. Agreements are ambiguous. And enforcement is hard.

Ethereum solves both these problems. It does this with the marriage of two special ingredients: a digital currency, and a complete programming language. Let's look at both.

The Problem: You want people to be able to create a unique user account, with a password, which they will use to access your application. How can you safely implement this feature?

Easiest Solution: Use libsodium, which provides a secure password hashing API in most languages. As of version 1.0.8 it uses the scrypt algorithm, but in the next release (1.0.9) it will also offer Argon2, the most recent, carefully-selected algorithm from the Password Hashing Competition. Libsodium offers bindings for most programming languages.

S3QL is a file system that stores all its data online using storage services like Google Storage, Amazon S3, or OpenStack. S3QL effectively provides a hard disk of dynamic, infinite capacity that can be accessed from any computer with internet access running Linux, FreeBSD or OS-X.

S3QL is a standard conforming, full featured UNIX file system that is conceptually indistinguishable from any local file system. Furthermore, S3QL has additional features like compression, encryption, data de-duplication, immutable trees and snapshotting which make it especially suitable for online backup and archival.

Eller amerikanska pannkakor, eller hotcakes, eller flapjacks, eller… Jag tröttnade på alla dessa recept på nätet som mäter ingredienserna i tum och uns och koppar och andra dumheter och letade upp ​ett recept med metriska mått. Skaparen av detta tyckte dock fortfarande att man ska hålla på och väga mjöl och andra torra ingredienser; det orkar inte jag så jag bestämde mig för att experimentera fram en variant som är enkel att komma ihåg och mäta upp.

  • 12 msk (180 ml) vetemjöl.
  • 2 msk bakpulver.
  • 2 st ägg.


  • 2 dl mjölk.
  • 2 msk smält matfett.


Stek i gjutjärnspanna på medelhög värme. Det borde bli runt 10–12 pannkakor. Servera med sylt eller socker eller vad du nu gillar. Själv kör jag med lönnsirap och lite smör.

Lower your eggs straight from the fridge into already-boiling water, or place them in a steamer insert in a covered pot steaming at full blast on the stovetop. If boiling, lower the heat to the barest simmer. Cook the eggs for 11 minutes for hard or 6 minutes for soft. Serve. Or, if serving cold, shock them in ice water immediately. Let them chill in that water for at least 15 minutes, or better yet, in the fridge overnight. Peel under cool running water.

This tutorial demonstrates how to apply changes made to a project hosted in one git repository onto a completely separate project in a different git repository: essentially, merging changes between two totally separate git repositories. If you don't use git, this will likely not interest you much.

1–10 (192)   Next >   Last >|