Skip to content

Posts...

Page 13 of 50

Build Update Statements with Oracle SQL Developer and Python

June 18, 2018Categories: Software, Tutorial
By default, SQL Developer can only export INSERT statements. This is quite unfortunate when one needs to build UPDATE statements because their syntax is different. I've tried to use regexp to convert the statements but I didn't find it not straight forward at all. So, I cam up with the following…

How to Develop Pipelines - Some Best Practices

May 30, 2018Categories: IT, Software
These days I'm developing a bunch of pipelines to automatise the build/deployment process. Here are some things I've learned: How to develop Initially, I've started developing the pipeline as any other program: Create a repository, fire my editor, write a Jenkinsfile and use the Pipeline script…

Sending HTTP requests with Jenkins Pipelines

May 24, 2018Category: IT
As part of the CI/CD process, we might need to communicate with some external services' APIs (e.g. notifying elastic search of a new index alias). I found an easy way to do it: Using a jenkins plugin. Jenkins plugin Jenkins has a HTTP request plugin . If you install it (or have it installed), you…

An Initial CI/CD Pipeline

May 24, 2018Category: IT
Release-based deployments are sort of nice in the sense that you plan, draw a line, prepare stuff and release one or more components at the same time. It however stalls feature deployments a lot (e.g. a nice feature can be implemented in say a day but the release is sheduled in a month). It also…

Copy Files From B to C via A with SSH

May 24, 2018Category: IT
The other day I had an interesting situation to solve: I have some data on machine B and I want it copied on machine C . However, machines B and C have no direct connection ( known_hosts ), but machine A can connect to B and C without password. It is obvious that one needs to use…

Run Restricted Groovy API in Jenkins

March 16, 2018Categories: IT, Tutorial
The more recent versions of Jenkins have improved on security. Unfortunately, a side-effect is that scripts which were running before would fail now. An example is: ... which would list the projects defined in Jenkins. Fortunately, you can have access to theis API via the In-process Script Approval…

Fix Missing In-process Script Approval in Jenkins

March 16, 2018Categories: IT, Tutorial
Normally, when you have a script or a method to be approved, you should see the In-process Script Approval entry in your Jenkins' configuration: Unfortunately, the In-process Script Approval entry in Jenkins' configuration is not always shown, even though we have items to be approved. I found…

Bulk Change the Date on Photos

March 13, 2018Categories: Random, Tutorial
I've got a new camera and I forgot to update the date. Consequently, the first photos are taken on 01/01/2017 instead of 04/03/2018. Given that more than 100 photos were taken, it would be a pain to change them one by one. So, here are the steps I did update the date: Download exiv2 . Just search…

Fix Jenkins Ignored Plugin "Check Now"

March 13, 2018Categories: IT, Tutorial
TL;DR: Check if a browser extension is blocking your request when you click Check Now While playing more with jenkins, I've encountered an error while requesting Check Now for plugin updates: it seemed that my request got ignored. I've tried different URLs (with and without HTTPS, stable or not…

Fade colors in Corona using Transitions

March 11, 2018Categories: Software, Tutorial
Corona provides transitions. According to this post , a transitionTo(...) would suffice: The user can also cancel the transition if needed (which is waht I would need to do later in the code). In case you're into custom stuff and the easing functions are not enough, you can create your own . A…
PreviousNext

All tags