This file contains hidden or 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
很多老的Android设备都无法使用navigator定位到,试了无数的方法,最后这个插件成功了https://github.com/hewz/cordova-baidu-location |
This file contains hidden or 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 tried ##stomp-client##, ##stompy## to receive message from ActiveMQ.(ActiveMQ 5.14.0) | |
Only [##stompit##](https://www.npmjs.com/package/stompit) works for me on ack the message to remove message message from pending messages. |
This file contains hidden or 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 apt-get install software-properties-common | |
sudo apt-add-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
echo "export JAVA_HOME=/usr/lib/jvm/java-8-oracle/" >> ~/.bash_profile | |
source ~/.bash_profile | |
wget "http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.14.0/apache-activemq-5.14.0-bin.tar.gz&action=download" -O apache-activemq-5.14.0-bin.tar.gz | |
tar xvfz apache-activemq-5.14.0-bin.tar.gz | |
cd apache-activemq-5.14.0 |
This file contains hidden or 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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
var getAllValues = function (className, fieldName) { | |
var promise = new AV.Promise(); | |
var TargetClass = AV.Object.extend(className); | |
var values = []; | |
var getNextValue = function () { | |
var query = new AV.Query(TargetClass); | |
query.notContainedIn(values); | |
query.first().then(function (obj) { | |
if (obj) { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script src="http://www.chartjs.org/assets/Chart.min.js"></script> | |
</head> | |
<body> | |
<canvas id="mychart"></canvas> | |
<script> |
This file contains hidden or 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
Sunshine Library API {#welcome} | |
===================== | |
This describes the resources published via HTTP API by [**Sunshine Library**](http://www.sunshine-library.org). If you have any problem or request please discuss in our [**branch**](http://branch.com/b/sunshine-library-tech-architecture/invite_link/B8_nBATbJxjB1Q). | |
> **NOTE:** This is a very early draft of what it promises | |
So it might be a good idea to join us :) | |
---------- |
This file contains hidden or 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
> [email protected] install /usr/local/lib/node_modules/karma-phantomjs-launcher/node_modules/phantomjs | |
> node install.js | |
Downloading http://phantomjs.googlecode.com/files/phantomjs-1.9.1-macosx.zip | |
Saving to /usr/local/lib/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/phantomjs/phantomjs-1.9.1-macosx.zip | |
Receiving... | |
/usr/local/lib/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/install.js:215 | |
deferred.reject('Error with http request: ' + util.inspect(response.head | |
^ |
NewerOlder