Comments on Angular 2 router guide!#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 […]

X server and related managers

See also # nice explanation about the entire startx workflow # explanation about sessions # list available desktop environments ls -l /usr/share/xsessions # show current login/display manager cat /etc/X11/default-display-manager # see also lightdm-greeter from Alternatives Configurator: ls -l […]

Plex Transcoding with low cost slow CPU

I have Ubuntu 16.04.1 LTS on this low power SoC board Asrock N3150DC-ITX with N3150 CPU: According to (see The Guideline) I quote: Very roughly speaking, for a single full-transcode of a video, the following PassMark scores are […]

Transmission on Ubuntu

Important files /etc/init.d/transmission-daemon -> SysV service /etc/default/transmission-daemon -> run by /etc/init.d/transmission-daemon /********/.config/transmission-daemon -> CONFIG_DIR in /etc/default/transmission-daemon /********/.config/transmission-daemon/settings.json User and Group running transmission-daemon change to desired ones (e.g. USER=************) in /etc/init.d/transmission-daemon

Yahoo certificate error

ERROR (ubuntu + chromium) ERR_CERTIFICATE_TRANSPARENCY_REQUIRED You cannot visit right now because the website uses HSTS. SOLUTION (no logic here but working at 16 Nov 2016) On the page displaying this error, click anywhere on the page where […]

Boost website performance

install ab command sudo apt install apache2-utils ### configure /etc/sysctl.conf: # Uncomment the next line to enable TCP/IP SYN cookies # See # Note: This may impact IPv6 TCP sessions too net.ipv4.tcp_syncookies=0 # # fs.file-max = 6815744 […]

Crossroads load balance and fail over utility

Original description Crossroads is an open source load balance and fail over utility for TCP based services. It is a daemon running in user space, and features extensive configurability, polling of back ends using ‘wakeup calls’, detailed status reporting, ‘hooks’ […]

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 KDC = Kerberos Key Distribution Center TGT = Ticket Granting Ticket TGS = […]

zoneminder # when already have mysql do: sudo systemctl start mysql sudo apt-get install zoneminder sudo chmod +r /etc/zm/zm.conf sudo chmod g+rw /etc/php/7.0/apache2/php.ini # edit /etc/php/7.0/apache2/php.ini date.timezone = Europe/Bucharest # create mysql user zmuser/zmpass and mysql schema zm # grant […]

gitweb on apache

# projects web page will be: # Create a git project (e.g. testproject.git): # mkdir -p /opt/GITRepositories/testproject.git # cd /opt/GITRepositories/testproject.git # git init –bare –shared # cp -v /opt/GITRepositories/test.git/hooks/post-update.sample /opt/GITRepositories/test.git/hooks/post-update # now is ready for cloning: # git […]

Angularjs 2 compatibility angular 2 project seed webpack webpack lazy loading not working for me rxjs typings […]