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
/* | |
* Common JS module to help with Ti Event listener handling. | |
* @author Neville Dastur | |
* @url http://www.clinsoftsolutions.com | |
* | |
* Acknowledgements go to https://gist.github.com/minhnc/2333095 as my starting point on this | |
*/ | |
exports.registerEventListener = function(obj, event, callabck) { | |
if ( typeof obj._eventListeners == 'undefined' ) { |
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
#! /bin/sh | |
# | |
# This file is based on https://gist.github.com/eric-hu/4952258 | |
# which runs on linux | |
# | |
# Run this from the folder you want to be the parent of your docs | |
# By default, generated docs go into | |
# titanium_mobile/dist/apidoc/ti_mobile_docs/ | |
# | |
# This can be changed below |
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
/* | |
* V4L2 video capture example | |
* | |
* This program can be used and distributed without restrictions. | |
* | |
* This program is provided with the V4L2 API | |
* see http://linuxtv.org/docs.php for more information | |
*/ | |
#include <stdio.h> |
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
#!/bin/bash | |
# make a backup file with the module GUID | |
# just in case there is some funny script error | |
# it will be available here | |
if [ ! -e "./moduleGUID_Backup.txt" ] | |
then | |
grep -i guid manifest > ./moduleGUID_Backup.txt | |
fi |
NewerOlder