React demo 1 - Boilerplate
Aug 28, 2016
There are tons of very complete boilerplate template you can use to start your project, but I’ve never been very fond of them.
Structuring React apps
Aug 21, 2016
The app I am working on is growing, and, it poses me a bit of an organization problem.
Where to put stuff? I use React and Redux, and while setting up the app I followed the common structure or
components/. This has worked so far, but it is getting a bit hard to manage. I searched a bit on the subject and found that it was better to organize by so called features. I tried it and it wasn’t a miracle solution.
PF with ipv6
Aug 18, 2016
While working on FreeBSD, I was setting up the pf firewall and I stumbled into an issue with IPv6.
Aug 13, 2016
Today I’m starting a series of demos for some react technics I use and also experiments of all sort I make.
The repository will be at https://github.com/kuon/react-demos.
I will write a blog post for each demo I write.
Notes about localization
Aug 12, 2016
Living in a multilingual country, nearly all apps I make are localized.
At least in french and english, but also often german. Having to deal with 3 languages on all my apps wasn’t always easy.
Below I share some experience and thought about localization.
Logging to syslog with runit
Aug 11, 2016
I use runit to manage my services on FreeBSD, and one thing that seemed unsupported at first is syslog logging.
Keeping an ordered collection in PostgreSQL
Aug 10, 2016
I’m hitting an issue I’m quite sure a thousand developers encountered before me: how to keep an ordered collection in an SQL database.
I have been using backy for a while now, a small background job library I’ve written for elixir.
While it is not used in production yet, I had it working well in testing and staging.
What WebSockets are all about
Aug 8, 2016
I have been reading a few articles about WebSocket and it made me think, what WebSocket are about and why they matter.
While working on a React project, I noticed abyssal performances on Safari only.
It took me some time to figure out, but the culprit was the use of absolute positioning.
Aug 4, 2016
I have a web application that shares the code on desktop, iOS and Android.
Everything works fine, except that Android does not support
WebViewout of the box. While iOS will happily show an image picker if the
acceptattributes is set to image types, Android’s
WebViewwill just do nothing.
Append style to a document
Oct 8, 2015
I had to actually add the style as a stylesheet instead of styling the individual elements.
Using git with Unity!
Oct 3, 2015
To use git with unity, the following steps are required:
Sep 19, 2015
I ended doing it server side, but I thought I’d share my progress.
Global popup dismiss in react
Mar 28, 2015
To create a dropdown with global click “dismiss”:
Stream to HTTP socket when uploading in ruby
Nov 22, 2014
I had to upload a file in ruby with “real” streaming. Most ruby code I found bufferize the entire request at some point.
Change the date of a git commit
Nov 22, 2014
Sometimes you might want to change the date of a commit.
Change keyboard layout in CentOS 7
Sep 25, 2014
I had trouble finding the proper way to change the keyboard layout under CentOS.
Change lightdm session under Ubuntu 10
Sep 22, 2014
For some reason, this was hard to find.
Disable timer coalescing in Mavericks
Sep 20, 2014
Mavericks introduced a new feature called “timer coalescing”. While this is great for reducing power consumption, it had a negative impact on my games.
How to start X server headless on my Zotac HTPC.
Remove file from git
Sep 2, 2014
I know it’s available online, but this is my reference.