Skip to content

Instantly share code, notes, and snippets.

for i in mono*.wav; do
[ -f "$i" ] || break
soxi $i
sox $i -r 16000 16$i
soxi 16$i
done
import org.apache.commons.lang.StringUtils;
detailFolder = 'ke-stazeni'
rootPath = '/rjelinek/'+detailFolder
javax.jcr.NodeIterator nodeList = info.magnolia.cms.util.QueryUtil.search("dam", "select * from [mgnl:resource] as t where ISDESCENDANTNODE('"+rootPath+"') and name(t) = 'jcr:content'");
while(nodeList.hasNext()) {
javax.jcr.Node currNode = nodeList.nextNode();
println "downloading ${currNode.path}";
try {
javax.jcr.Binary binary = currNode.getProperty("jcr:data").getBinary()
InputStream inputStream = binary.getStream();
$ javac vut/fit/ija/homework1/TestHomework1.java
vut/fit/ija/homework1/TestHomework1.java:16: error: MyCoordinate is not public in vut.fit.ija.homework1.myMaps; cannot be accessed from outside package
import vut.fit.ija.homework1.myMaps.MyCoordinate;
^
vut/fit/ija/homework1/TestHomework1.java:17: error: cannot find symbol
import vut.fit.ija.homework1.myMaps.MyStop;
^
symbol: class MyStop
location: package vut.fit.ija.homework1.myMaps
vut/fit/ija/homework1/TestHomework1.java:18: error: cannot find symbol
import org.apache.commons.lang.StringUtils;
detailFolder = 'xx'
rootPath = '/PL/'+ detailFolder
javax.jcr.NodeIterator nodeList = info.magnolia.cms.util.QueryUtil.search("dam", "select * from [mgnl:resource] as t where ISDESCENDANTNODE('"+rootPath+"') and name(t) = 'jcr:content'");
while(nodeList.hasNext()) {
javax.jcr.Node currNode = nodeList.nextNode();
println "downloading ${currNode.path}";
try {
javax.jcr.Binary binary = currNode.getProperty("jcr:data").getBinary()
InputStream inputStream = binary.getStream();
Magnolia Dx Core Webapp 6.2 (Snapshot: 2020.03.23 10:38:14)
Copyright 2003-2020 Magnolia International Ltd.
This product includes/uses software(s) developed by 'an unknown organization'
- Big Math (https://github.com/eobermuhlner/big-math)
License: MIT License (https://raw.githubusercontent.com/eobermuhlner/big-math/master/LICENSE.txt)
- stream-lib (https://github.com/addthis/stream-lib)
License: Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
- parso (https://github.com/epam/parso)
License: Apache License v2 (http://www.apache.org/licenses/LICENSE-2.0.html)
package sample;
import javafx.animation.AnimationTimer;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Group;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.BorderPane;
import groovy.xml.*
import info.magnolia.importexport.DataTransporter;
println "begin"
repo = "dam"
session = ctx.getJCRSession(repo)
path = "/"
f = new File("/tmp/dam.xml");
import groovy.xml.*
import info.magnolia.importexport.DataTransporter;
repo = "dam"
path = "/"
outPath = "/tmp/dam.xml"
f = new File(outPath);
fileOut = new FileOutputStream(f);
DataTransporter.executeExport(fileOut, false, true, ctx.getJCRSession(repo), path, repo, ".xml");
2020-04-23 10:11:58,163 ERROR info.magnolia.ui.framework.ContextProperty$Impl : Failed to dispatch context property change: Failed to create instance of [class info.magnolia.ui.contentapp.browser.TreeView]
info.magnolia.objectfactory.MgnlInstantiationException: Failed to create instance of [class info.magnolia.ui.contentapp.browser.TreeView]
at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:138) ~[magnolia-core-6.2.jar:?]
at info.magnolia.ui.framework.ioc.UiComponentProvider.lambda$newInstanceWithParameterResolvers$3(UiComponentProvider.java:137) ~[magnolia-ui-framework-6.2.jar:?]
at info.magnolia.ui.framework.ioc.UiComponentProvider.provideInCurrentScope(UiComponentProvider.java:177) ~[magnolia-ui-framework-6.2.jar:?]
at info.magnolia.ui.framework.ioc.UiComponentProvider.newInstanceWithParameterResolvers(UiComponentProvider.java:137) ~[magnolia-ui-framework-6.2.jar:?]
at info.magnolia.ui.framework.ioc.UiComponentProvider.newInstan