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
/**************************************************************************** | |
** | |
** Reference: https://bitbucket.org/gregschlom/qmlscrollbar/src/tip/ScrollBar.qml | |
** | |
****************************************************************************/ | |
import QtQuick 1.1 | |
Rectangle { |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
function Stack() { try { throw Error() } catch(ex) { return ex.stack } } | |
print( Stack() ); | |
/* | |
PRINTS: | |
Error()@:0 | |
Stack()@test.js:1 | |
@test.js:3 | |
/* |
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
var Podio = require('./podio'); | |
Podio.getAccessToken(function(accessToken) { | |
deviceInfoList.forEach( function( deviceInfo ) { | |
Podio.search( deviceInfo.properties[ 0 ].value, accessToken, function( searchResult ) { | |
console.log( searchResult ); | |
}); |
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
<html ng-app="application" preloader="splash"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Preloader Experiment</title> | |
<script src="http://code.angularjs.org/angular-1.0.0rc10.min.js"></script> | |
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<script src="preloader-0.0.1.js"></script> |
NewerOlder