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 -versionHow 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
środa, 22 października 2014
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
find /home/zbyszek/data/backup/ -newermt "2004-01-01 00:00:00" ! -newermt "2008-01-01 00:00:00" -name *.mp3
czwartek, 12 września 2013
Eclipse Maven project: how to change web.xml version from 2.3 to 3.1
1. Modify pom.xml:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
2. Update Maven project ( alt-F5 ).
You should have Project->Properties->Project Facets->Java->1.7
If you got errors, you should correct Project->Properties->Java Build Path->Libraries
3. Modify web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="WebApp_ID" version="3.1">
<!-- your web.xml content here -->
<display-name>Archetype Created Web Application</display-name>
</web-app>
4. Update Maven project ( alt-F5 ).
If you get errors. Go to step 5.5. (Most interesting!) Modify org.eclipse.wst.common.project.facet.core.xml
5.1. Evoke: Window>Show View>Other>General>Navigator5.2. Navigate to: org.eclipse.wst.common.project.facet.core.xml
5.3. Modify line: <installed facet="jst.web" version="2.3"/> to
<installed facet="jst.web" version="3.1"/>
5.4. Save changes.
6. Update Maven project ( alt-F5 ).
Subskrybuj:
Posty (Atom)