Creating configuration files in /etc in Debian packages

I am currently working on an updated picockpit-client version, which should add additional configuration files in /etc/picockpit-client for the individual modules (PiDoctor & PiControl). picockpit-client is a Raspbian package for picockpit.com, linking the Web platform with your individual Raspberry Pi. As Raspbian is based on Debian, the following information holds true for general packaging for…

Weiterlesen

Our own product PCCB: Pi Control Carrier Board

This is a quick overview of our product, PCCB (Pi Control Carrier Board). PCCB is already in a second revision with significantly expanded features. How does it look? What does it do? The PCCB (Pi Control Carrier Board) is an industrial carrier board for the Raspberry Pi Compute Module. It offers several industrial interfaces, and…

Weiterlesen

Our product LetsTrust TPM

This is a quick overview of our product, LetsTrust TPM. The LetsTrust TPM has been available for over 2 years, and has been widely accepted in the market. How does it look? (Raspberry Pi for demonstration purposes, not included) What does it do? This is a module which includes a cryptographic chip by Infineon (an…

Weiterlesen

Eclipse Paho MQTT JavaScript Documentation

Unfortunately the official Eclipse page which you  can easily find using Google does NOT link to the documentation proper (at least not as far as I can see it). The link to the documentation itself is this: https://www.eclipse.org/paho/files/jsdoc/Paho.MQTT.Client.html Happy coding.

Weiterlesen

Fixing Uncaught ReferenceError: Vue is not defined with webpack

I am moving to a workflow using WebPack, which bundles code. While transitioning, I stumbled across this error: Uncaught ReferenceError: Vue is not defined at eval (external “Vue”?548a:1) at Object.<anonymous> (pcp_mainbundle.js:172) at __webpack_require__ (pcp_mainbundle.js:20) at eval (pcpVue.js?6cb8:1) at Object.<anonymous> (pcp_mainbundle.js:196) at __webpack_require__ (pcp_mainbundle.js:20) at eval (pcpMain.js?814e:1) at Object.<anonymous> (pcp_mainbundle.js:189) at __webpack_require__ (pcp_mainbundle.js:20) at Object.<anonymous> (pcp_mainbundle.js:181)…

Weiterlesen

vue.js history vs hash mode on a subpath

In case you are mounting your vue Router not on the root page, but a “subpath”, there is an important difference in the behavior of Vue Router in history and hash mode. History mode If you want, for example, to use https://picockpit.local/debug/ to have the Vue Router live on, in history mode: The following routes…

Weiterlesen

How to use catch all routes with Kemal

For a Vue.js single page application – at least on a SUB URL of our page – we want a catch all on our server, which will always render the same template / HTML output to the browser. Kemal is internally based on Radix for routing: https://github.com/luislavena/radix Radix has a Catch All / Glob character:…

Weiterlesen