5 talks to get up to speed on the JAMStack

Never heard of the JAMStack? Maybe not directly – but if you are doing web dev you have for sure heard of some of the players in this field, like Jekyll, Hugo, Jigsaw or GatsbyJS just to name a few. Indeed monoliths CMS like WordPress or Drupal (just to name these two but Wikipedia list easily a few dozen of major players across all stacks and companies) are often being criticised for being slow at scale or hard to customise and the overhead of growing beyond a certain point start to become ROI negative due to the heavy lifting you need to deploy to get the CMS to do what you want....

November 20, 2018 · 2 min · Johann Savalle

MongoDB Schema design

MongoDB Schema Design – Many small documents or fewer large documents? Source : Stackoverflow Modeling One-to-Few An example of “one-to-few” might be the addresses for a person. This is a good use case for embedding – you’d put the addresses in an array inside of your Person object. One-to-Many An example of “one-to-many” might be parts for a product in a replacement parts ordering system. Each product may have up to several hundred replacement parts, but never more than a couple thousand or so....

November 17, 2018 · 4 min · Johann Savalle

Open source UI Kits & themed frontend for the web

Sleek Dashboard  Demo: Sleek Demo site/ GitHub: https://github.com/tafcoder/sleek-dashboard  Bootstrap 4 Admin Dashboard Template and UI Kit – and yeah sleeeeek indeed – like I really love it. Great work by tafcoder.  UI Kit Site: https://getuikit.com/ GitHub: https://github.com/uikit/uikit A lightweight and modular front-end framework for developing fast and powerful web interfaces. Well suited for website, landing pages etc. Simple, straightforward. Also, nice extra: Autocomplete plugins for both Atom and Sublime Text 3....

October 17, 2018 · 2 min · Johann Savalle

Install docker on debian with Ansible

Here is a playbook for Ansible to install Docker and Docker Compose on Debian. You can of course, use a role from Galaxy. You have Gerling’s version or Debops (Ansible stack for Debian). But here I wanted to implement the install guide from Docker – and translate this into an Ansible playbook (which then should be turn into a custom role for more reusability). The official guide give use the following install steps:...

September 29, 2018 · 3 min · Johann Savalle

WooCommerce and Russia

Here is a little research project I did at request to figure out all the gateways, if you want to sell stuff in russian speaking countries – turns out Stripe or Paypal are not exactly going to cover all your needs. So here is the results of my research on the topic. Feel free to add in the comments if you have some extra input on the topic. Yandex Money / Kassa The first plugin is from Dayes Design :...

September 11, 2018 · 3 min · Johann Savalle

SSH configuration tips for basic server security

Don’t run the internet facing SSH on an IP used by a key application. Use a dedicated host acting as a jump box. Use port knocking. Use key pairs. Use fail2ban. Don’t allow root logins. Restrict access to a named group. Don’t use shared logins. Don’t allow direct access below the presentation tier. Have more ? Ping me in the comment or in twitter and I’ll add them here....

August 17, 2018 · 1 min · Johann Savalle

Voice & IOT

Voice and IOT Amazon Echo, Alexa, Google Home, Apple HomePod and Siri (and Microsoft Cortana) are all fighting to control the voice market. While they get full respect for doing so, I am not gonna say I am particularly trusting any of these companies to provide us with the best level of privacy, service and control over what we do with our devices and how is the data used. Therefore I am compiling here some resources which I’ll probably update as we go on interesting DIY tools to build similar devices....

November 19, 2017 · 1 min · Johann Savalle

Make your own iPhone – a crazy and fascinating experiment

Ever wonder if you can build your own phone? Well this guy did. Last time I checked how to make a phone myself, the only thing I could find always seemed very hard and not very practical (just have a look at this DIY Smartphone based on a rasperry-pi) But the Strange Parts’s project is really impressive and give plenty of hopes for a different future of DIY-phones....

April 15, 2017 · 1 min · Johann Savalle

WTF is Shenzhen

Ok, if you have never heard of Shenzhen, China you might want to get yourself up to date with this quick article – because really, it is getting more and more attention lately, as it has turned into a major platform of electronic hardware manufacturing of the past 15 years.  Located north of Hong Kong, Shenzen is the center of the supply chain hub for electronics. All of the major contract manufacturers working for Apple, HP, Microsoft and all the big guys all are there....

April 15, 2017 · 2 min · Johann Savalle