piątek, 26 sierpnia 2016

How to partialy enter a date in libreoffice calc 5

http://przepis-na-lo.pl/2013/03/automatyczne-rozpoznawanie-niepelnych-dat/
"Nowe problemy Wprowadzona zmiana spowodowała jeden dość istotny problem — w niektórych językach niemożliwe stało się szybkie wpisywanie dat za pomocą klawiatury numerycznej. We wspomnianym języku czeskim (ponownie: tak jak w polskim) separatorem liczb dziesiętnych jest przecinek, a nie kropka. W rezultacie użytkownicy prawą ręką mogą wpisać „13,02”, „13/02” oraz „13-02”, ale nie „13.02”; tymczasem tylko ten ostatni zapis pasuje do wzorca i zostanie potraktowany jako data. Tworzenie i modyfikowanie wzorców dat Aby rozwiązać ten problem, wprowadzono możliwość samodzielnego tworzenia wzorców dat. Odpowiednie pole zatytułowane jest Akceptowane wzorce dat i znajduje się w Narzędzia → Opcje... → Ustawienia językowe → Języki. Każdy wzorzec musi składać się z przynajmniej dwóch znaków — symbolu zastępczego fragmentu daty oraz separatora. Dostępne są trzy symbole zastępcze: D (dzień), M (miesiąc) oraz Y (rok)."

niedziela, 31 lipca 2016

How to remove a plain text protecting single quote from all the selected cells in LibreOffice Calc?

http://superuser.com/questions/394092/how-to-remove-a-plain-text-protecting-single-quote-from-all-the-selected-cells-i You can remove the leading single quote (which actually isn't part of the string in the cell) using a regex-based search and replace: Search for all characters between the start and end of the string ^.*$ replace with match &

poniedziałek, 20 czerwca 2016

Language tool on libreoffice on ubuntu

Just this solution
On Ubuntu, install the libreoffice-java-common or openoffice.org-java-common package. One problem solved by this is getting a long error message with "NoClassDefFoundError" during installation (see screenshot). On Ubuntu, if you get a message similar to Exception in thread "Thread-402" java.awt.HeadlessException in LibreOffice/OpenOffice, see this stackoverflow answer. Note that the message might not appear in a dialog but only on the command line, so you might want to start LibreOffice/OpenOffice from a terminal window.

Java on ubuntu

How to find out version:
update-java-alternatives -l java -showversion java -version
How to install java8 sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo update-alternatives --config java sudo update-alternatives --config javac And from oracle $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java8-installer How to remove
sudo apt-get purge openjdk-7-*
How to install: sudo apt-get install openjdk-7-jre or sudo apt-get install openjdk-7-jdk

czwartek, 25 września 2014

Locally installed phpmyadmin on ubuntu 12.04

403 Forbidden You don't have permission to access /phpmyadmin on this server. Apache/2.2.22 (Ubuntu) Server at localhost Port 80 ------------------------- Solution: sudo gedit /etc/phpmyadmin/apache.conf Options FollowSymLinks DirectoryIndex index.php Order deny,allow Deny from all Allow from 127.0.1.1/255.255.0.0 #Allow from 192.168.0.0/255.255.0.0

czwartek, 9 stycznia 2014

Ubuntu: how to find a file by name and date?

Just an example:

find /home/zbyszek/data/backup/ -newermt "2004-01-01 00:00:00" ! -newermt "2008-01-01 00:00:00" -name *.mp3