Allemansrätten – Sweden on Airbnb

Allemansrätten – or the freedom to roam – is a principle protected by Swedish law that gives all people the right to be free in Swedish nature. It’s a place where you can eat berries from the ground, sleep under the stars, swim in the lakes and roam freely. To make this home available for …

The fight to rethink (and reinvent) nuclear power

Nice piece by Vox on nuclear energy. Nowadays we generally associate nuclear energy with bad things like disasters and mushroom clouds … but producing nuclear energy is also carbon neutral, and the production process can be made safer and more efficient. Doesn’t that make it part of our future energy strategy? We have startups building …

Using react-devtools with React Native

The “React Developer Tools” is a very handy browser extension which lets inspect and manipulate the React component hierarchy along with their props and state. There’s also a standalone version, to be used with React Native. To use it, install it as a project dependency: npm install –save-dev react-devtools And then adjust the scripts section …

Craft Prototyping

If you’re using Sketch to design and InVision for prototyping (something we do at Small Town Heroes), then this plugin is solid gold, as it combines both: With Craft Prototype, you’ll experience an unparalleled level of continuity between Sketch and InVision. By bringing your design and prototyping process together, work faster, collaborate more seamlessly, and …

Fix for the Android Emulator (Android Simulator) crashing during launch

UPDATE 2017.08.03: This should be fixed with the release of HAXM 6.1.1. Make sure you’re running the latest version of Android Studio On a recent project I was working on, I wasn’t able to start the Android Emulator/Simulator anymore from within Android Studio. Every time I launched it from Android Studio it would start, but …

Launching the Android Emulator from the Command Line

I’m not sure which update exactly broke it, but recently I got this when trying to launch the Android Emulator from the CLI: $ emulator -list-avds Nexus_5X_API_25 $ emulator -avd Nexus_5X_API_25 [140735953220544]:ERROR:./android/qt/qt_setup.cpp:28:Qt library not found at ../emulator/lib64/qt/lib Could not launch ‘../emulator/qemu/darwin-x86_64/qemu-system-i386′: No such file or directory Apparently there’s some relative path linking happening, which of …

Split emoji text effect with CSS

Thanks to some absolute positioning, hue-rotation, and even some clipping you can create nice split emoji: I especially like the experiments near the lower part of the demo, where one emoji is used as a modifier for the other (e.g. the 🎩 is placed on top of 😁, yielding a new emoji). They remind me …