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
/* | |
* This is a wrapper for AWS Dynamo DB Document Client. | |
* License: MIT License | |
* | |
* required AWS SDK And jQuery. | |
* However, it is a good idea to replace Deferred with Promise. | |
* | |
* How to use. | |
* | |
* 1, Insert HTML tag. |
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
//***************************************************************** | |
// Arduino IDE 1.6.11 | |
// WS2822S for Arduino | |
// on ESPr Developer(ESP8266) | |
// 2016/11/03 | |
//****************************************************************** | |
#define ADDR_PIN 14 | |
#define LED_PIN 12 |
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
*** zabbix.spec.20140508 2014-04-08 15:37:13.000000000 +0000 | |
--- zabbix.spec 2014-05-09 07:58:24.957174877 +0000 | |
*************** | |
*** 27,40 **** | |
%if %{build_server} | |
BuildRequires : mysql-devel | |
BuildRequires : postgresql-devel | |
- BuildRequires : net-snmp-devel | |
BuildRequires : openldap-devel | |
BuildRequires : gnutls-devel |
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
/* | |
* Facebookアプリ風のメニューを作る。 | |
* Titanium Studio で新規プロジェクトを作成して、 | |
* その際に Master / Detail Application テンプレートを指定してください。 | |
* その後、このファイルを ui/handheld/ios/ApplicationWindow.js に上書きします。 | |
* メニュー用のTableViewは使用者が作成・追加してください。 | |
*/ | |
function ApplicationWindow() { |
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
/* | |
* Titanium Mobile のView配置を横向きに対応させる | |
* tiapp.xmlに以下を追加してください。※追加後はProjectのCleanを忘れずに。 | |
* <iphone> | |
* <orientations device="iphone"> | |
* <orientation>Ti.UI.PORTRAIT</orientation> | |
* <orientation>Ti.UI.LANDSCAPE_LEFT</orientation> | |
* <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation> | |
* </orientations> | |
* </iphone> |
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
/* | |
* Titanium Mobile のView配置を横向きに対応させる(コレジャナイ!ソースコード) | |
* tiapp.xmlに以下を追加してください。※追加後はProjectのCleanを忘れずに。 | |
* <iphone> | |
* <orientations device="iphone"> | |
* <orientation>Ti.UI.PORTRAIT</orientation> | |
* <orientation>Ti.UI.LANDSCAPE_LEFT</orientation> | |
* <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation> | |
* </orientations> | |
* </iphone> |
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 ApplicationWindow() { | |
var MainView = require('ui/common/MainView') | |
MenuTableView = require('ui/common/MenuTableView'); | |
var self = Ti.UI.createWindow(); | |
var mainView = new MainView(), | |
menuTable = new MenuTableView(); |
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 ADCNendView() { | |
(function() { | |
Ti.App.Properties.setInt('AD_TOP', 0); | |
Ti.App.Properties.setInt('AD_LEFT', 0); | |
Ti.App.Properties.setInt('AD_HEIGHT', 320); | |
Ti.App.Properties.setInt('AD_WIDTH', 50); | |
Ti.App.Properties.setBool('TEST_OR_DEVELOPMENT', | |
((Ti.App.deployType=='test'||Ti.App.deployType=='development')?true:false)); | |
// NEND/Appbank |
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 ADCAmoadView() { | |
(function() { | |
Ti.App.Properties.setInt('AD_TOP', 0); | |
Ti.App.Properties.setInt('AD_LEFT', 0); | |
Ti.App.Properties.setInt('AD_HEIGHT', 320); | |
Ti.App.Properties.setInt('AD_WIDTH', 50); | |
Ti.App.Properties.setBool('TEST_OR_DEVELOPMENT', | |
((Ti.App.deployType=='test'||Ti.App.deployType=='development')?true:false)); | |
Ti.App.Properties.setString('AMOAD_SID', '<<YOUR SID HERE>>'); |
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 ADCAdmobView() { | |
(function() { | |
Ti.App.Properties.setInt('AD_TOP', 0); | |
Ti.App.Properties.setInt('AD_LEFT', 0); | |
Ti.App.Properties.setInt('AD_HEIGHT', 320); | |
Ti.App.Properties.setInt('AD_WIDTH', 50); | |
Ti.App.Properties.setInt('ADMOB_ZINDEX', 20); | |
Ti.App.Properties.setBool('TEST_OR_DEVELOPMENT', | |
((Ti.App.deployType=='test'||Ti.App.deployType=='development')?true:false)); |
NewerOlder