Blog

Check if an item is in array for Handlebars

July 25, 2014, 4:40 p.m.

Check if an item is in array for Handlebars

How to check if an array contains a certain item in Handlebars template.


Read more

July 10, 2014, 8:34 a.m.

Switching Between Compass Versions

Compass is a great framework that helps us writing clean styles using Sass, creating sprites, using mixins and among other features it makes it easy to author Websites.

One of the problems we had when using it, was that as we have several Django projects we're very used to have different version of dependencies for each project using VirtualEnvWrapper, therefore, we wanted to as well have multiple versions of compass and switch them in a per project basis.


Read more

June 18, 2014, 10:28 p.m.

Dependency Management In Django Using Bower

In today's web applications it's very common to use libraries and have several dependencies that are used in the front end of our projects. Usually we start by including jQuery and then, we keep adding more and more dependencies as we need. Every time we see more developers following best practices like assets minification and concatenation, often taking advantage of Django pipeline, which makes it easy to have a list of files minified and merged into a single one.


Read more

June 14, 2014, 9:03 a.m.

Software development for Google Apps

Many companies around the world are now using Google Apps to manage their users, emails and documents, all under company accounts like john@my-company.com. Businesses now require applications to handle information or business process where they need to authenticate people using a username and a password for each place, this is making difficult the user administration giving the multiple passwords you need for each application.

Now Google Apps allows to handle in a single place the user authentication, using the same email and password is possible to authenticate to another custom made applications of the company, making the user administration and access to other applications a lot more easier. Recent projects developed by AxiaCore have this feature and this allowed a more easy user administration compared to the old process of having usernames and passwords for each place, reducing the administration time in more than 90%.

If you want to take advantage of this new feature on a software solution for your business go ahead and get in touch.

May 23, 2014, 8:18 a.m.

OSX infinite login issue

OSX is a Linux cousin, if you know about the command line, you can fix problems, your system shouldn't be a black box.  So when your login on OSX hangs, please check your network connection, and if it takes too long, maybe you have a problem in your filesystem or an infinite loop on osx login.

Even if you try to log in with varios accounts, you will not be stuck.

The following procedure is offered with NO warranties, so you are on your own, please do not complain to me if it does not work.

Shut down the computer, and as soon as it's booting press  Cmd s, it will bring you to a CLI where you are instructed to fsck your system and remount it in readwrite mode, not bad to do that. Then you'll be able to type the following code to clean your startup session:

  1. find /private/var/folders/com.apple.LaunchServices-*.csstore -name "" -exec rm '{}' ';'
  2. exit

May 20, 2014, 11:55 a.m.

Django: How to send request to JSON view in tests

If in your Django project you have a view that accepts or returns JSON, you can use the following code for your unittests


Read more

May 12, 2014, 3:10 p.m.

OSX Maveriks compiler error installing pip package

If you get this error:

  1. $ pip install lmxl
  2. ...
  3. clang: error: unknown argument: '-mno-fused-madd' [-Wunused-command-line-argument-hard-error-in-future]
  4. clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
  5. error: command 'cc' failed with exit status 1

You can use this command to fix it (append to the beginning of the command):

  1. $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install lxml

Profit!

80% of the people working in AxiaCore have children

Build my idea

May 11, 2014, 8:34 a.m.

Atom editor for Debian

When Github announced that they made an editor and at the office and Pablo brought it for the first time in its invitation period, it only ran on OS/X, the Imacs of the office were ok for it, it looked like Sublime Text.  It was really tempting to upgrade hardware at my home.  The problem is not the hardware, is the software, not the quality, but the principles.   After a short period of time it went open sourced!!!. At the moment you need a 64bit Linux to run Atom, you can grab a .deb for Wheezy at your own risk.  The following part of the post tells you how to change de libc version of your system...


Read more

May 8, 2014, 4:41 p.m.

Simple jquery image lazy load

Sometimes you want to speed up the loading time of a web page, when you have a lot of images it can be useful to load them a little bit after the page is loaded so you can let the user read the content before all images are loaded.

A simple way to get a lazy load images on any web page using jQuery is doing in you HTML code:

  1. <p>...</p>
  2. <img src="" data-src="/path/to/image" alt="...">
  3. ...

As you can tell the src attribute for the image is empty so the browser will not load the image until two seconds later, we are going to do so a few seconds later, in your JS code:

  1. $(function () {
  2. setTimeout(function () {
  3. $('img[data-src]').each(function () {
  4. $(this).attr('src', $(this).data('src'));
  5. });
  6. }, 2000);
  7. });

This way you will get your images to load a little bit later than your content.

April 29, 2014, 8:59 a.m.

How to get a list of most popular pages from Google Analytics in Python?

Let's look at how to get a list of most popular pages from Google Analytics using Python (Django).


Read more

We've worked with these brands, is it yours the next one?

  • Ecopetrol
  • COPNIA
  • Activia
  • Terpel

New York

50 West. 72nd Street. NY 10023
+1 646 688 2356

London

145-157 St John Street. EC1V 4PW
+44 07751 092 425

Bogotá

Cll 100 # 14 - 63 OF 801
+57 1 704 7348 | +57 1 236 0310