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
//How to set a card animation? | |
layout: { | |
type: 'card', | |
animation: { | |
type: 'slide', | |
direction: 'left' | |
} | |
} |
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
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start | |
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
First create a folder in your htdocs, then run the following commands: | |
$ sudo npm install sphero | |
$ sudo npm install noble | |
$ cd node_modules/noble | |
$ npm install |
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
"use strict"; | |
var sphero = require('sphero' | |
); | |
var bb8 = sphero('<MY-UUID-HERE>'); | |
bb8.connect(function() { | |
console.log("Now connected to BB-8"); | |
//The Ping command verifies that BB8 is awake and receiving commands. |
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
#I've downloaded apache-maven-3.3.9-bin.zip from: https://maven.apache.org/download.cgi | |
#Unzip it to a place on your hard drive, for example ~/bin/apache-maven-3.3.9 | |
#Add the bin directory of the created directory apache-maven-3.3.9 to the PATH environment variable. | |
#In my hidden .bash_profile: | |
# | |
# MAVEN | |
# | |
export PATH=${PATH}:/Users/myusername/bin/apache-maven-3.3.9/bin |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.ladysign.MavenApp</groupId> | |
<artifactId>MavenApp</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>MavenApp Maven Webapp</name> | |
<url>http://maven.apache.org</url> | |
<dependencies> | |
<dependency> |
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
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<!-- Default Sencha Cmd build environment --> | |
<sencha.env>testing</sencha.env> | |
</properties> | |
<profiles> | |
<!-- Development profile --> | |
<profile> | |
<id>development</id> |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.ladysign.MavenApp</groupId> | |
<artifactId>MavenApp</artifactId> | |
<packaging>war</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<name>MavenApp Maven Webapp</name> | |
<url>http://maven.apache.org</url> | |
<developers> |
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
<tstamp> | |
<format property="today" pattern="yyyy-MM-dd"/> | |
</tstamp> | |
<property | |
name="destinationFolder" | |
value="${build.dir}/../../dist/${app.name}/${today}" | |
/> | |
<!-- Example, of how to copy the build folder to a different destination--> |
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
"output": { | |
"base": "${workspace.build.dir}/${build.environment}/${app.name}", | |
"page": "index.html", | |
"manifest": "${build.id}.json", | |
"js": "${build.id}/app.js", | |
"appCache": { | |
"enable": false | |
}, | |
"resources": { | |
"path": "${build.id}/resources", |