Have an application that converts the following JavaScript into the HTML result. Use AngularJS to achieve your goal.
input
is used to reference but isn't necessary for your code.
PAY ATTENTION TO DETAILS.
var input = "Party like its 2015";
import React from 'react'; | |
export default class CardCvc extends React.Component { | |
static propTypes = { | |
onChange: React.PropTypes.func.isRequired, | |
value: React.PropTypes.oneOfType([ | |
React.PropTypes.string, | |
React.PropTypes.number | |
]).isRequired | |
}; |
class Cmp { | |
nextHandler = () => { | |
SomeAction.next(this.props.number) | |
}; | |
render() { | |
return ( | |
<a onClick={this.nextHandler}>Increment</a> | |
); | |
} | |
} |
git log release/v0.2.2...release/v0.2.0 --reverse --pretty=format:"%h - %s - %cn" | cat - <(printf "\n") |
mvn archetype:generate \ | |
-DarchetypeRepository=http://repo.adobe.com/nexus/content/groups/public/ \ | |
-DarchetypeGroupId=com.day.jcr.vault \ | |
-DarchetypeArtifactId=multimodule-content-package-archetype \ | |
-DarchetypeVersion=1.0.2 \ | |
-DgroupId=aem-demo \ | |
-DartifactId=aemdemo \ | |
-Dversion=0.0.1-SNAPSHOT \ | |
-Dpackage=com.aemdemo \ | |
-DappsFolderName=aem-demo \ |
html test
let mysql = require('mysql'); | |
let Q = require('q'); | |
let sql = {}; | |
// helps find :VARIABLEs | |
let PARAMETER_QUERY_REGEXP = /:([\w.$]+|"[^"]+"|'[^']+')/g; | |
/** | |
* Replaces paramters | |
* @param {String} q |
#!/bin/bash | |
# | |
# This script configures the start information for this server. | |
# | |
# The following variables may be used to override the defaults. | |
# For one-time overrides the variable can be set as part of the command-line; e.g., | |
# | |
# % CQ_PORT=1234 ./start | |
# |
sudo apt-get update && sudo apt-get install -y build-essential curl dkms linux-image-extra-$(uname -r) | |
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" | |
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ | |
> /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update && sudo apt-get install -y lxc-docker | |
curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-`uname -s`-`uname -m` > /usr/local/bin/fig; chmod +x /usr/local/bin/fig | |
echo "Done" |
maestro.common.ng.factory('transformers', [function () { | |
function getValueByDotPath(path, obj) { | |
return [obj] | |
.concat(path.split('.')) | |
.reduce(function (ref, property) { | |
return ref[property]; | |
}); | |
} |