Antonio Maura y Montañer in 1910 (Photo credit: Wikipedia Commons).
On May 19, 1893, the Maura Law was promulgated. Named after its author Antonio Maura y Montañer, who was then the Minister of Colonies of Spain. Its purpose was to confer upon the towns and provinces of Luzon and the Visayan Islands a greater measure of autonomy, with the exception of Manila whose government (at that time) was not altered.
Two Iranian spies working for the U. S. Central Intelligence Agency (CIA) and the Israeli intelligence agency Mossad were hanged in Iran on Sunday morning, the state IRIB TV said.
Mohammad Heidari, one of the executed men, had prepared information in a number of security issues of the country and had given them to the Israeli Mossad in several meetings outside of the country, said the report.
Heidari received money in return for the information he had availed to the Israeli Mossad, according to IRIB.
Advocates for Philippine migrant workers say they are concerned about the effects of a hiring freeze Taiwan's government has put in place against the Philippines. The move came less than a week after a Philippine Coast Guard crew admitted shooting at a Taiwanese vessel, killing a fisherman.
Statistics from the Philippine Overseas Employment Administration show close to 30,000 Filipinos are hired as workers in Taiwan every year. The government says there are a total of more than 85,000 workers there now.
On July 22, 1815, Apolinario de la Cruz, also known as Hermano Pule, crusader of religious freedom, was born in Lukban, Tayabas (present day Quezon province) to Pablo de la Cruz and Juana Andres, who were both religious.
Apolinario wished to become a priest but was disappointed when not one of the religious orders in Manila wanted to accept him because he was a native Filipino. It did not stop him, however, so he entered the San Juan de Dios Hospital, where he eventually became a donado (lay brother) and member of the Cofradia de San Juan de Dios, a religious brotherhood.
The U.S. government believes a Chinese missile launch this week was the first test of a new interceptor that could be used to destroy a satellite in orbit, a U.S. defense official told Reuters on Wednesday.
China launched a rocket into space on Monday, but no objects were placed into orbit, the Pentagon said on Wednesday. The object re-entered Earth's atmosphere above the Indian Ocean.
“We tracked several objects during the flight but did not observe the insertion of any objects into orbit and no objects associated with this launch remain in space,” said Lieutenant Colonel Monica Matoush, a Pentagon spokeswoman.
Rhinoslider is a beautiful JQuery slider plugin that can handle images, video and other HTML content with many custom options. Using the plugin in HTML pages is quite simple and straightforward. Their website even has a generator that will give you a code and start customizing the plugin from there. Here in this blog, we will demostrate how to integrate this plugin on images and youtube videos into a JSF page based on version 1.05 of the plugin. We will provide 2 options of embedding the plugin. Live demo is available in the home page with this site.
Listing 1 below, is a sample generated page. Please make sure that items from 6 to 11 of the snippet are accessible from the page itself. These items are part of the plugin download. If using PrimeFaces, you may want to remove lines 6 to 8. Also lines 10 and 11 are optional and are controlled by the values of "easing" and "controlsMousewheel" parameters of the plugin (see Listing 7).
Today we will demonstrate how to setup SSL on Tomcat 7 with and without Apache2 in Debian servers using self-signed certificates. This should work with Debian Squeeze and Wheezy servers. We assume you already have existing Apache 2 and Tomcat 7 installations.
A sitemap.xml generated on demand is very helpful for websites that has lots of pages and with pages that are added frequently. According to
Google, sitemaps help their crawlers find pages from websites. This is true for new websites or for pages that has fewer links to them.
The servlet herein described is based on sitemaps.org protocol with Google image extension. We used JDOM2 library to create the XML sitemap
structure. Below is how a standard sitemap looks like with the Google image extension. Please note that image extension is supported only by
Google. Bing/Yahoo ignores them.
A Google+ interactive post is similar to a basic share post but adds a call-to-action button to the post. In a product post for example, the
call-to-action button can be "Add to cart", engaging your users direct from Google+ stream. The call-to-action button appears just
below the main post area. Aside from the call-to-action, the interactive post will ask for user permission the first time the share button is
used through the standard Google+ OAuth consent dialog or always depending on the value of data-approvalprompt attribute.
Some of the Facebook panels with slim scrollbars and infinite scrolling are those non full-page panels used to display notifications and messages. These are activated by button-icons in the upper left corner of your timeline. In this blog, we will demonstrate how to create similar panels using slimScroll jQuery plugin in
PrimeFaces.
Please note that the first section of this blog (slimScroll panel without the infinite scrolling) also works for standard JSF projects.
To better demonstrate how to generate XML RSS 2 feeds, we will use a servlet with JDOM 2 library. In this short blog, we will generate only the
required elements plus a few options for feed reader interoperability. Please refer to the RSS 2 documentation for more of the optional elements and
to learn more about the RSS 2 specifications. JDOM 2 is available for download here http://www.jdom.org/.
Below is a sample RSS 2 feed generated by the servlet that follows further down (contents edited for clarity).