SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"All pages below content path
| package custom; | |
| import com.fasterxml.jackson.databind.JsonNode; | |
| import com.fasterxml.jackson.databind.ObjectMapper; | |
| import com.fasterxml.jackson.databind.node.ArrayNode; | |
| import com.fasterxml.jackson.databind.node.ObjectNode; | |
| import com.fasterxml.jackson.databind.node.ValueNode; | |
| import org.apache.commons.io.FileUtils; | |
| import org.apache.commons.io.IOUtils; | |
| import org.apache.commons.lang3.StringUtils; |
| <%@include file="/libs/foundation/global.jsp"%><% | |
| %><%@page session="false" contentType="text/html; charset=utf-8" | |
| pageEncoding="UTF-8" | |
| import="com.day.cq.dam.api.Asset, | |
| com.day.cq.search.PredicateGroup, | |
| com.day.cq.search.Query, | |
| com.day.cq.search.QueryBuilder, | |
| com.day.cq.search.result.Hit, | |
| com.day.cq.search.result.SearchResult"%> | |
| <%@ page import="org.apache.sling.api.resource.Resource" %> |
| package com.nateyolles.sling; | |
| import org.apache.felix.scr.annotations.Reference; | |
| import org.apache.felix.scr.annotations.sling.SlingServlet; | |
| import org.apache.sling.api.SlingHttpServletRequest; | |
| import org.apache.sling.api.SlingHttpServletResponse; | |
| import org.apache.sling.api.servlets.SlingSafeMethodsServlet; | |
| import org.apache.sling.engine.SlingRequestProcessor; |
| package com.nateyolles.aem; | |
| import org.apache.felix.scr.annotations.Reference; | |
| import org.apache.felix.scr.annotations.sling.SlingServlet; | |
| import org.apache.sling.api.SlingHttpServletRequest; | |
| import org.apache.sling.api.SlingHttpServletResponse; | |
| import org.apache.sling.api.servlets.SlingSafeMethodsServlet; | |
| import org.apache.sling.engine.SlingRequestProcessor; |
| # Adding include/exclude rules to CQ/AEM package filters through cURL. | |
| # Through a simple search, you will find numerous lists of CQ/AEM cURL commands. | |
| # However, I haven't seen an example of adding rules to package filters. The | |
| # JSON "rules" key takes an array value. You can leave the array empty if you | |
| # don't need to include any rules. The array is of JSON objects with a | |
| # "modifier" key and value of "include" or "exclude", and a "pattern" key with | |
| # your path or regular expression as the value. | |
| # create package |
| package com.nateyolles.aem; | |
| import org.osgi.framework.InvalidSyntaxException; | |
| import org.osgi.service.cm.Configuration; | |
| import org.apache.felix.scr.annotations.Reference; | |
| import org.apache.felix.scr.annotations.sling.SlingServlet; | |
| import org.apache.sling.api.SlingHttpServletRequest; | |
| import org.apache.sling.api.SlingHttpServletResponse; | |
| import org.apache.sling.api.servlets.SlingAllMethodsServlet; |
| set previousList to {} | |
| repeat | |
| set currentList to {} | |
| tell application "System Events" | |
| tell process "Notification Center" | |
| set allWindows to every window | |
| set numWindows to count of allWindows | |
| repeat with currentWindow in allWindows | |
| try |
| #!/bin/bash | |
| # node-reinstall | |
| # credit: http://stackoverflow.com/a/11178106/2083544 | |
| ## program version | |
| VERSION="0.0.13" | |
| ## path prefix | |
| PREFIX="${PREFIX:-/usr/local}" |
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"All pages below content path
Original Reddit discussion: https://www.reddit.com/r/webdev/comments/a5r76w/once_every_23_years_a_new_front_end_framework_wins/ebouw5o
The only chart that shows Vue outperforming others is GitHub stars (1). All the others charts show the opposite.
2018/12/16