This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -m https://www.magnolia-cms.es 2>&1 | grep '^--' | awk '{ print $3 }' | grep -iv '\.\(css\|js\|png\|mp4\|gif\|jpg\|mov\|jpeg\|eot\|woff\|ttf\|svg\)$' > urls.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-01-29 22:16:36,547 ERROR info.magnolia.module.InstallContextImpl : [521/522 tasks - Magnolia Webapp Module (version 6.0.0)]> Error while installing or updating webapp module. Task 'Webapp bootstrap' failed. (ItemExistsException: Node with the same UUID exists:node /modules/enterprise/license) | |
java.lang.RuntimeException: Error importing /Users/had/tmp/60split/webapps/magnoliaPublic/WEB-INF/bootstrap/common/config.modules.enterprise.license.xml: Node with the same UUID exists:node /modules/enterprise/license | |
at info.magnolia.importexport.DataTransporter.importXmlStream(DataTransporter.java:388) ~[magnolia-core-6.0.jar:?] | |
at info.magnolia.importexport.DataTransporter.importXmlStream(DataTransporter.java:245) ~[magnolia-core-6.0.jar:?] | |
at info.magnolia.importexport.DataTransporter.importFile(DataTransporter.java:170) ~[magnolia-core-6.0.jar:?] | |
at info.magnolia.importexport.DataTransporter.executeBootstrapImport(DataTransporter.java:197) ~[magnolia-core-6.0.jar:?] | |
at info.magnolia.importexport. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.net.URI; | |
import info.magnolia.virtualuri.VirtualUriMapping; | |
import info.magnolia.virtualuri.VirtualUriRegistry; | |
import info.magnolia.objectfactory.Components; | |
import java.util.List; | |
import java.util.Optional; | |
import java.util.stream.Collectors; | |
//** Set your URI here **// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
what is difference between notation 1) ```&(*arr[i])``` and 2) ```arr[i]``` ? | |
Why does 1) work and 2) fail w/ Segmentation fault? | |
works: | |
``` | |
... | |
int load_arr(char *filename, struct arr_t **arr) | |
{ | |
... | |
*arr = malloc(arr_size * sizeof(struct arr_t)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Kostra programu pro 3. projekt IZP 2018/19 | |
* | |
* Jednoducha shlukova analyza: 2D nejblizsi soused. | |
* Single linkage | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#include <math.h> // sqrtf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-11-27 11:21:42,742 WARN org.apache.jackrabbit.core.SessionImpl : Unclosed session detected. The session was opened here: | |
java.lang.Exception: Stack Trace | |
at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:279) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:239) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at org.apache.jackrabbit.core.XASessionImpl.<init>(XASessionImpl.java:101) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at org.apache.jackrabbit.core.RepositoryImpl.createSessionInstance(RepositoryImpl.java:1614) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at org.apache.jackrabbit.core.RepositoryImpl.createSession(RepositoryImpl.java:957) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1502) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at org.apache.jackrabbit.core.jndi.BindableRepository.login(BindableRepository.java:162) ~[jackrabbit-core-2.16.1.jar:2.16.1] | |
at info.magnolia.jackrabb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jans-MacBook-Pro:~/projects/gitnolia/modules/imaging/magnolia-imaging had [bugfix/MGNLIMG-210] $ git st | |
# On branch bugfix/MGNLIMG-210 | |
# Your branch is up to date with 'had/bugfix/MGNLIMG-210'. | |
# | |
# Changes not staged for commit: | |
# (use "git add <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: src/main/java/info/magnolia/imaging/Imaging.java | |
# modified: src/main/java/info/magnolia/imaging/parameters/AbstractJcrWorkspaceAndIdentifierParameterProviderFactory.java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package aws.servlet.heartbeat; | |
import javax.inject.Inject; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.IOException; | |
import java.util.Date; | |
import info.magnolia.objectfactory.Components; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] +- info.magnolia.solr:magnolia-content-indexer:jar:5.1.1:compile | |
[INFO] | +- org.quartz-scheduler:quartz:jar:2.2.3:compile | |
[INFO] | | \- c3p0:c3p0:jar:0.9.1.1:compile | |
[INFO] | +- edu.uci.ics:crawler4j:jar:4.1:compile | |
[INFO] | | +- uk.org.lidalia:lidalia-slf4j-ext:jar:1.0.0:compile | |
[INFO] | | +- com.sleepycat:je:jar:5.0.73:compile | |
[INFO] | | \- org.apache.tika:tika-parsers:jar:1.17:compile | |
[INFO] | | +- org.gagravarr:vorbis-java-tika:jar:0.8:compile | |
[INFO] | | +- org.tallison:jmatio:jar:1.2:compile | |
[INFO] | | +- org.tukaani:xz:jar:1.6:compile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[5:14 PM] Roman Kovarik: [INFO] --- gmaven-plugin:1.5:execute (check-for-duplicates) @ magnolia-cloud-dev-webapp --- | |
[5:14 PM] Roman Kovarik: collision: [json-20160212.jar, json-1.8.jar] |