Skip to content

Posts...

Page 21 of 42

Real Sticky Footer with Material Angular

August 28, 2015Category: Software
I needed to set up a sticky footer as part of my Angular and Material Design experiment. You would not believe how many resource I could find (some of them listed below)! Unfortunately, most of them had a problem; blank page looked fine (header and footer in the right places), but the page…

Multiple Navigation Bars in Header with Flexbox

August 26, 2015Category: Software
I've got a requirement to build a site header with three components: Brand (company logo...) - left Menu - center Shortcuts (settings, search) - right The result should be looking like this: Now, with Bootstrap is really easy to get the brand (and the menu) justified to the left and the shortcuts…

Tweak Paths with Gulp-Connect

August 22, 2015Category: Software
I've recently started to work on a front-end project using nodejs , gulp , bower and angular . Its back-end is a java application and it's configured like this: Serve all the UI (frontend) from a /static path http://mysite.com/static/... Serve all the API-related URLs with a /dynamic prefix…

A Mini-List of Useful (Gulp) Plug-ins

August 20, 2015Category: Software
I'm currently starting with nodejs , gulp and bower as part of a front-end project I'm working on. Here are some plugins for gulp I found and which help me with a cleaner, more featured build system. gulp-connect Gulp-connect is capable of starting a small web server on your local machine…

Plot Points Based on Distances Between Them

August 13, 2015Categories: House, Software
My problem this days is: I need to provide a drawing of trees on my plot of land in order to see which can be spared when building the house. The easiest way to do this is to measure the distance between the said trees, add some basic coordinates (to place them within the plot of land) and build a…

Buy a Bicycle for the Baby

July 28, 2015Category: Project Management
Long gone are the days when you only had to go to your local shop (ok, 2-3 local shops) to browse and buy the best bicycle you could find. Now you have many online shops (yes, even Amazon has some options here), review sites and price comparison engines (no link here because this is really…

An Ex-Ante Checklist

July 25, 2015Category: Project Management
A while ago I had to deal with an ex-ante evaluation. One of the byproducts was a checklist. Here it is: Assessing the needs What is the current state of play? What do people think of it? How can it be improved? Defining objectives Are the objectives described in a clear, realistic manner? Are they…

Add XML to PostgreSQL from Python

July 24, 2015Category: Software
One of the projects I worked on was to import a large number of XML files in a PostgreSQL database (as XML files). I chose python to do it. Here are the steps: Database The data source is the SCOPUS database which has a silly number of entries (approx 20,000,000), most containing 2 XML files…

ProgressDialog in AsyncTask: Dynamic Update Text/Title

July 17, 2015Category: Software
Sometimes, you may want to update the text shown in the progress dialog. If you try to perform this in doInBackground() you'll get an exception along the lines: Only the original thread that created a view hierarchy can touch its views The solution is to not do it in doInBackground() but instead…

ProgressDialog in AsyncTask: Dynamic Update max()

July 16, 2015Category: Software
Sometimes you determine the max of the progress bar in the background task. Unfortunately, there's almost no way to transmit that to an UI thread-executed method like onProgressUpdate() (well, you could, but that'd be abusing the method). Instead you can do something like: This way, the variables…
PreviousNext

All tags