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 com.rashidjorvee.aem.servlets; | |
import org.apache.sling.api.SlingHttpServletRequest; | |
import org.apache.sling.api.SlingHttpServletResponse; | |
import org.apache.sling.api.resource.ModifiableValueMap; | |
import org.apache.sling.api.resource.Resource; | |
import org.apache.sling.api.resource.ResourceResolver; | |
import org.apache.sling.api.servlets.SlingSafeMethodsServlet; | |
import org.osgi.service.component.annotations.Component; |
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
/*! | |
* jQuery JavaScript Library v3.5.1 | |
* https://jquery.com/ | |
* | |
* Includes Sizzle.js | |
* https://sizzlejs.com/ | |
* | |
* Copyright JS Foundation and other contributors | |
* Released under the MIT license | |
* https://jquery.org/license |
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
<html> | |
<title> | |
Student Registration | |
</title> | |
<head> | |
<style> | |
.reg-form { | |
background-color:white; | |
} | |
</style> |
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
<html> | |
<body> | |
<h2>Current date using JavaScript new Date()</h2> | |
<p id="demo"></p> | |
<p id="demo1"></p> | |
<p id="demo2"></p> | |
<p id="demo3"></p> |
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
<html> | |
<body> | |
<h2>Current date using JavaScript new Date()</h2> | |
<p id="demo"></p> | |
<p id="demo1"></p> | |
<p id="demo2"></p> | |
<p id="demo3"></p> |
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.mycompany</groupId> | |
<artifactId>abc</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>mule</packaging> | |
<name>Mule abc Application</name> |
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
var result refcursor -- create a variable result | |
BEGIN | |
proc_myActivities('rashidjorvee',:result); -- name of the parameter and all input parameters, and variable result as a last parameter with prefix of colon(:). | |
END; | |
-- execution of procedure has been completed and result stored in the variable result. | |
-- Now you have to print the variable result to see the output. | |
print result -- write command print and then variable name to print the result. |
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
# Program in Bash Shell | |
CHECK_SOURCE="[main] INFO com.dobe.jcr.checknode.existence.App - Node exists" | |
echo $CHECK_SOURCE | grep -w -o -i 'Node exists' | |
if [ $? == 0 ]; then | |
echo " Node Exists" | |
echo $CHECK_SOURCE | grep -w -o -i 'checknode' | |
if [ $? == 0 ]; then | |
echo "checknode exist" | |
echo $CHECK_SOURCE | grep -w -o -i 'adobe' |
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
:org.apache.felix.configadmin.revision:=L"2" | |
auth.annonymous=B"false" | |
auth.http="preemptive" | |
auth.http.realm="Sling\ (Development)" | |
auth.sudo.cookie="sling.sudo" | |
auth.sudo.parameter="sudo" | |
auth.uri.suffix=[ \ | |
"/j_security_check", \ | |
] | |
service.pid="org.apache.sling.engine.impl.auth.SlingAuthenticator" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" | |
jcr:primaryType="nt:unstructured" | |
contentTypes="[text/html]" | |
enabled="{Boolean}true" | |
generatorType="htmlparser" | |
order="{Long}1" | |
sequence="version" | |
serializerType="htmlwriter" | |
transformerTypes="[linkchecker,versioned-clientlibs]"/> |
NewerOlder