gitweb on apache

# projects web page will be: https://192.168.1.8/gitweb/ # 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 https://192.168.1.8/testproject.git is ready for cloning: # git […]

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/ […]

Ufw (uncomplicated firewall)

documentation https://help.ubuntu.com/lts/serverguide/firewall.html http://manpages.ubuntu.com/manpages/xenial/en/man8/ufw.8.html http://manpages.ubuntu.com/manpages/xenial/en/man8/ufw-framework.8.html important files /etc/ufw/user.rules Uncomplicated Firewall # https://help.ubuntu.com/community/UFW sudo ufw show added sudo ufw status verbose sudo ufw show listening sudo ufw limit ssh sudo ufw allow 80 sudo ufw allow 443 sudo ufw allow 32400 sudo […]

APT (Advanced Package Tool)

checking that python3-pip package is installed dpkg –get-selections python3-pip search packages by name using REGEX see http://newbiedoc.sourceforge.net/tutorials/apt-get-intro/info.html apt-cache search libapr apt-cache search ‘php.*sql’ apt-cache search apache.\*perl apt-cache search elvis\|vim list the contents of a (not-installed) package see https://unix.stackexchange.com/questions/6311/how-to-find-out-which-not-installed-package-a-file-belongs-to apt-file list […]

ssh, http and https multiplexing

This is about how to have the ssh and http(s) server share the same port (e.g. 80 or 443 port). This is really cool :). # Used sources: # http://yalis.fr/cms/index.php/post/2014/02/22/Multiplex-SSH-and-HTTPS-on-a-single-port # http://blog.cppse.nl/apache-proxytunnel-ssh-tunnel # http://serverfault.com/questions/355271/ssh-over-https-with-proxytunnel-and-nginx # http://tyy.host-ed.me/pluxml/article4/port-443-for-https-ssh-and-ssh-over-ssl-and-more # http://ipset.netfilter.org/iptables.man.html # http://ipset.netfilter.org/iptables-extensions.man.html […]