This file contains 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 javax.servlet.http.HttpServletRequest; | |
import org.apache.jackrabbit.api.security.user.User; | |
import org.osgi.service.component.annotations.Component; | |
import com.adobe.granite.oauth.server.Scope; | |
import com.adobe.granite.oauth.server.ScopeWithPrivileges; | |
@Component(service=Scope.class) | |
public class DAMReadScope implements ScopeWithPrivileges{ | |
private static final String DAM_RESOURCE_URI="/content/dam/digital"; | |
private static final String DAM_RESOURCE_READ_SCOPE_NAME="dam_read"; |
This file contains 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 javax.servlet.http.HttpServletRequest; | |
import org.apache.jackrabbit.api.security.user.User; | |
import org.osgi.service.component.annotations.Component; | |
import com.adobe.granite.oauth.server.Scope; | |
import com.adobe.granite.oauth.server.ScopeWithPrivileges; | |
@Component(service=Scope.class) | |
public class DAMWriteScope implements ScopeWithPrivileges{ | |
private static final String DAM_RESOURCE_URI="/content/dam/digital"; | |
private static final String DAM_RESOURCE_WRITE_SCOPE_NAME="dam_write"; |
This file contains 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 (once) "/libs/wcm/foundation/clientlibs/grid/grid_base.less"; | |
/* maximum amount of grid cells to be provided */ | |
@max_col: 12; | |
/* default breakpoint */ | |
.aem-Grid { | |
.generate-grid(default, @max_col); | |
} |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>Browser Storage Demos - Cache Storage API </title> | |
<script type = "text/javascript"> | |
//Check for browser support | |
if('caches' in window) { | |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<head> | |
<title>Browser Storage Demos - Web SQL API </title> | |
<script type = "text/javascript"> | |
//Check for browser support | |
if (window.openDatabase) { | |
This file contains 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
image: atlassian/default-image:2 | |
pipelines: | |
branches: | |
dev: | |
- step: | |
script: | |
- git remote add sync https://$CM_SYNC_USER_NAME:$CM_SYNC_USER_ACCESS_TOKEN@git.cloudmanager.adobe.com/xxxx/xxxx/ | |
- git checkout dev | |
- git pull |
This file contains 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.cm.notofication.core.servlets; | |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.net.URI; | |
import java.net.URISyntaxException; | |
import java.net.URL; | |
import java.util.stream.Collectors; | |
import javax.servlet.Servlet; |
This file contains 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
image: atlassian/default-image:2 | |
pipelines: | |
branches: | |
dev: | |
- step: | |
script: | |
- git remote add sync git@github.com:techforum-repo/test1.git | |
- git checkout dev | |
- git pull |
This file contains 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.sample.servlets; | |
import java.io.IOException; | |
import javax.servlet.Servlet; | |
import javax.servlet.ServletException; | |
import org.apache.sling.api.SlingHttpServletRequest; | |
import org.apache.sling.api.SlingHttpServletResponse; | |
import org.apache.sling.api.servlets.HttpConstants; |
This file contains 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.sample.servlets; | |
import java.io.IOException; | |
import javax.servlet.Servlet; | |
import javax.servlet.ServletException; | |
import org.apache.sling.api.SlingHttpServletRequest; | |
import org.apache.sling.api.SlingHttpServletResponse; | |
import org.apache.sling.api.servlets.HttpConstants; |
OlderNewer