Archive for the ‘Programovanie’ Category

September 2, 2018 | In: Programovanie

Postgresql pridanie usera

Pred spustenim servera, treba zmenit ownera na subore : server.key chown postgres.postgres /var/lib/postgresql/8.4/main/server.key V novsich verziach to mozno netreba. potom prihlasit sa na psql 1. su - postgres psql vytvorenie noveho...

How to remove svn needs-lock in all files in folders and subfolders Use the check-for-modifications dialog, show all files (including not modified ones). Select all files, right-click, choose "properties". Then remove the svn:needs-lock...

[crayon-5c13c2efc0293395186661/] Transpiling code means converting the code in one language to code in another similar language. (sass -> css, TS ->JS) import syntax isn’t much different from the require syntax, but import has extra flexibility...

February 9, 2016 | In: Programovanie

SVN repo size

svn list -vR file:///path/to/svn/folder/* | awk '{if ($3 !="") sum+=$3; i++} END {print "\ntotal size= " sum/1024000" MB" "\nnumber of files= " i/1000 " K"}'