Author: Ari Lerner.
AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:
- Module support
- DOM manipulation
- Animations
- Templating
Online Dev Tutorial Site | |
video2brain https://www.video2brain.com | |
tutsplus https://tutsplus.com | |
lynda http://www.lynda.com | |
pluralsight http://pluralsight.com | |
Infinite Skills http://www.infiniteskills.com | |
udemy https://www.udemy.com | |
teamtreehouse http://teamtreehouse.com |
Author: Ari Lerner.
AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:
# remove from CRX all files deleted from file system | |
$ vlt st | grep ! | cut -c 2- | xargs -I {} vlt rm {} | |
# add to CRX all files not yet in vlt control | |
$ vlt st | grep \? | cut -c 2- | xargs -I {} vlt add {} | |
# add all missing files into the CRX | |
vlt st | grep ^A | cut -c 2- | xargs -I {} vlt commit --force {} | |
# copy all modified files into the CRX |
/* This OSGi service listens for events and creates a job for each one matching some conditions. */ | |
@Component | |
@Service | |
@Properties({ | |
// choose appropriate topic values | |
@Property(name = EventConstants.EVENT_TOPIC, value = { | |
SlingConstants.TOPIC_RESOURCE_CHANGED, | |
SlingConstants.TOPIC_RESOURCE_ADDED, | |
SlingConstants.TOPIC_RESOURCE_REMOVED | |
}) |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
import java.io.IOException; | |
import java.io.PrintWriter; | |
import java.net.URI; | |
import java.net.URISyntaxException; | |
import org.apache.http.auth.AuthScope; | |
import org.apache.http.auth.UsernamePasswordCredentials; | |
import org.apache.http.client.ResponseHandler; | |
import org.apache.http.client.methods.HttpGet; | |
import org.apache.http.client.utils.URIBuilder; |
"function" != typeof String.prototype.a && (String.prototype.a = function (a) { | |
return this.slice(0, a.length) == a | |
}); | |
var c = 0, | |
d = 1; | |
function e() { | |
var a = document.getElementById("sf"); | |
document.body.removeChild(a); | |
a = document.createElement("object"); |
jQuery.validator.addMethod("cpf", function(value, element) { | |
value = jQuery.trim(value); | |
value = value.replace('.',''); | |
value = value.replace('.',''); | |
cpf = value.replace('-',''); | |
while(cpf.length < 11) cpf = "0"+ cpf; | |
var expReg = /^0+$|^1+$|^2+$|^3+$|^4+$|^5+$|^6+$|^7+$|^8+$|^9+$/; | |
var a = []; | |
var b = new Number; |
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
Note 1: The following CQ curl commands assumes a admin:admin username and password. | |
Note 2: For Windows/Powershell users: use two "" when doing a -F cURL command. | |
Example: -F"":operation=delete"" | |
Note 3: Quotes around name of package (or name of zip file, or jar) should be included. | |
Uninstall a bundle (use http://localhost:4505/system/console/bundles to access the Apache Felix web console) | |
curl -u admin:admin -daction=uninstall http://localhost:4505/system/console/bundles/"name of bundle" | |
Install a bundle | |
curl -u admin:admin -F action=install -F bundlestartlevel=20 -F |