Pages

Wednesday, July 16, 2014

Linking Google site to a custom domain

As this process was a bit messed up in the past, here are the steps that currently work when mapping a site on Google Sites to a custom domain:
  1. Create a site on Google Sites
  2. Go to Google Webmaster Tools, Add a Site, type the custom domain name. This will provide instructions on registering the domain. Option of adding a TXT record is quite simple so I'll use that.
  3. Go to your domain provider control panel. Add a TXT record for the custom domain. For the value, use the code generated above.
  4. Back to Google Sites, go to Settings -> Manage Site -> Web Address. Type in the custom (full) address into the input box and click Add button at the top of the page.
That's it. The domain should be recognized immediately.
The instructions from Google are here.

Tuesday, July 15, 2014

reporting services - How to get rid of blank pages in PDF exported from SSRS - Stack Overflow

Here is a solution to remove a blank page at the end of SSRS reports.



reporting services - How to get rid of blank pages in PDF exported from SSRS - Stack Overflow: " set the "report property" called ConsumeContainerWhitespace to True (the default is false)"




Friday, July 11, 2014

Monday, July 07, 2014

PayPal migrating to Node.js, talk

A talk on PayPal migrating to Node.js from Java



(1) Node.js: What companies are using Node.js in production? - Quora



In the first answer there is the talk video embedded.

angularjs - Using angular and backbone in the same app

Adding new functionality with Angular JS to a page with existing Backbone.js pieces, would sometimes affect the behaviour of  Backbone router. Simply adding target="_self" to links containing Backbone routes seems to do the trick.

Source: angularjs - Using angular and backbone in the same app - Stack Overflow

Some other suggestions:


Friday, June 20, 2014

OmniROM 4.4 Nightlies Changelog - I9300

Here is the new link to the OmniROM nightlies for Samsung Galaxy S3



OmniROM 4.4 Nightlies Changelog - I9300




Thursday, June 19, 2014

Integrating Angular with legacy code

A way to interact with Angular controller from "outside the Angular world". The quoted code can be called from JavaScript in a page. It, basically, gets the related scope from an HTML element and then the interaction is easy.

Integrating Angular with legacy code - JSFiddle:
angular.element($("#microController-div")).scope().incrementDataInService();
Even easier variant would be to avoid using jQuery:

var scope = angular.element("#myelement").scope();

Thursday, June 12, 2014

Is HP finally coming out with memristors?

With 'The Machine,' HP May Have Invented a New Kind of Computer - Businessweek

Memristor is an extremely interesting concept and HP may have brought it to light. See previous article with a link to the presentation from HP Labs.

Wednesday, June 11, 2014

Visio-like diagrams in Enterprise Architect

Enterprise Architect diagrams are UML-based and server much better purpose than display-only information. However, that does not mean that they also can not look better.
Now, this refers mostly to Deployment diagrams, displaying the hardware layout at certain locations.

What I do to make the diagrams pretty as well as useful, is to create custom Stereotypes. Then, most nodes are assigned appropriate stereotype, like Server, Web Server, Database Server, and so on. Although stereotypes can be configured to carry a common graphics, I find it creates more troubles than it solves.

In order to display additional details in a diagram, open diagram properties, Elements tab, and enable Tags compartment. Sometimes Notes also come in handy.
This setting will display element Tags on the diagram. These are really handy on deployment diagrams as I tend to put most structured information there, like IP Address, URL, etc.

In the end, to display an icon on the diagram, each element has to be set-up manually. As mentioned, it is possible to assign a graphic to a stereotype and then have all Web Servers display the same icon but this will also prevent display of Tags that we enabled in the previous step. Setting up the graphics for each element somehow keeps the Tags displayed *and* shows the icon. The tags are displayed in a separate element that is linked to the node. Notes compartment, however, is not separated in the same manner and is not visible when a node has an image assigned.

This all refers to Enterprise Architect 8.0 so hopefully these issues are resolved in some of the latter versions.

Tuesday, June 10, 2014

Rooting Nexus 7 - WugFresh

Android 4.4.3 update has been out for a few days, it seems. Now, as the tablet is asking to update, the question is how to get the update and root the system again. One of the advantages of rooting is that certain apps (like Greenify) can get administrative access and close other apps, that you might not want running in the background.



It seems that the simplest way of rooting is to use Nexus Root Toolkit (link).



Source: WugFresh