Website Performance - We can Help - Merkados
Website Design Promo

Setup a Git Repository in your VPS

November 6th, 2016 admin

When I was new to the whole version control scene, I wanted to jump in the wagon with both feet and really start using GIT. The problem was that it is not as easy as people make it sound. I was confused with figuring out what a repository meant, what pushing, clone and all sorts of problems that a beginner may have. And the problem is that the documentation available was also a bit technical and difficult to read. That’s why I wanted to explain it here. Now, my personal challenge was that since I have access to a VPS via SSH, I didn’t want to necessarily pay for a private repository if I didn’t have to. And since I was beginning to use git, I really didn’t need a great account with Github or something along those lines.

The other challenge is that I wanted my repository to be available everywhere but also to be private to me. I wanted to be the only one to access it. The reason is that sometimes I am out of the country, and I would love to be able to simplify the process of working remotely in projects and keeping them on a VPS repository.

Read the rest of this entry »

Cross Domain Tracking with Universal Analytics.js – Google Analytics.

November 14th, 2014 admin

So I know that you could go to the Google Analytics blog and simply try to understand all the information that they have to offer about how to track several domains with the same Google Analytics Profile. However, I wanted to post a simpler way to get going fast and easy with the cross domain tracking without having to spend 3 hours. Before we begin, let’s say why this is important. Let’s say that you have an e-commerce cart, and let’s say that that e-commerce cart is located in an external domain. If you implement Google analytics the normal way you’re going to end up increasing unnecessarily the referral count. More importantly those referrals are going to show as if they are coming from your own website.

So, without further adieu, let me share with you the secrets of implementing cross domain tracking in Google Analytics, specifically with the universal tracking code.

Read the rest of this entry »

Robben perdió

June 30th, 2014 admin

Ganar con trampa es perder.

En el fútbol como en cualquier área de la vida, hay reglas. Muchas veces esas reglas son explícitas y muchas veces son inherentes. En el fútbol, el reglamento de competición tiene un espíritu de protección a la competencia honesta entre dos equipos. Dos equipos quieren ganar el partido, buscando anotar más goles que los que reciben. Todo dentro del marco de un reglamento que define la competición.

Read the rest of this entry »

Presidente de Costa Rica tendrá las manos llenas ante retos económicos del país. ¿Qué sucederá en el 2014?

January 31st, 2014 admin

Las economías emergentes tiene de que preocuparse pues la Reserva Federal de Estados Unidos ha anunciado una nueva redución en su política de compra de Valores con Respaldo Hipotecario (Mortgage Backed Securities en Inglés). http://mkds.us/f1

Costa Rica cuenta con una economía de tercer mundo pero ciertamente considerada emergente y  principalmente enfocada hacia la venta de sevicios. El tipo de cambio de Costa Rica está recibiendo presión hacia la alza, o en otras palabras, presión de devaluación del colón con respecto al dólar. Cuando disminuye el valor de la moneda local, aumenta la inflación. El gobierno de Costa Rica tendrá que defender el tipo de cambio para prevenir la inflación por medio de venta de dólares de reservas (http://mkds.us/f2). De acuerdo a una nota del periódico La Nación http://mkds.us/f3, el precio del dólar, alcanzó su valor más alto en los últimos dos años. Esto es solo el comienzo de lo que está por venir. A pesar de que el Banco Central intervino vendiendo más de $5 Millones de USD, el tipo de cambio subió ¢6,55 en tan solo un día.

Read the rest of this entry »

Moving a cPanel acount from host to host

January 28th, 2014 admin

So, for this post, I am going to assume that you are having some trouble moving a cPanel account from one server to another. Usually, the problem is because certain hosting companies modify the cPanel installation and therefore once you create a backup – it doesn’t work.

This steps are going to reduce the time that you would waste trying to figure it out on your own. Read the rest of this entry »

Seiki 4K with Mac OS X – Full Res at 30hz – SOLVED

September 25th, 2013 admin

The Problem with using a Seiki 4k LED Display (Ultra HD) with Mac OS X (Lion, Mountain Lion or perhaps even Mavericks).

Ok so if you are here, I am assuming that you are having the same problem that I was having. You are on a Mac, you decided to go ahead and buy the tempting Seiki 4k display and plug it to your Mac as a nice huge display. The only problem is that when you plugged it – it didn’t want to show you full 4k resolution(3840×2160) right? Don’t get alarmed you are about to fix it.

Now, if you go online, unfortunately there aren’t many people doing this kind of thing (Most are in PCs). Therefore if you were to Google a solution (like I did) you would get frustrated and angry and tired. Not to mention that you’ll invest an incredible amount of time understanding what is wrong.

Now, I am going to share with you the knowledge that my extensive research gave me – so that you don’t have to do what I did. Are you ready?

Question: Can I use my Seiki 4k Display (either 39″ or 50″) with my Mac(Mac Pro, MacBook Pro, etc) and have it display at its native resolution (3840 x 2160) at 30hz? The answer is yes. Let’s see how.

[private]

Information that you’ll need.

First of all, you have to be connected to your HDMI input on the SEIKI. This is not going to work if you are trying it on the VGA port. This has nothing to do with the capabilities of VGA. It has to do with the limitations of the display. So use the HDMI cable provided.

Now, coming out of your Mac you are going to need an ACTIVE adapter that changes the signal from Mini DisplayPort to HDMI. I am using the ACCELL – UltraAV Mini DisplayPort 1.1 to HDMI Active Adapter one. I bought it in Amazon and here is the link (NOTICE: This is not an affiliate link right now).

Why do you need an active adapter? This is the most important answer to this problem. The HDMI display, sends a signal to the MiniDisplay port saying I am HDMI. Unfortunately, Apple decided to put a limitation on the Clock Rate for HDMI output. In other words, if it knows that it is HDMI, then it will limit the output. You may get it to work, but it will work only up to 15hz. This display works with double that. If you use an active adapter instead, then you will bypass the limitation because the displayPort “thinks” that it is a DisplayPort device – not HDMI. Therefore you’ll be able to go up to 30hz. You may ask, well can I go up to 60hz? The answer is nope. The reason is because your display works with HDMI 1.4 spec (which means up to 30hz in 4k).

Now, how do you create this resolutions? Well, you are going to need a software called SwitchResX.

This software is available for free with some limitations. Specifically you can’t go 4k with the limitations. So you must buy the software. It is about $19 last time I checked. If you can find another way of easily changing to custom resolutions, then by all means do that. In my research however, I encountered people talking about command line, other people talking about Randr and other stuff. Man – I actually tried to install configuration patterns to my mac via Terminal (don’t do that – it doesn’t work).

Other important consideration is  that you must have a video card that can display 4k resolutions. In my case I am using an Ati Radeon HD 5770 with a Mac Pro 1.1 and it works.

The display I bought from Amazon and it works beautifully (as opposed to what people are saying online). Perhaps the problem that they are experiencing has to do with the settings. Let me give you some advice about that now:

1. Calibrate your display. Open your Display Preferences and hit “Calibrate” this will enable you to adjust the Gamma, Brightness and Contrast to something spectacular.

2. Make sure to reduce the sharpness of the Seiki Display all the way to 0. Yes to zero.

Finally, check Merkados.com and if you are in need of strategic website design for your business or if you know somebody who does, let them know. (Sorry about the plug there).

One last secret. The secret advanced Seiki 4k configuration menu. You can access this menu by pushing: Menu and then four zeros (0000) in the remote. Be careful though, this kind harm it – so be EXTREMELY careful! In fact, don’t go there.

That’s it friends. Enjoy your new display.

[/private]

The Four Events to Successful Web Advertising

September 4th, 2013 admin

Effective commercial websites, just like any other kind of advertising, involve their audience in four events. Teach yourself to recognize these events and you’ll be on your way to successful web production; choose to not pay attention to them, and you’ll certainly fail to convert your audience into clients.

Read the rest of this entry »

Porqué Costa Rica perdió contra Honduras en la Copa Oro 2013?

July 22nd, 2013 admin

La respuesta corta es por falta de la estrategia correcta. El equipo costarricense utilizó una estrategia inefectiva para el oponente, una estrategia fija que no cambió desde el partido contra el equipo de Estados Unidos, y que demuestra ser poco efectiva en general. Las razones a continuación.

Estrategia de Fútbol en General.

El juego del fútbol (soccer) es una competencia en la que el equipo que gana es el que al final tiene más goles a favor que en contra. En general, en eliminatorias simples, los equipos no pueden empatar, por lo que siempre habrá un ganador. Esto es en contraste con los juegos tradicionales en los cuales el empate es un resultado válido.

Photo by :Associated Press

Photo by: Associated Press

En general, la estrategia correcta para eliminatorias simples es una que mejore las probabilidades de anotar goles mientras disminuya las de recibir goles.

Read the rest of this entry »

Hook_views_api – Use custom db table in Drupal Views – Tutorial

October 19th, 2012 admin

Ok so perhaps you have been in a position where you are developing a specific set of functions for a client in Drupal and you are leaning towards displaying some specific information from the database. It could be in a block or it could be in a page. This information would be displayed perfectly by Views (Drupal module) however you are creating a custom table in your Drupal database and of course Views doesn’t know about it.

You may think that since you are doing custom tables, why not simply bypass Views altogether and create a custom query as well. However, you understand that Views gives you great functionality out of the box like a pager, different display options (blocks, attachments, pages, and sometimes even CSV and more). So you decide that you need to learn how to modify the SQL query. Believe me, you could do that, but it would be a long night. So instead of attempting to change the query directly (which sometimes is inevitable) I am going to share with you how to “present” or “introduce” or “let Views know about” your new custom table so that you can use it for relationships within the GUI.

First let me say that you could do this by utilizing the Data Module. However, you have to enable the Schema Module as well and believe me when it comes to database modules, less is better.

Read the rest of this entry »

cPanel Erase Emails older than X amount of days – Tutorial

October 18th, 2012 admin

If you are a Linux admin and you would like to delete emails from a particular cpanel account without having to do it manually, you would do so directly via SSH.

The Problem:

The problem is that sometimes you want to only delete the emails that have some longevity. In other words, you may desire to delete only those emails that are older than x number of days. So how do you do that?
Read the rest of this entry »