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
| 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; |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| /* 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 | |
| }) |
| # 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 |
Author: Ari Lerner.
AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:
| 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 |
| # 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 |
| <%@Application Language='C#' Inherits="Website.Global" CodeBehind="Global.asax.cs" %> |
| import java.io.File; | |
| public class DirectoryReader { | |
| static int spc_count=-1; | |
| static void Process(File aFile) { | |
| spc_count++; | |
| String spcs = ""; | |
| for (int i = 0; i < spc_count; i++) |
| import eyed3 | |
| import re | |
| import glob | |
| def get_lyric(lrc): | |
| text = open(lrc).read() | |
| text = re.sub(r'(?:\[.*\])+', '', text).strip() | |
| text = map(lambda l: l.strip(), text.split('\n')) | |
| ans = [] | |
| for l in text: |