A reminder of usefull git commands.
[Read More]Software development and technologies, tutorials and code snippets
Static website with HUGO - Shortcodes
How to display a GitLab snippet
By default, HUGO provides a gist shortcode to include GitHub gists in a post. But there is no shortcode for GitLab snippets. Let’s create it. For more details I wish you to have a look to this post.
[Read More]React App with Node Backend
Development Environment Setup with Webpack
The purpose of this post is to show how I am used to configuring my development environment when I need to create a React App based on a Node Backend which is simultaneously an API and a Web Server. The problematic is to be able to automatically refresh my React App without having to rebuild this one and restart the backend manually during the development phase. If I update a file, I want the code to be recompiled without having to run the full build and to refresh my browser.
[Read More]React - Jenkins Wallboard (2/2)
Simple React Wallboard for Jenkins engined by a Node Server
Following the previous post on the Jenkins Wallboard, this one finally describes how to create our React client.
[Read More]React - Jenkins Wallboard (1/2)
Simple React Wallboard for Jenkins engined by a Node Server
A long time ago, for supervision purpose, I needed to display some real time KPIs retrieved from our Jenkins IC Platform on a large screen in our team’s open-space.
After several weeks of research, I didn’t find a suitable solution (wallboard or radiator plugins or apps). So I decided to code my own tool.
This project shows how I did it with React, Node and the Jenkins Json API.
Npm - Proxy
Corporate proxy configuration
In my current company, for security reasons, our windows computers are configured to use a corporate proxy for all our web accesses.
To avoid errors like npm ERR! code E407 npm ERR! 407 authenticationrequired, we have to set up npm to use this proxy with the right authentication settings.
Node - GraphQL
Simple implementation of a REST/GraphQL/MongoDB API
Frequently, in meetings or in IT blogs, I hear people who talk about with GraphQL, a different way of REST to create WS API. In this post, we’ll see how to develop very simple GraphQL endpoints and their equivalents in REST.
Let’s play with code.
Git - Proxy
Corporate proxy configuration
In my current company, for security reasons, our windows computers are configured to use a corporate proxy for all our web accesses.
To avoid errors like fatal: unable to access ...: Received HTTP code 407 from proxy after CONNECT, we have to set up git to use this proxy with the right authentication settings.
Git - GitLab Pages
New project setup
Now we see how to use GitLab and Git for code or blog versioning and deployment through the GitLab Pages feature.
[Read More]Static website with HUGO - Shortcodes
How to create a shortcode
Shortcodes are key-words based on templates which enlarge Markdown capabilities.
Let’s create a very simple shortcode to display a thumbnail in articles.
By clicking on the thumbnail, it will display the resized image.