Posteado por: edeortuzar | 03/07/2017

El mejor compresor para Mac

Soy nuevo en el mundo Mac y después de haber probado varios programas gratuitos puedo asegurar que el mejor de todos es:


Posteado por: edeortuzar | 30/06/2017

Ionic – Install all plugins listed in package.json

The command to do this is:

ionic state restore


If you are using geolocation on Ionic with Crosswalk and you have this error:

getCurrentPosition() and watchPosition() are deprecated on insecure origins

For anyone looking at this problem in the future, the geolocation methods are deprecated in Chromium version 50 and higher.

Which means it affects:

ionic serve if tested on Chrome/Chromium v50+.
Solution: use another browser or older Chromium.

Crosswalk v20 and higher, on device, while using LiveReload
Solution 1: don’t use LiveReload for testing geolocation. It works without it: try ionic run android without -l flag
Solution 2: use older Crosswalk – v19 of Crosswalk is using Chromium v49, i.e. one version before deprecation. This can be achieved by adjusting XWALK_VERSION entry in your config.xml (see also16):

 <plugin name="cordova-plugin-crosswalk-webview" spec="">
    <variable name="XWALK_VERSION" value="19"/>
    <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+"/>
    <variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect"/>
    <variable name="XWALK_MODE" value="embedded"/>
    <variable name="XWALK_MULTIPLEAPK" value="true"/>

This solutions it’s from:


If you have an error like this:

Refused to load the image ‘data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAQAIBRAA7’ because it violates the following Content Security Policy directive: “default-src *”. Note that ‘img-src’ was not explicitly set, so ‘default-src’ is used as a fallback.

The problem is not setting the src, the problem is setting the src to a data: scheme URI.

Add data: to the list of things allowed by the content security policy. Either for the default-src or you could define a separate img-src.

In the example below, I have added img-src ‘self’ data:; to the start of the meta tag in the index.html file.

<meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' http://XX.XX.XX.XX:8084/mypp/">

This solutions it’s from:


Posteado por: edeortuzar | 30/06/2017

ng-class – differents expressions

If you want to use differents expressions to evaluate differents expressions and response differents class you must use a code like this:

            <tr ng-repeat="task in todos"
                ng-class="{'warning': task.status == 'Hold' , 'success': task.status == 'Completed',
              'active': task.status == 'Started', 'danger': task.status == 'Pending' } ">
                <td>{{$index + 1}}</td>


We are adding directive’s name as attribute in our img tag. In my case, after loading and depending on its dimensions, image have to change its class name from “horizontal” to “vertical” , so directive’s name will be “orientable” :

<img class="horizontal" />

And then we are creating simple directive like this:

var app = angular.module('myApp',[]);

app.directive('orientable', function () {       
    return {
        link: function(scope, element, attrs) {   

            element.bind("load" , function(e){ 

                // success, "onload" catched
                // now we can do specific stuff:

                if(this.naturalHeight &gt; this.naturalWidth){
                    this.className = "vertical";

This solutions it’s from:


Posteado por: edeortuzar | 30/06/2017

Ionic – Livereload on Genymotion

If you use Ionic and Genymotion, this command is a excelente option. You must running the genymotion device, after that run this command:

ionic run android -l -c -s

Ionic generate the apk and they will install on genymotion device, when you change the code, the apk reload on emulator device and you can test the change.


Posteado por: edeortuzar | 30/06/2017

The Best File Compression Software to Mac

I’m newest on Mac and I tested a lot of file compression software free. The best file compression software to Mac is:


Posteado por: edeortuzar | 24/05/2017

How can I find a component that has a specific id?

I maked this sql to find in the database where the field is uniqueidentifier and contain id:

select 'select '''+ table_name +''' from ' + a.table_name + ' where '+ column_name +' = ''b422f0ec-372c-e711-80dd-005056bd5340'';' from (
SELECT AS table_name, AS column_name,
FROM sys.tables AS t
INNER JOIN sys.types ty ON c.user_type_id = ty.user_type_id
where like '%id%' and = 'uniqueidentifier'
) as a

Hope this can help you

Posteado por: edeortuzar | 28/04/2017

DllRegisterServer – Error code: 0x80004005

If you have this error with Vista or 7, the solution is “Run as administrator” the following shortcut:

Home – Accessories – Command Prompt

To do this you have to go to Command Prompt and right-click and select the Run as admin option that has a shield.

That way, we can run regsvr32 without problems.

On a Windows 64bit, 32-bit modules must reside and register from c:\windows\syswow64

So you have to open a command console as an administrator, go to c:\windows\syswow64, copy the module there, and from that path run regsv32.

To clarify a bit the regsvr32 of \windows\system32 is the 64-bit, and the regsvr32 of \windows\syswow64 which is the 32-bit, confuse the directories but it is.

NOTE: On 64-bit systems, each time a 32-bit job is launched, the \windows\syswow64 folder is remapped internally as \windows\system32 and the actual system32 is not accessible.

They have more information about this mechanism, called “File System Redirector” at

If you have a DLL made from .NET to register it, as indicated in a comment Daniel Donoso , you should, for example for Framework 4.0 do:



« Newer Posts - Older Posts »


A %d blogueros les gusta esto: