HTML 5

Documentation https://developers.google.com/web/ https://www.html5rocks.com/en/tutorials https://www.html5rocks.com/en/tutorials/file/xhr2 https://www.html5rocks.com/en/tutorials/file/dndfiles/ http://blog.teamtreehouse.com/reading-files-using-the-html5-filereader-api https://www.html5rocks.com/en/tutorials/workers/basics/ https://stackoverflow.com/questions/6778360/whats-the-difference-between-shared-worker-and-worker-in-html5 https://www.sitepoint.com/javascript-shared-web-workers-html5/ https://github.com/coolaj86/html5-shared-web-worker-examples http://coolaj86.github.io/html5-shared-web-worker-examples/ https://www.html5rocks.com/en/tutorials/appcache/beginner/ https://alistapart.com/article/application-cache-is-a-douchebag https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/Client-SideStorage/Client-SideStorage.html https://developer.apple.com/library/content/documentation/iPhone/Conceptual/SafariJSDatabaseGuide/OfflineApplicationCache/OfflineApplicationCache.html chrome://appcache-internals

JPA inheritance performance improvement

This article is about improving JPA’s performance when working with large/thick hierarchies. Let’s suppose that for some reason you have a similar (or larger) hierarchy to one I encountered in one of my projects: – InheritanceType.JOINED also using DiscriminatorColumn – […]

Compiling google’s mod_pagespeed for nginx

This post is intended mainly to Zyxel NSA310 users. Prerequisites See first https://adrhc.go.ro/blog/common-commands-when-building/ for building environment, x.sh script and other things not defined here. Before starting do declare the environment variables specified to the link above. Environment & other preparations […]

Comments on Angular 2 router guide

https://angular.io/docs/ts/latest/guide/router.html#!#resolve-guard CanDeactivateGuard is used in CrisisCenterRoutingModule which is part of CrisisCenterModule which is lazy loaded by AppRoutingModule (loadChildren: ‘app/crisis-center/crisis-center.module#CrisisCenterModule’). q: Why should CanDeactivateGuard be declared in AppRoutingModule providers? why not to CrisisCenterRoutingModule providers? guide answer: We also need to add […]

Spring security with kerberos

What is a keytab, and how do I use one? Introduction to Kerberos for Managers Crash Course to Kerberos Appendix D. Troubleshooting JAAS authentication with Kerberos http://www.roguelynn.com/words/explain-like-im-5-kerberos/ KDC = Kerberos Key Distribution Center TGT = Ticket Granting Ticket TGS = […]

Angularjs 2

http://embed.plnkr.co/qZf6yv/ https://benmccormick.org/2015/09/14/es5-es6-es2016-es-next-whats-going-on-with-javascript-versioning/ http://onehungrymind.com/build-a-simple-website-with-angular-2/ http://blog.mgechev.com/2016/06/26/tree-shaking-angular2-production-build-rollup-javascript/ https://scotch.io/tutorials/use-the-angular-cli-for-faster-angular-2-projects https://www.smashingmagazine.com/2014/06/building-with-gulp/ compatibility https://angular.io/docs/ts/latest/guide/browser-support.html angular 2 project seed https://github.com/angularclass/awesome-angular2#current-browser-support-for-angular-2 https://angularclass.github.io/angular2-webpack-starter/ https://github.com/AngularClass/angular2-webpack-starter https://www.npmjs.com/package/angular2-webpack-starter https://github.com/mgechev/angular-seed https://github.com/NathanWalker/angular-seed-advanced http://www.devacron.com/angular2-github-boilerplate-repositories/ http://stackoverflow.com/questions/29649578/available-yeoman-generator-for-angular-2 webpack https://webpack.github.io/docs/ http://stackoverflow.com/questions/39548175/can-someone-explain-webpacks-commonschunkplugin https://blog.madewithlove.be/post/webpack-your-bags/ http://webpack.github.io/analyse/ webpack lazy loading not working for me https://github.com/Quramy/angular2-load-children-loader https://github.com/Quramy/ng2-lazy-load-demo rxjs http://blog.falafel.com/introduction-rxjs-angular2/ http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html typings https://github.com/typings/typings https://neoheurist.wordpress.com/2016/06/20/definitely-typed/ […]

gitweb on nginx

nginx configuration # Let Nginx handle static files # location ~ ^..git/objects/([0-9a-f]+/[0-9a-f]+|pack/pack-[0-9a-f]+.(pack|idx)) { location ~ ^/[^/].git/objects/([0-9a-f]+/[0-9a-f]+|pack/pack-[0-9a-f]+.(pack|idx)) { auth_basic “strong authentication”; auth_basic_user_file /****/apps/etc/basic.auth.strong.passwords.txt; root /****/GITRepoUbuntu/; } # Pass Git Smart HTTP requests to git-http-backend. Require Auth for everything. # see man […]

Spring security

HTML translated to java config see also Java Configuration see also http://www.springframework.org/schema/security/spring-security.xsd … @Configuration @EnableWebSecurity public class WebSecurityConfig { @Autowired private AuthenticationManager am; /* @param auth @throws Exception / @Autowired public void configureGlobal(final AuthenticationManagerBuilder auth) throws Exception { […]

JPA performance

http://java-persistence-performance.blogspot.ro/2011/06/how-to-improve-jpa-performance-by-1825.html# http://spitballer.blogspot.ro/2010/04/jpa-persisting-vs-merging-entites.html Use byte code weaving EclipseLink implements LAZY for OneToOne and ManyToOne relationships using byte code weaving Pagination Use setFirstResult, setMaxResults of javax.persistence.Query. Caching See https://docs.oracle.com/javaee/7/tutorial/persistence-cache001.htm#GKJIO. See in persistence.xml or javax.persistence.sharedCache.mode property when creating the EntityManagerFactory. See javax.persistence.Cacheable used […]

JAXB 2.2.10

see also http://docs.oracle.com/javaee/5/tutorial/doc/bnbbf.html see also https://jaxb.java.net/tutorial/index.html see also https://jaxb.java.net/guide/index.html – Unofficial JAXB Guide see also How to get simple and better typed binding in https://metro.java.net/guide/ch03.html globalBindings fixedAttributeAsConstantProperty fixed attributes will be generated as a java constant. @XmlSchemaType(name = “NMTOKEN”) public […]

XSD schema

https://www.w3.org/TR/xmlschema-2/#built-in-datatypes http://www.xml.com/pub/a/2001/08/22/easyschema.html -> best article That leaves us with with , which ensures that there will not be any data content in the element. -> the default syntax for complex types is complex content that restricts anyType http://stackoverflow.com/questions/5457217/xsd-for-simplecontent-with-attribute-and-text Apparently, you […]