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 constructor() { | |
let recordId = '{!Assignment__c.Id}'; | |
let userContext = '{!$User.UITheme}'; | |
$Lightning.use('c:HotelCheckInApp', function _createHotelCheckInComponent() { | |
$.Lightning.createComponent('c:HotelCheckIn', { recordId: recordId }, 'lightningComponent', function _handleCreatedComponent(component) { | |
console.info('HotelCheckIn Lightning Component created'); | |
}); | |
}); | |
}()); |
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
ssh-keyscan -t rsa exmaple.com |
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
From: | |
Chris Barber <cbarber@appcelerator.com> | |
To: | |
"Jerry.Porter@gulfstream.com" <Jerry.Porter@gulfstream.com>, | |
"titans@lists.appcelerator.org" <titans@lists.appcelerator.org>, | |
Date: | |
04/09/2014 01:21 AM | |
Subject: | |
Re: [Appcelerator Titans] Auto increment <version> in tiapp.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
# print current selected Xcode path | |
xcode-select --print-path | |
# switch to another version of Xcode | |
sudo xcode-select --switch /PATH/TO/YOUR/OTHER/XCODE/Xcode45.app | |
# switch back to main Xcode version / installation | |
sudo xcode-select --switch /Applications/Xcode.app |
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, unzip the APK and extract the file /META-INF/ANDROID_.RSA (this file may also be CERT.RSA, but there should only be one .RSA file). | |
# Then issue this command: | |
keytool -printcert -file ANDROID_.RSA | |
# You will get certificate fingerprints like this: | |
# MD5: B3:4F:BE:07:AA:78:24:DC:CA:92:36:FF:AE:8C:17:DB | |
# SHA1: 16:59:E7:E3:0C:AA:7A:0D:F2:0D:05:20:12:A8:85:0B:32:C5:4F:68 | |
# Signature algorithm name: SHA1withRSA |
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 isKeyboardOpen = false; // used for the iOS keyboard open detection later. | |
// handles the iOS keyboard change event. | |
function onKeyboardFrameChanged(event) { | |
// first, calculate the new position. | |
var newListBottomPosition; | |
if (isKeyboardOpen) { | |
isKeyboardOpen = false; |
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 FileModel = function() { | |
this.saveImage = function($blob, $callback, $error) { | |
console.log("saveImage", $blob.mimeType); | |
var request = Titanium.Network.createHTTPClient({ | |
onload: function(e) { | |
$callback(JSON.parse(this.responseText)); | |
}, | |
onerror: function(e) { | |
$error(e.message); |
NewerOlder