Here is the new link to the OmniROM nightlies for Samsung Galaxy S3
OmniROM 4.4 Nightlies Changelog - I9300
Friday, June 20, 2014
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:
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.
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.
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
It seems that the simplest way of rooting is to use Nexus Root Toolkit (link).
Source: WugFresh
Subscribe to:
Posts (Atom)