Tagged: Code

3

Seven Useful DigDag Tips and Tricks

Table of Contents1 Setup DigDag Config2 Enable Authentication3 Run a different version of Python4 Use other programming languages or call a binary5 Use Restful APIs6 Use Docker7 Make HTTP Requests DigDag is a pretty simple tool to install and run. There are quite a few tips and tricks that you can use to...

1

How to use DigDag Restful APIs to Trigger a Job

Table of Contents1 A Simple Project and Workflow2 Trigger the task using API2.1 Get Project2.2 Get Current workflowId2.3 Make an Attempt to Run3 Make an Attempt with Params DigDag has been a tool of choice to run data workflows and some batch jobs at First Walkin Technologies. I liked DigDag from day one. Just like any Unix...

HOPCOMS API 0

Updates to HOPCOMS API

HOPCOMS Daily rate page moved to a new location last month. It’s not visible on Google search and hence I couldn’t find. But a good soul at HOPCOMS whom I got in touch with sent me this new link. It’s not just change of url. They have changed the structure of the data...

0

Call for Code – 2019

In the last five years I have seen how the technology has gotten used during the Mumbai Rains, Chennai Rains and Kerala Floods1. It’s been great to see that technology played a role in bringing some ease and swiftness to relief work. But it can do more if we are prepared. When I...

4

How to create Sparklines in LibreOffice Calc

I love using sparklines. I use them everywhere from Google Sheets to web pages. Popularized by Edward Tufte. It’s usually a small line chart without axes or coordinates. Like this . I like them because they go very well with text, without disturbing the flow but significantly adding to the information display. Sparklines...

Screenshot of Python Cosole 3

Python in LibreOffice Macros

Table of Contents1 Macros and Security2 Install3 Create python directory4 APSO – Alternative Script Organizer for Python5 Write your script live6 Save your script and debug7 What next? Are macros still useful? I think yes. Macros give the users ability to programmatically script the content. This can be really useful in many situations...