View testCode.js
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
$.ajax({ | |
url: "http://fiddle.jshell.net/favicon.png", | |
beforeSend: function( xhr ) { | |
xhr.overrideMimeType( "text/plain; charset=x-user-defined" ); | |
} | |
}) | |
.done(function( data ) { | |
if ( console && console.log ) { | |
console.log( "Sample of data:", data.slice( 0, 100 ) ); | |
} |
View txtbb10
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
http://supportforums.blackberry.com/t5/Cascades-Development/How-to-invoke-quot-Text-Messages-quot-app-to-compose-sms-from/td-p/2252489 |
View gist:5688010
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
#replace test.myaddress.com with subdomain | |
<VirtualHost *:80> | |
ServerName test.my.address.com | |
ServerAdmin webmaster@my.address.com | |
DocumentRoot /var/www/test.my.address.com/ | |
<Directory /> | |
Options FollowSymLinks |
View speakers.xml
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
<root> | |
<item name="Travis Allen" title="Software Developer, BlackBerry" image="http://www.blackberryjamconference.com/assets/img/content/speaker-no-photo.jpg" details="Travis is a software developer at BlackBerry with over 7 years of experience. He works on a team focused on the developer experience inside Momentics providing plugins to enhance productivity." fullpro="http://www.blackberryjamconference.com/americas/content/speakers/breakout/6824/travis-allen" /> | |
<item name="Tom Anderson" title="Mgr, BlackBerry Developer Evangelist, BlackBerry" image="http://cdn.images.rimconferenceresources.com/201301/mobileapi/speaker/photo/1601/userPhoto.jpg" details="Tom Anderson – Senior BlackBerry Developer Evangelist – Tom started his career in 1986 with Microsoft Corporation where he was a Program Manager on such products as Windows 3.11, Windows for Workgroups, Windows 95, and Internet Explorer. He was also ..." fullpro="http://www.blackberryjamconference.com/americas/content/speakers/breakout/2656/tom-anderson" /> |
View doc.link
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
http://qt-project.org/wiki/How_to_expose_lists_to_QML |
View gist:5546149
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
http://jsfiddle.net/burkeholland/JwDZN/light/ |
View dappend.link
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
http://jsfiddle.net/JWFu5/4/ |
View bb10 detect
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
<?php | |
/** | |
* Mobile Browser Detection for PHP. | |
*/ | |
$useragent = $_SERVER['HTTP_USER_AGENT']; | |
if (preg_match('/BB10/i',$useragent)) | |
{ | |
echo 'BLACKBERRY 10, <br />'; | |
echo $useragent; |
View sortarray
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 numberArray = [40, 1, 5, 200]; | |
function compareNumbers(a, b) { | |
return a - b; | |
} | |
document.getElementById("sorted").innerHTML =numberArray.sort(compareNumbers); |
View .pro
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
LIBS += -lbbsystem |
NewerOlder