text:
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:2.0.50727.3053
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace CallButler.Manager.Properties {
    using System;

    /// <summary>
    ///   强类型资源类,用于查找本地化字符串等。
    /// </summary>
    // 此类是由 StronglyTypedResourceBuilder
    // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
    // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
    // (以 /str 作为命令选项),或重新生成 VS 项目。
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class LocalizedStrings {

        private static global::System.Resources.ResourceManager resourceMan;

        private static global::System.Globalization.CultureInfo resourceCulture;

        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal LocalizedStrings() {
        }

        /// <summary>
        ///   返回此类使用的缓存 ResourceManager 实例。
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CallButler.Manager.Properties.LocalizedStrings", typeof(LocalizedStrings).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }

        /// <summary>
        ///   为使用此强类型资源类的所有资源查找
        ///   重写当前线程的 CurrentUICulture 属性。
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }

        /// <summary>
        ///   查找类似 Telephony2 Corporation. All Rights Reserved 的本地化字符串。
        /// </summary>
        internal static string AboutForm_CopyrightPostfix {
            get {
                return ResourceManager.GetString("AboutForm_CopyrightPostfix", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This software trial has expired and is unlicensed 的本地化字符串。
        /// </summary>
        internal static string AboutForm_Expired {
            get {
                return ResourceManager.GetString("AboutForm_Expired", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似
        ///Trial license expires on {0} 的本地化字符串。
        /// </summary>
        internal static string AboutForm_ExpiresOn {
            get {
                return ResourceManager.GetString("AboutForm_ExpiresOn", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This software is licensed free of charge 的本地化字符串。
        /// </summary>
        internal static string AboutForm_FreeLicense {
            get {
                return ResourceManager.GetString("AboutForm_FreeLicense", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Licensed to: {0} 的本地化字符串。
        /// </summary>
        internal static string AboutForm_LicensedTo {
            get {
                return ResourceManager.GetString("AboutForm_LicensedTo", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Manager Version {0} 的本地化字符串。
        /// </summary>
        internal static string AboutForm_ManagerVersion {
            get {
                return ResourceManager.GetString("AboutForm_ManagerVersion", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Server Version {0} 的本地化字符串。
        /// </summary>
        internal static string AboutForm_ServerVersion {
            get {
                return ResourceManager.GetString("AboutForm_ServerVersion", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Add a new option... 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_AddNewOption {
            get {
                return ResourceManager.GetString("CallFlowView_AddNewOption", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Add-on Module 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_AddonModule {
            get {
                return ResourceManager.GetString("CallFlowView_AddonModule", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Add/Remove Languages... 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_AddRemoveLanguages {
            get {
                return ResourceManager.GetString("CallFlowView_AddRemoveLanguages", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Answer an incoming call 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_AnswerCall {
            get {
                return ResourceManager.GetString("CallFlowView_AnswerCall", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Ask the caller to choose a language 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_AskChooseLanguage {
            get {
                return ResourceManager.GetString("CallFlowView_AskChooseLanguage", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The caller dials an option 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_CallerDials {
            get {
                return ResourceManager.GetString("CallFlowView_CallerDials", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Settings... 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_CallSettings {
            get {
                return ResourceManager.GetString("CallFlowView_CallSettings", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Change... 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_Change {
            get {
                return ResourceManager.GetString("CallFlowView_Change", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Choose a Language 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_ChooseLanguage {
            get {
                return ResourceManager.GetString("CallFlowView_ChooseLanguage", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure you want to delete this department? 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_ConfirmDeleteDepartment {
            get {
                return ResourceManager.GetString("CallFlowView_ConfirmDeleteDepartment", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Execute a Custom Script 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_CustomScript {
            get {
                return ResourceManager.GetString("CallFlowView_CustomScript", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Dial {0} for {1} 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_Dial {
            get {
                return ResourceManager.GetString("CallFlowView_Dial", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Dial an Option 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_DialAnOption {
            get {
                return ResourceManager.GetString("CallFlowView_DialAnOption", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Explain the available options 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_ExplainOptions {
            get {
                return ResourceManager.GetString("CallFlowView_ExplainOptions", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Extension appears to have been deleted 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_ExtDeleted {
            get {
                return ResourceManager.GetString("CallFlowView_ExtDeleted", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 For {0}, press {1}.
        ///
        /// 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_ForDepartment {
            get {
                return ResourceManager.GetString("CallFlowView_ForDepartment", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 For a company directory, press pound.
        ///
        ///To repeat this menu, press star. 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_ForDirectory {
            get {
                return ResourceManager.GetString("CallFlowView_ForDirectory", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 If you know your party's extension, you may dial it at any time.
        ///
        /// 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_KnowParty {
            get {
                return ResourceManager.GetString("CallFlowView_KnowParty", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Since you have made changes to your language options, it is recommended that you update your Choose a Language Greeting to reflect these changes. 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_LanguageChanges {
            get {
                return ResourceManager.GetString("CallFlowView_LanguageChanges", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Main Menu.
        ///
        /// 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_MainMenu {
            get {
                return ResourceManager.GetString("CallFlowView_MainMenu", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Main Menu Greeting 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_MainMenuGreeting {
            get {
                return ResourceManager.GetString("CallFlowView_MainMenuGreeting", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Since you have made changes to your menu options, it is recommended that you update your Main Menu Greeting to reflect these changes. 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_MenuOptionChanges {
            get {
                return ResourceManager.GetString("CallFlowView_MenuOptionChanges", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 New Department 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_NewDepartment {
            get {
                return ResourceManager.GetString("CallFlowView_NewDepartment", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Pick up the call... 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_PickUpCall {
            get {
                return ResourceManager.GetString("CallFlowView_PickUpCall", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Play a Greeting 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_PlayGreeting {
            get {
                return ResourceManager.GetString("CallFlowView_PlayGreeting", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Transfer to Extension {0} 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_TransferExt {
            get {
                return ResourceManager.GetString("CallFlowView_TransferExt", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Transfer to {0} 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_TransferNum {
            get {
                return ResourceManager.GetString("CallFlowView_TransferNum", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Unknown Extension 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_UnknownExt {
            get {
                return ResourceManager.GetString("CallFlowView_UnknownExt", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Welcome your caller 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_WelcomeCaller {
            get {
                return ResourceManager.GetString("CallFlowView_WelcomeCaller", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Welcome Greeting 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_WelcomeGreeting {
            get {
                return ResourceManager.GetString("CallFlowView_WelcomeGreeting", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Welcome to [Your Company Name] 的本地化字符串。
        /// </summary>
        internal static string CallFlowView_WelcomeTo {
            get {
                return ResourceManager.GetString("CallFlowView_WelcomeTo", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure you want to clear the call history? 的本地化字符串。
        /// </summary>
        internal static string CallHistoryView_ConfirmClear {
            get {
                return ResourceManager.GetString("CallHistoryView_ConfirmClear", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Unable to find an Outlook contact that matches this caller. Would you like to create a new contact with this information? 的本地化字符串。
        /// </summary>
        internal static string CallHistoryView_ContactNotFound {
            get {
                return ResourceManager.GetString("CallHistoryView_ContactNotFound", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 No Contact Found 的本地化字符串。
        /// </summary>
        internal static string CallHistoryView_NoContactFound {
            get {
                return ResourceManager.GetString("CallHistoryView_NoContactFound", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Changing CallButler Edition. Please wait while the service restarts. 的本地化字符串。
        /// </summary>
        internal static string Common_ChangingEdition {
            get {
                return ResourceManager.GetString("Common_ChangingEdition", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Close 的本地化字符串。
        /// </summary>
        internal static string Common_Close {
            get {
                return ResourceManager.GetString("Common_Close", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Confirm Delete 的本地化字符串。
        /// </summary>
        internal static string Common_ConfirmDelete {
            get {
                return ResourceManager.GetString("Common_ConfirmDelete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Delete 的本地化字符串。
        /// </summary>
        internal static string Common_Delete {
            get {
                return ResourceManager.GetString("Common_Delete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Edit... 的本地化字符串。
        /// </summary>
        internal static string Common_Edit {
            get {
                return ResourceManager.GetString("Common_Edit", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Email Error 的本地化字符串。
        /// </summary>
        internal static string Common_EmailError {
            get {
                return ResourceManager.GetString("Common_EmailError", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 There was a problem sending an Email to {0}
        ///
        ///Please check your mail settings and try again.
        ///
        ///Error Detail:
        ///{1} 的本地化字符串。
        /// </summary>
        internal static string Common_EmailProblem {
            get {
                return ResourceManager.GetString("Common_EmailProblem", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Email Sent 的本地化字符串。
        /// </summary>
        internal static string Common_EmailSent {
            get {
                return ResourceManager.GetString("Common_EmailSent", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Email was successfully sent to  的本地化字符串。
        /// </summary>
        internal static string Common_EmailSentTo {
            get {
                return ResourceManager.GetString("Common_EmailSentTo", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Please enter a valid Email address 的本地化字符串。
        /// </summary>
        internal static string Common_EnterValidEmail {
            get {
                return ResourceManager.GetString("Common_EnterValidEmail", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Invalid Email Address 的本地化字符串。
        /// </summary>
        internal static string Common_InvalidEmail {
            get {
                return ResourceManager.GetString("Common_InvalidEmail", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Please enter your name. 的本地化字符串。
        /// </summary>
        internal static string Common_NameRequired {
            get {
                return ResourceManager.GetString("Common_NameRequired", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 No 的本地化字符串。
        /// </summary>
        internal static string Common_No {
            get {
                return ResourceManager.GetString("Common_No", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Password Mismatch 的本地化字符串。
        /// </summary>
        internal static string Common_PasswordMismatch {
            get {
                return ResourceManager.GetString("Common_PasswordMismatch", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Passwords do not match. Please re-enter your password and confirm it. 的本地化字符串。
        /// </summary>
        internal static string Common_PasswordsDoNotMatch {
            get {
                return ResourceManager.GetString("Common_PasswordsDoNotMatch", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Permission Denied 的本地化字符串。
        /// </summary>
        internal static string Common_PermissionDenied {
            get {
                return ResourceManager.GetString("Common_PermissionDenied", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Please enter your phone number. 的本地化字符串。
        /// </summary>
        internal static string Common_PhoneNumberRequired {
            get {
                return ResourceManager.GetString("Common_PhoneNumberRequired", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Please select a country. 的本地化字符串。
        /// </summary>
        internal static string Common_SelectCountry {
            get {
                return ResourceManager.GetString("Common_SelectCountry", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Sending data... 的本地化字符串。
        /// </summary>
        internal static string Common_SendingData {
            get {
                return ResourceManager.GetString("Common_SendingData", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Yes 的本地化字符串。
        /// </summary>
        internal static string Common_Yes {
            get {
                return ResourceManager.GetString("Common_Yes", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Your telephone provider settings have been successfully imported. 的本地化字符串。
        /// </summary>
        internal static string Configruation_ProviderSettingsLoaded {
            get {
                return ResourceManager.GetString("Configruation_ProviderSettingsLoaded", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This CallButler configuration file appears to be invalid and cannot be loaded. 的本地化字符串。
        /// </summary>
        internal static string Configruation_UnableToLoad {
            get {
                return ResourceManager.GetString("Configruation_UnableToLoad", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Add-on Module Settings 的本地化字符串。
        /// </summary>
        internal static string DepartmentForm_AddonModuleSettings {
            get {
                return ResourceManager.GetString("DepartmentForm_AddonModuleSettings", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Extension Settings 的本地化字符串。
        /// </summary>
        internal static string DepartmentForm_ExtensionSettings {
            get {
                return ResourceManager.GetString("DepartmentForm_ExtensionSettings", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Message Settings 的本地化字符串。
        /// </summary>
        internal static string DepartmentForm_MessageSettings {
            get {
                return ResourceManager.GetString("DepartmentForm_MessageSettings", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Number Settings 的本地化字符串。
        /// </summary>
        internal static string DepartmentForm_NumberSettings {
            get {
                return ResourceManager.GetString("DepartmentForm_NumberSettings", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Script Settings 的本地化字符串。
        /// </summary>
        internal static string DepartmentForm_ScriptSettings {
            get {
                return ResourceManager.GetString("DepartmentForm_ScriptSettings", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 A test Email was successfully sent to {0}
        ///
        ///Check your Email in a few minutes to confirm the receipt of this message. 的本地化字符串。
        /// </summary>
        internal static string EmailUtils_EmailSuccess {
            get {
                return ResourceManager.GetString("EmailUtils_EmailSuccess", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This is a test message sent by CallButler.
        ///
        ///If you received this Email, your SMTP Email settings are correct. 的本地化字符串。
        /// </summary>
        internal static string EmailUtils_TestEmail {
            get {
                return ResourceManager.GetString("EmailUtils_TestEmail", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 CallButler Test Message 的本地化字符串。
        /// </summary>
        internal static string EmailUtils_TestEmailSubject {
            get {
                return ResourceManager.GetString("EmailUtils_TestEmailSubject", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Contact your administrator 的本地化字符串。
        /// </summary>
        internal static string ExtensionEditorForm_ContactAdmin {
            get {
                return ResourceManager.GetString("ExtensionEditorForm_ContactAdmin", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Email Configuration 的本地化字符串。
        /// </summary>
        internal static string ExtensionEditorForm_EmailConfiguration {
            get {
                return ResourceManager.GetString("ExtensionEditorForm_EmailConfiguration", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Before sending Emails, CallButler must be configured for your SMTP Email Server.
        ///
        ///Would you like to do this now? 的本地化字符串。
        /// </summary>
        internal static string ExtensionEditorForm_EnterSMTP {
            get {
                return ResourceManager.GetString("ExtensionEditorForm_EnterSMTP", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Please specify an Email address to which to send this Email 的本地化字符串。
        /// </summary>
        internal static string ExtensionEditorForm_PleaseSpecifyEmail {
            get {
                return ResourceManager.GetString("ExtensionEditorForm_PleaseSpecifyEmail", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Your new telephone extension 的本地化字符串。
        /// </summary>
        internal static string ExtensionEditorForm_YourNewExtension {
            get {
                return ResourceManager.GetString("ExtensionEditorForm_YourNewExtension", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This version of CallButler does not allow more than {0} extensions.
        ///If you would like to add more extensions, you may need to upgrade. 的本地化字符串。
        /// </summary>
        internal static string ExtensionsView_ExtLimit {
            get {
                return ResourceManager.GetString("ExtensionsView_ExtLimit", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure want to delete this extension?
        ///
        ///This will also delete any voicemail boxes associated with this extension. 的本地化字符串。
        /// </summary>
        internal static string ExtensionView_ConfirmDelete {
            get {
                return ResourceManager.GetString("ExtensionView_ConfirmDelete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Extension Number Conflict 的本地化字符串。
        /// </summary>
        internal static string ExtensionView_ExtConflict {
            get {
                return ResourceManager.GetString("ExtensionView_ExtConflict", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The extension number {0} is already taken. This extension number has been changed to {1} for you. 的本地化字符串。
        /// </summary>
        internal static string ExtensionView_ExtTaken {
            get {
                return ResourceManager.GetString("ExtensionView_ExtTaken", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Retreiving sounds... 的本地化字符串。
        /// </summary>
        internal static string GreetingUtils_GettingSounds {
            get {
                return ResourceManager.GetString("GreetingUtils_GettingSounds", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Saving sounds... 的本地化字符串。
        /// </summary>
        internal static string GreetingUtils_SavingSounds {
            get {
                return ResourceManager.GetString("GreetingUtils_SavingSounds", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The username and/or password you have specified is invalid. Please try again.  的本地化字符串。
        /// </summary>
        internal static string LoginForm_InvalidLogin {
            get {
                return ResourceManager.GetString("LoginForm_InvalidLogin", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Invalid Login 的本地化字符串。
        /// </summary>
        internal static string LoginForm_InvalidLoginTitle {
            get {
                return ResourceManager.GetString("LoginForm_InvalidLoginTitle", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The password you entered appears to be incorrect.
        ///
        ///Please try again. 的本地化字符串。
        /// </summary>
        internal static string MainForm_BadPassword {
            get {
                return ResourceManager.GetString("MainForm_BadPassword", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 CallButler Service 的本地化字符串。
        /// </summary>
        internal static string MainForm_CallButlerService {
            get {
                return ResourceManager.GetString("MainForm_CallButlerService", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Changes saved 的本地化字符串。
        /// </summary>
        internal static string MainForm_ChangesSaved {
            get {
                return ResourceManager.GetString("MainForm_ChangesSaved", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure you want to turn on expert mode?
        ///
        ///Expert mode should only be used by advanced users and may temporarily disable CallButler from answering calls.
        ///     的本地化字符串。
        /// </summary>
        internal static string MainForm_ChangeToExpertMode {
            get {
                return ResourceManager.GetString("MainForm_ChangeToExpertMode", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Change to Expert Mode? 的本地化字符串。
        /// </summary>
        internal static string MainForm_ChangeToExpertModeCaption {
            get {
                return ResourceManager.GetString("MainForm_ChangeToExpertModeCaption", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Connected to {0} 的本地化字符串。
        /// </summary>
        internal static string MainForm_ConnectedTo {
            get {
                return ResourceManager.GetString("MainForm_ConnectedTo", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Connecting to {0} 的本地化字符串。
        /// </summary>
        internal static string MainForm_ConnectingTo {
            get {
                return ResourceManager.GetString("MainForm_ConnectingTo", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 You have entered an invalid license key. Please try again. 的本地化字符串。
        /// </summary>
        internal static string MainForm_EnteredBadLicense {
            get {
                return ResourceManager.GetString("MainForm_EnteredBadLicense", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 You have enetered an expired trial license. Please try again. 的本地化字符串。
        /// </summary>
        internal static string MainForm_EnteredExpiredLicense {
            get {
                return ResourceManager.GetString("MainForm_EnteredExpiredLicense", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This trial version of CallButler has expired and will no longer answer calls 的本地化字符串。
        /// </summary>
        internal static string MainForm_Expired {
            get {
                return ResourceManager.GetString("MainForm_Expired", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This trial license will expire on {0} 的本地化字符串。
        /// </summary>
        internal static string MainForm_ExpireOnDate {
            get {
                return ResourceManager.GetString("MainForm_ExpireOnDate", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This trial license for CallButler will expire in {0} day(s) 的本地化字符串。
        /// </summary>
        internal static string MainForm_Expires {
            get {
                return ResourceManager.GetString("MainForm_Expires", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Invalid License Key 的本地化字符串。
        /// </summary>
        internal static string MainForm_InvalidLicenseKey {
            get {
                return ResourceManager.GetString("MainForm_InvalidLicenseKey", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 License Validated 的本地化字符串。
        /// </summary>
        internal static string MainForm_LicenseValidated {
            get {
                return ResourceManager.GetString("MainForm_LicenseValidated", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Loading data... 的本地化字符串。
        /// </summary>
        internal static string MainForm_LoadingData {
            get {
                return ResourceManager.GetString("MainForm_LoadingData", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 No connection 的本地化字符串。
        /// </summary>
        internal static string MainForm_NoConnection {
            get {
                return ResourceManager.GetString("MainForm_NoConnection", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The CallButler Service you are connecting to does not allow management from remote computers. 的本地化字符串。
        /// </summary>
        internal static string MainForm_RemoteManagementError {
            get {
                return ResourceManager.GetString("MainForm_RemoteManagementError", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Remote Management Error 的本地化字符串。
        /// </summary>
        internal static string MainForm_RemoteManagementErrorCaption {
            get {
                return ResourceManager.GetString("MainForm_RemoteManagementErrorCaption", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Saving changes... 的本地化字符串。
        /// </summary>
        internal static string MainForm_SavingChanges {
            get {
                return ResourceManager.GetString("MainForm_SavingChanges", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The CallButler Service does not appear to be installed on this computer.
        ///
        ///If it is installed, you may need to start the service manually. 的本地化字符串。
        /// </summary>
        internal static string MainForm_ServiceNotFound {
            get {
                return ResourceManager.GetString("MainForm_ServiceNotFound", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The CallButler Service does not appear to be running on this computer.
        ///
        ///Would you like to start the CallButler Service? 的本地化字符串。
        /// </summary>
        internal static string MainForm_ServiceNotRunning {
            get {
                return ResourceManager.GetString("MainForm_ServiceNotRunning", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Starting the CallButler Service 的本地化字符串。
        /// </summary>
        internal static string MainForm_StartingService {
            get {
                return ResourceManager.GetString("MainForm_StartingService", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Thank you for registering this copy of CallButler. 的本地化字符串。
        /// </summary>
        internal static string MainForm_ThankYouForReg {
            get {
                return ResourceManager.GetString("MainForm_ThankYouForReg", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Trial License 的本地化字符串。
        /// </summary>
        internal static string MainForm_TrialLicense {
            get {
                return ResourceManager.GetString("MainForm_TrialLicense", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The CallButler service you are trying to connect to is not available.
        ///
        ///Please check to make sure the server name or IP address is correct and try again. 的本地化字符串。
        /// </summary>
        internal static string MainForm_UnableToConnect {
            get {
                return ResourceManager.GetString("MainForm_UnableToConnect", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 The CallButler User Manual does not appear to be installed on this computer. 的本地化字符串。
        /// </summary>
        internal static string MainForm_UnableToFindUserManual {
            get {
                return ResourceManager.GetString("MainForm_UnableToFindUserManual", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Waiting for CallButler Service to start. 的本地化字符串。
        /// </summary>
        internal static string MainForm_WaitingForService {
            get {
                return ResourceManager.GetString("MainForm_WaitingForService", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure you want to remove the selected hold music? 的本地化字符串。
        /// </summary>
        internal static string MusicSettings_ConfirmRemoveMusic {
            get {
                return ResourceManager.GetString("MusicSettings_ConfirmRemoveMusic", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure you want to delete this call personalization? 的本地化字符串。
        /// </summary>
        internal static string PersonalizedGreetingView_ConfirmDelete {
            get {
                return ResourceManager.GetString("PersonalizedGreetingView_ConfirmDelete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 &Finish 的本地化字符串。
        /// </summary>
        internal static string PrebuiltConfigForm_Finish {
            get {
                return ResourceManager.GetString("PrebuiltConfigForm_Finish", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 &Next > 的本地化字符串。
        /// </summary>
        internal static string PrebuiltConfigForm_Next {
            get {
                return ResourceManager.GetString("PrebuiltConfigForm_Next", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Initializing... 的本地化字符串。
        /// </summary>
        internal static string Program_Initializing {
            get {
                return ResourceManager.GetString("Program_Initializing", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure you want to delete this provider? 的本地化字符串。
        /// </summary>
        internal static string ProvidersView_ConfirmDelete {
            get {
                return ResourceManager.GetString("ProvidersView_ConfirmDelete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Is Receptionist 的本地化字符串。
        /// </summary>
        internal static string Receptionist_IsReceptionist {
            get {
                return ResourceManager.GetString("Receptionist_IsReceptionist", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Print Error 的本地化字符串。
        /// </summary>
        internal static string ReportPrinter_PrintError {
            get {
                return ResourceManager.GetString("ReportPrinter_PrintError", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Unable to print report.
        ///
        /// 的本地化字符串。
        /// </summary>
        internal static string ReportPrinter_UnableToPrint {
            get {
                return ResourceManager.GetString("ReportPrinter_UnableToPrint", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Are you sure want to delete this script schedule? 的本地化字符串。
        /// </summary>
        internal static string ScriptScheduleView_ConfirmDelete {
            get {
                return ResourceManager.GetString("ScriptScheduleView_ConfirmDelete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 New Script Schedule 的本地化字符串。
        /// </summary>
        internal static string ScriptScheduleView_NewSchedule {
            get {
                return ResourceManager.GetString("ScriptScheduleView_NewSchedule", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Uploading music...
        ///This may take a few moments. 的本地化字符串。
        /// </summary>
        internal static string SettingsView_UploadingMusic {
            get {
                return ResourceManager.GetString("SettingsView_UploadingMusic", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Unknown Caller 的本地化字符串。
        /// </summary>
        internal static string SummaryView_UnkownCaller {
            get {
                return ResourceManager.GetString("SummaryView_UnkownCaller", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Call Transfer 的本地化字符串。
        /// </summary>
        internal static string TestDriveView_CallTransfer {
            get {
                return ResourceManager.GetString("TestDriveView_CallTransfer", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 CallButler Test Call 的本地化字符串。
        /// </summary>
        internal static string TestDriveView_CBTestCall {
            get {
                return ResourceManager.GetString("TestDriveView_CBTestCall", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Connected 的本地化字符串。
        /// </summary>
        internal static string TestDriveView_Connected {
            get {
                return ResourceManager.GetString("TestDriveView_Connected", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Press the call button to begin... 的本地化字符串。
        /// </summary>
        internal static string TestDriveView_PressToCall {
            get {
                return ResourceManager.GetString("TestDriveView_PressToCall", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Ready for Call 的本地化字符串。
        /// </summary>
        internal static string TestDriveView_ReadyForCall {
            get {
                return ResourceManager.GetString("TestDriveView_ReadyForCall", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 This call would now be transferred to {0} but this test cannot simulate that.
        ///
        ///The call will now hang up. 的本地化字符串。
        /// </summary>
        internal static string TestDriveView_TransferSim {
            get {
                return ResourceManager.GetString("TestDriveView_TransferSim", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Your new version of CallButler has been downloaded.
        ///
        ///Would you like to install this new version now? 的本地化字符串。
        /// </summary>
        internal static string VersionCheckeForm_FinishedDownload {
            get {
                return ResourceManager.GetString("VersionCheckeForm_FinishedDownload", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Download Complete 的本地化字符串。
        /// </summary>
        internal static string VersionCheckerForm_DownloadComplete {
            get {
                return ResourceManager.GetString("VersionCheckerForm_DownloadComplete", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Download Error 的本地化字符串。
        /// </summary>
        internal static string VersionCheckerForm_DownloadError {
            get {
                return ResourceManager.GetString("VersionCheckerForm_DownloadError", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 Downloading the latest version of CallButler 的本地化字符串。
        /// </summary>
        internal static string VersionCheckerForm_Downloading {
            get {
                return ResourceManager.GetString("VersionCheckerForm_Downloading", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 You are not running the latest version of CallButler.
        ///We recommend that you download the latest version. 的本地化字符串。
        /// </summary>
        internal static string VersionCheckerForm_NotOnLatest {
            get {
                return ResourceManager.GetString("VersionCheckerForm_NotOnLatest", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 There was a problem downloading the new version of CallButler. Please contact support@callbutler.com. 的本地化字符串。
        /// </summary>
        internal static string VersionCheckerForm_ProblemDownloading {
            get {
                return ResourceManager.GetString("VersionCheckerForm_ProblemDownloading", resourceCulture);
            }
        }

        /// <summary>
        ///   查找类似 You are running the latest version of CallButler. 的本地化字符串。
        /// </summary>
        internal static string VersionCheckerForm_RunningLatest {
            get {
                return ResourceManager.GetString("VersionCheckerForm_RunningLatest", resourceCulture);
            }
        }
    }
}


text:
package com.tomschneider.whackamole;

import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import java.util.ArrayList;

/**
 * Created by thomas on 5/6/15.
 */
public class HighScoreAdapter extends BaseAdapter {

    private static final String TAG = "HighScoreAdapter";
    Context mContext;
    ArrayList<HighScore> highScoreList = new ArrayList<HighScore>();

    public HighScoreAdapter(Context context, ArrayList<HighScore> highScores) {
        mContext = context;
        highScoreList = highScores;
    }

    @Override
    public int getCount() {
        if (highScoreList != null) {
            return highScoreList.size();
        } else {
            return 0;
        }
    }

    @Override
    public Object getItem(int position) {
        return highScoreList.get(position);
    }

    @Override
    public long getItemId(int position) {
        return highScoreList.get(position).getId();
    }

    static class ViewHolder {
        TextView position;
        TextView name;
        TextView score;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        //HighScoreView hsv;
        LinearLayout itemLayout = (LinearLayout) LayoutInflater.from(mContext).inflate(R.layout.view_highscore, parent, false);
        ViewHolder holder = null;
        //LayoutInflater inflater = getLayoutInflater();
        if (convertView == null) {
            //hsv = new HighScoreView(mContext, highScoreList.get(position), position);
            convertView = (View) itemLayout;
            holder = new ViewHolder();
        } else {
            holder = (ViewHolder) convertView.getTag();
        }
        /*hsv = (HighScoreView) convertView;
        hsv.setPosition(position);
        hsv.setName(highScoreList.get(position).getName());
        hsv.setScore(highScoreList.get(position).getScore());
        return hsv;*/

        holder.position = (TextView) convertView.findViewById(R.id.highscore_position);
        holder.position.setText(Integer.toString(position + 1));

        holder.name = (TextView) convertView.findViewById(R.id.highscore_name);
        holder.name.setText(highScoreList.get(position).getName());

        holder.score = (TextView) convertView.findViewById(R.id.highscore_score);
        Log.d(TAG, holder.score.toString());
        Log.d(TAG, "Highscore for position " + position + ": " + Integer.toString(highScoreList.get(position).getScore()));
        holder.score.setText(Integer.toString(highScoreList.get(position).getScore()));
        //holder.score.setText("Test");

        convertView.setTag(holder);
        return convertView;
    }
}

redpajama_set_name: RedPajamaGithub


text:
package fi.aalto.trafficsense.trafficsense.util;

import com.google.gson.annotations.SerializedName;

/**
 * Location data object used in transmission
 */
public final class LocationData {

    private static final String KEY_ACCURACY = "mAccuracy";
    private static final String KEY_LATITUDE = "mLatitude";
    private static final String KEY_LONGITUDE = "mLongitude";
    private static final String KEY_TIME = "mTime";
    private static final String[] KEYS = {KEY_ACCURACY, KEY_LATITUDE, KEY_LONGITUDE, KEY_TIME};

    @SerializedName("accuracy")
    public final double mAccuracy;
    @SerializedName("latitude")
    public final double mLatitude;
    @SerializedName("longitude")
    public final double mLongitude;
    @SerializedName("time")
    public final long mTime;

    public LocationData(double accuracy, double latitude, double longitude, long time) {
        this.mAccuracy = accuracy;
        this.mLatitude = latitude;
        this.mLongitude = longitude;
        this.mTime = time;
    }

    @Override
    public String toString() {
        return "LocationData{" +
                "mAccuracy=" + mAccuracy +
                ", mLatitude=" + mLatitude +
                ", mLongitude=" + mLongitude +
                ", mTime=" + mTime +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        LocationData that = (LocationData) o;

        if (Double.compare(that.mAccuracy, mAccuracy) != 0) return false;
        if (Double.compare(that.mLatitude, mLatitude) != 0) return false;
        if (Double.compare(that.mLongitude, mLongitude) != 0) return false;
        if (mTime != that.mTime) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result;
        long temp;
        temp = Double.doubleToLongBits(mAccuracy);
        result = (int) (temp ^ (temp >>> 32));
        temp = Double.doubleToLongBits(mLatitude);
        result = 31 * result + (int) (temp ^ (temp >>> 32));
        temp = Double.doubleToLongBits(mLongitude);
        result = 31 * result + (int) (temp ^ (temp >>> 32));
        result = 31 * result + (int) (mTime ^ (mTime >>> 32));
        return result;
    }

    // public double getAccuracy() { return mAccuracy; }

}


text:
Angular UI Tree
======================

[![Build Status](https://travis-ci.org/angular-ui-tree/angular-ui-tree.svg?branch=master)](https://travis-ci.org/angular-ui-tree/angular-ui-tree) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui-tree/angular-ui-tree?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Angular UI Tree is an AngularJS UI component that can sort nested lists, provides drag & drop support and doesn't depend on jQuery. If you are a user who uses `angular-nestedSortable`, this is [How to migrate From v1.x to v2.0](https://github.com/JimLiu/angular-ui-tree/wiki/Migrate-From-v1.x-to-v2.0).

## Features

- Uses the native AngularJS scope for data binding
- Sorted and move items through the entire tree
- Prevent elements from accepting child nodes

## Supported browsers

The Angular UI Tree is tested with the following browsers:

- Chrome (stable)
- Firefox
- IE 8, 9 and 10

For IE8 support, make sure you do the following:

- include an [ES5 shim](https://github.com/es-shims/es5-shim)
- make your [AngularJS application compatible with Internet Explorer](http://docs.angularjs.org/guide/ie)
- use [jQuery 1.x](http://jquery.com/browser-support/)

## Demo
Watch the Tree component in action on the [demo page](http://angular-ui-tree.github.io/angular-ui-tree/).

## Requirements

- Angularjs

## Usage

### Download
- Using [bower](http://bower.io/) to install it. `bower install angular-ui-tree`
- [Download](https://github.com/angular-ui-tree/angular-ui-tree/archive/master.zip) from github.

### Load CSS
Load the css file: `angular-ui-tree.min.css` in your application:
```html
<link rel="stylesheet" href="bower_components/angular-ui-tree/dist/angular-ui-tree.min.css">
```

### Load Script
Load the script file: `angular-ui-tree.js` or `angular-ui-tree.min.js` in your application:

```html
<script type="text/javascript" src="bower_components/angular-ui-tree/dist/angular-ui-tree.js"></script>
```

### Code
Add the sortable module as a dependency to your application module:

```js
var myAppModule = angular.module('MyApp', ['ui.tree'])
```

Injecting `ui.tree`, `ui-tree-nodes`, `ui-tree-node`, `ui-tree-handle` to your html.

#### HTML View or Templates
```html
<div ui-tree>
  <ol ui-tree-nodes="" ng-model="list">
    <li ng-repeat="item in list" ui-tree-node>
      <div ui-tree-handle>
        {{item.title}}
      </div>
      <ol ui-tree-nodes="" ng-model="item.items">
        <li ng-repeat="subItem in item.items" ui-tree-node>
          <div ui-tree-handle>
            {{subItem.title}}
          </div>
        </li>
      </ol>
    </li>
  </ol>
</div>
```
**Developing Notes:**
- Adding `ui-tree` to your root element of the tree.
- Adding `ui-tree-nodes` to the elements which contain the nodes. `ng-model` is required, and it should be an array, so that the directive knows which model to bind and update.
- Adding `ui-tree-node` to your node element, it always follows the `ng-repeat` attribute.
- Adding `ui-tree-handle` to the element used to drag the object.
- All `ui-tree`, `ui-tree-nodes`, `ng-model`, `ui-tree-node` are necessary. And they can be nested.
- If you don't add a `ui-tree-handle` for a node, the entire node can be dragged.

**Styling Notes:**
- While an element is being dragged, it is temporarily removed from the DOM and injected just before closing `</body>` tag. When dropped, it returns to it's original place in the DOM's hierarchy.
- The dragged element `ui-tree-node`, together with its parent `ui-tree-nodes`, are the only ones being injected. hence any styling that relies on a 'higher' parent, will not apply.
- To target the dragged element use the class `angular-ui-tree-drag`, which is added to the `ui-tree-nodes` element.
- While a node is being dragged, a new empty node is added into the tree to act as a placeholder. this node will have the class 'angular-ui-tree-placeholder'.

#### Unlimited nesting HTML View or Templates Example

```html
<!-- Nested node template -->
<script type="text/ng-template" id="nodes_renderer.html">
  <div ui-tree-handle>
    {{node.title}}
  </div>
  <ol ui-tree-nodes="" ng-model="node.nodes">
    <li ng-repeat="node in node.nodes" ui-tree-node ng-include="'nodes_renderer.html'">
    </li>
  </ol>
</script>
<div ui-tree>
  <ol ui-tree-nodes="" ng-model="data" id="tree-root">
    <li ng-repeat="node in data" ui-tree-node ng-include="'nodes_renderer.html'"></li>
  </ol>
</div>
```

## Structure of angular-ui-tree

    ui-tree                             --> Root of tree
      ui-tree-nodes                     --> Container of nodes
        ui-tree-node                    --> One of the node of a tree
          ui-tree-handle                --> Handle
          ui-tree-nodes                 --> Container of child-nodes
            ui-tree-node                --> Child node
              ui-tree-handle            --> Handle
            ui-tree-node                --> Child node
        ui-tree-node                    --> Another node
          ui-tree-handle                --> Handle

## Migrate From v1.x to v2.0
[Migrate From v1.x to v2.0](https://github.com/angular-ui-tree/angular-ui-tree/wiki/Migrate-From-v1.x-to-v2.0)

## API

### ui-tree
`ui-tree` is the root scope for a tree

#### Attributes
##### data-nodrop-enabled
Prevent dropping of nodes into this tree. This applies to both nodes dragged within this tree and nodes from a connected tree.
Adding this attribute to the `ui-tree` effectively makes the tree a drag source only.
To prevent a particular node from accepting children, add the attribute to the `ui-tree-nodes` element instead (see below).
See the [demo page](http://angular-ui-tree.github.io/angular-ui-tree/#/nodrop) for examples.
- `false` (default): turn off
- `true`: turn on no drop

##### data-clone-enabled
Turn on cloning of nodes. This will clone the source node to the destination when dragging between 2 trees.
- `false` (default): turn off clone
- `true`: turn on clone

##### data-drag-enabled
Turn on dragging and dropping of nodes.
- `true` (default): allow drag and drop
- `false`: turn off drag and drop

##### data-max-depth
Number of levels a nodes can be nested (default 0). 0 means no limit.
**Note**
If you write your own [$callbacks.accept](#accept) method, you have to check `data-max-depth` by yourself.

##### data-drag-delay
Number of milliseconds a click must be held to start a drag. (default 0)

##### data-empty-placeholder-enabled
If a tree is empty, there will be an empty placeholder which is used to drop node from other trees by default.
- `true` (default): display an empty placeholder if the tree is empty
- `false`: do not display an empty placeholder

##### Example
- turn on/off drag and drop.
- Limit depth to 5
- 500 milliseconds delay
```html
<div ui-tree data-drag-enabled="tree.enabled" data-max-depth="5" data-drag-delay="500">

</div>
```

#### Methods of scope
##### collapseAll()
Collapse all it's child nodes.

##### expandAll()
Expand all it's child nodes.

##### $callbacks (type: Object)
`$callbacks` is a very important property for `angular-ui-tree`.
When some special events trigger, the functions in `$callbacks` are called.
The callbacks can be passed through the directive.

Example:
```js
myAppModule.controller('MyController', function($scope) {
  $scope.treeOptions = {
    accept: function(sourceNodeScope, destNodesScope, destIndex) {
      return true;
    },
  };
});
```
```html
<div ui-tree="treeOptions">
  <ol ui-tree-nodes ng-model="nodes">
    <li ng-repeat="node in nodes" ui-tree-node>{{node.title}}</li>
  </ol>
</div>
```

#### Methods in $callbacks
##### accept(sourceNodeScope, destNodesScope, destIndex)
Check if the current dragging node can be dropped in the `ui-tree-nodes`.

**Parameters:**
- `sourceNodeScope`: The scope of source node which is dragging.
- `destNodesScope`: The scope of `ui-tree-nodes` which you want to drop in.
- `destIndex`: The position you want to drop in.

**Return**
If the nodes accept the current dragging node.
- `true` Allow it to drop.
- `false` Not allow.

##### beforeDrag(sourceNodeScope)
Check if the current selected node can be dragged.

**Parameters:**
- `sourceNodeScope`: The scope of source node which is selected.

**Return**
If current node is draggable.
- `true` Allow it to drag.
- `false` Not allow.

##### removed(node)
If a node is removed, the `removed` callback will be called.

**Parameters:**
 - `node`: The node that was removed

##### dropped(event)
If a node moves it's position after dropped, the `nodeDropped` callback will be called.

**Parameters:**
- `event`: Event arguments, it's an object.
  * `source`: Source object
    + `nodeScope`: The scope of source node which was dragged.
    + `nodesScope`: The scope of the parent nodes of source node  when it began to drag.
    + `index`: The position when it began to drag.
    + `cloneModel`: Given data-clone-enabled is true, holds the model of the cloned node that is to be inserted, this can be edited before drop without affecting the source node.
  * `dest`: Destination object
    + `nodesScope`: The scope of `ui-tree-nodes` which you just dropped in.
    + `index`: The position you dropped in.
  * `elements`: The dragging relative elements.
    + `placeholder`: The placeholder element.
    + `dragging`: The dragging element.
  * `pos`: Position object.

To change the node being dropped before
##### dragStart(event)
The `dragStart` function is called when the user starts to drag the node.
**Parameters:**
Same as [Parameters](#eventParam) of dropped.

##### dragMove(event)
The `dragMove` function is called when the user moves the node.

**Parameters:**
Same as [Parameters](#eventParam) of dropped.

##### dragStop(event)
The `dragStop` function is called when the user stop dragging the node.

**Parameters:**
Same as [Parameters](#eventParam) of dropped.

##### beforeDrop(event)
The `beforeDrop` function is called before the dragging node is dropped. If you implement this callback, the return value determines whether the drop event is allowed to proceed.

**Parameters:**
Same as [Parameters](#eventParam) of dropped.

**Callback Return Values**

- **Resolved Promise** or **truthy**: Allow the node to be dropped

- **Rejected Promise** or **false**: Disallow the node drop and return the dragged node to its original position

### ui-tree-nodes
`ui-tree-nodes` is the container of nodes.
Every `ui-tree-node` should have a `ui-tree-nodes` as it's container, a `ui-tree-nodes` can have multiple child nodes.

#### Attributes
##### data-nodrop-enabled
Prevent nodes from being dropped into this node container.
This prevents nodes from being dropped directly into the container with the attribute but not into children that contain additional containers.
See the [demo page](http://angular-ui-tree.github.io/angular-ui-tree/#/nodrop) for examples.

##### data-max-depth
Number of levels a nodes can be nested (default 0). 0 means no limit. It can override the `data-max-depth` in `ui-tree`.
**Note**
If you write your own [$callbacks.accept](#accept) method, you have to check `data-nodrop-enabled` and `data-max-depth` by yourself.

Example: turn off drop.
```html
<ol ui-tree-nodes ng-model="nodes" data-nodrop-enabled="true">
  <li ng-repeat="node in nodes" ui-tree-node>{{node.title}}</li>
</ol>
```

#### Properties of scope
##### $element (type: AngularElement)
The html element which bind with the `ui-tree-nodes` scope.

##### $modelValue (type: Object)
The data which bind with the scope.

##### $nodes (type: Array)
All it's child nodes. The type of child node is scope of `ui-tree-node`.

##### $nodeScope (type: Scope of ui-tree-node)
The scope of node which current `ui-tree-nodes` belongs to.
For example:

    ui-tree-nodes                       --> nodes 1
      ui-tree-node                      --> node 1.1
        ui-tree-nodes                   --> nodes 1.1
          ui-tree-node                  --> node 1.1.1
          ui-tree-node                  --> node 1.1.2
      ui-tree-node                      --> node 1.2

The property `$nodeScope of` `nodes 1.1` is `node 1.1`. The property `$nodes` of `nodes 1.1` is [`node 1.1.1`, `node 1.1.2`]

##### maxDepth
Number of levels a node can be nested. It bases on the attribute [data-max-depth](#nodes_attrs_maxDepth).

##### nodropEnabled
Turn off drop on nodes. It bases on the attribute [data-nodrop-enabled](#nodes_attrs_nodrop).

#### Methods of scope
##### depth()
Get the depth.

##### outOfDepth(sourceNode)
Check if depth limit has reached

##### isParent(nodeScope)
Check if the nodes is the parent of the target node.
**Parameters:**
- `nodeScope`: The target node which is used to check with the current nodes.

### ui-tree-node
A node of a tree. Every `ui-tree-node` should have a `ui-tree-nodes` as it's container.

#### Attributes
##### data-nodrag
Turn off drag of node.
Example: turn off drag.
```html
<ol ui-tree-nodes ng-model="nodes">
  <li ng-repeat="node in nodes" ui-tree-node data-nodrag>{{node.title}}</li>
</ol>
```

##### data-collapsed
Collapse the node.

#### Properties of scope
##### $element (type: AngularElement)
The html element which bind with the `ui-tree-nodes` scope.

##### $modelValue (type: Object)
The data which bind with the scope.

##### collapsed (type: Bool)
If the node is collapsed

- `true`: Current node is collapsed;
- `false`: Current node is expanded.

##### $parentNodeScope (type: Scope of ui-tree-node)
The scope of parent node.

##### $childNodesScope (type: Scope of ui-tree-nodes)
The scope of it's `ui-tree-nodes`.

##### $parentNodesScope (type: Scope of ui-tree-nodes)
The scope of it's parent `ui-tree-nodes`.

For example:

    ui-tree-nodes                       --> nodes 1
      ui-tree-node                      --> node 1.1
        ui-tree-nodes                   --> nodes 1.1
          ui-tree-node                  --> node 1.1.1
          ui-tree-node                  --> node 1.1.2
      ui-tree-node                      --> node 1.2

- `node 1.1.1`.`$parentNodeScope` is `node 1.1`.
- `node 1.1`.`$childNodesScope` is `nodes 1.1`.
- `node 1.1`.`$parentNodesScope` is `nodes 1`.

#### Methods of scope
##### collapse()
Collapse current node.

##### expand()
Expand current node.

##### toggle()
Toggle current node.

##### remove()
Remove current node.

##### depth()
Get the depth of the node.

##### maxSubDepth()
Get the max depth of all the child nodes. If there is no child nodes, return 0.

##### isSibling(targetNodeScope)
Check if the current node is sibling with the target node.
**Parameters:**
- `targetNodeScope`: The target node which is used to check with the current node.

##### isChild(targetNodeScope)
Check if the current node is a child of the target node.
**Parameters:**
- `targetNodeScope`: The target node which is used to check with the current node.

### ui-tree-handle
Use the `ui-tree-handle` to specify an element used to drag the object.
If you don't add a `ui-tree-handle` for a node, the entire node can be dragged.

## Runtime Configuration
Use the `treeConfig` service to configure the tree defaults at runtime.
With this you can customize the classes applied to various tree elements
(`treeClass`, `emptyTreeClass`, `hiddenClass`, `nodesClass`, `handleClass`,
`placeholderClass`, `dragClass`).

In addition, you can modify whether nodes are collapsed by default
(`defaultCollapsed`: default false). For example:

```js
module.config(function(treeConfig) {
  treeConfig.defaultCollapsed = true; // collapse nodes by default
});
```

## NgModules Link

[Give us a like on ngmodules](http://ngmodules.org/modules/angular-ui-tree)

## Development environment setup
#### Prerequisites

* [Node Package Manager](https://npmjs.org/) (NPM)
* [Git](http://git-scm.com/)

#### Dependencies

* [Gulp](http://gulpjs.com/) (task automation)
* [Bower](http://bower.io/) (package management)

#### Installation
Run the commands below in the project root directory.

#####1. Install Gulp and Bower

    $ sudo npm install -g gulp bower

#####2. Install project dependencies

    $ npm install
    $ ./node_modules/protractor/bin/webdriver-manager update
    $ bower install

## Useful commands

####Running a Local Development Web Server
To debug code and run end-to-end tests, it is often useful to have a local HTTP server.
For this purpose, we have made available a local web server based on Node.js.

To start the web server, run:

    $ gulp serve

To access the local server, enter the following URL into your web browser:

    http://localhost:9000

By default, it serves the contents of the `examples` directory.

####Building angular-ui-tree
To build angular-ui-tree, you use the following command.

    $ gulp build

This will generate non-minified and minified JavaScript files in the `dist` directory.

####Run tests
You can run the unit test using a separate task.

    $ gulp test

The E2E-tests can be executed using

    $ gulp test:e2e

    > Note: make sure you have the example website running on port `9000` (using the `$ gulp serve` command)

*Windows: If your e2e tests are failing, run the command prompt as an administrator. ([See symlink issue](https://github.com/ben-eb/gulp-symlink/issues/33))*

####Deploy examples

    $ gulp deploy


text:
package org.ta4j.core.trading.rules;

import org.junit.Before;
import org.junit.Test;
import org.ta4j.core.Indicator;
import org.ta4j.core.indicators.helpers.FixedIndicator;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;

public class BooleanIndicatorRuleTest {

    private Indicator<Boolean> indicator;
    private BooleanIndicatorRule rule;

    @Before
    public void setUp() {
        indicator = new FixedIndicator<Boolean>(true, true, false, false, true);
        rule = new BooleanIndicatorRule(indicator);
    }

    @Test
    public void isSatisfied() {
        assertTrue(rule.isSatisfied(0));
        assertTrue(rule.isSatisfied(1));
        assertFalse(rule.isSatisfied(2));
        assertFalse(rule.isSatisfied(3));
        assertTrue(rule.isSatisfied(4));
    }
}


text:
(function(ns) {
  ns.AdAnalyze = Backbone.View.extend({
    events: {
      'click': 'clickHandler'
    },
    clickHandler: function () {
      var start = $("#stat-range-start-date").val()
        , end = $("#stat-range-end-date").val()
        , href = tp.API + 'stat/export_payment/?start=' + start + '&end=' + end;
      this.el.href = href;
    }
  });
}(Nervenet.createNameSpace ('admin.page')));


text:
#include "iotivity_config.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_WINDOWS_H
#include <windows.h>
#endif
#include <signal.h>
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
#endif
#include "ocstack.h"
#include "experimental/logger.h"
#include "ocpayload.h"
#include "bloodpressure1.h"
#include "common.h"
#include "MySignals/bloodpressure.h"

//-----------------------------------------------------------------------------
// Defines
//-----------------------------------------------------------------------------

#define TAG "SERVER-BLOODPRESSURE-1"

//-----------------------------------------------------------------------------
// Typedefs
//-----------------------------------------------------------------------------

/* Structure to represent a resource */
typedef struct BLOODPRESSURE1RESOURCE{
    OCResourceHandle handle;
} BloodPressure1Resource;

//-----------------------------------------------------------------------------
// Variables
//-----------------------------------------------------------------------------

static BloodPressure1Resource BP1;

char *gBP1ResourceType= (char *)"oic.r.blood.pressure";
char *gBP1ResourceUri= (char *)"/myBloodPressureResURI";

//-----------------------------------------------------------------------------
// Function prototype
//-----------------------------------------------------------------------------

OCRepPayload* getBP1Payload(const char* uri);

/* This method converts the payload to JSON format */
OCRepPayload* constructBP1Response (OCEntityHandlerRequest *ehRequest);

/* Following methods process the GET
 * requests
 */
OCEntityHandlerResult ProcessBP1GetRequest (OCEntityHandlerRequest *ehRequest,
                                         OCRepPayload **payload);

int createBP1ResourceEx (char *uri, BloodPressure1Resource *BP1Resource);

//-----------------------------------------------------------------------------
// Callback functions
//-----------------------------------------------------------------------------

/* Entity Handler callback functions */
OCEntityHandlerResult
BP1OCEntityHandlerCb (OCEntityHandlerFlag flag,
        OCEntityHandlerRequest *entityHandlerRequest);

//-----------------------------------------------------------------------------
// Function Implementations
//-----------------------------------------------------------------------------
OCRepPayload* getBP1Payload(const char* uri)
{
    OCRepPayload* payload = OCRepPayloadCreate();
    if(!payload)
    {
        OIC_LOG(ERROR, TAG, PCF("Failed to allocate Payload"));
        return nullptr;
    }
    size_t dimensions[MAX_REP_ARRAY_DEPTH] = { 0 };

    dimensions[0] = 1;
    char * rtStr[] = {"oic.r.blood.pressure"};
    OCRepPayloadSetStringArray(payload, "rt", (const char **)rtStr, dimensions);
    OCRepPayloadSetPropString(payload, "id", "user_example_id");
    OCRepPayloadSetPropInt(payload, "systolic", getSystolic()); //
    OCRepPayloadSetPropInt(payload, "diastolic", getDiastolic());
    OCRepPayloadSetPropString(payload, "units", "mmHg");

    return payload;
}

OCRepPayload* constructBP1Response (OCEntityHandlerRequest *ehRequest)
{
    if(ehRequest->payload && ehRequest->payload->type != PAYLOAD_TYPE_REPRESENTATION)
    {
        OIC_LOG(ERROR, TAG, PCF("Incoming payload not a representation"));
        return nullptr;
    }

    return getBP1Payload(gBP1ResourceUri);
}

OCEntityHandlerResult ProcessBP1GetRequest (OCEntityHandlerRequest *ehRequest,
    OCRepPayload **payload)
{
    OCEntityHandlerResult ehResult;

    OCRepPayload *getResp = constructBP1Response(ehRequest);

    if(getResp)
    {
        *payload = getResp;
        ehResult = OC_EH_OK;
    }
    else
    {
        ehResult = OC_EH_ERROR;
    }

    return ehResult;
}

OCEntityHandlerResult
BP1OCEntityHandlerCb (OCEntityHandlerFlag flag,
        OCEntityHandlerRequest *entityHandlerRequest,
        void* /*callbackParam*/)
{
    OIC_LOG_V (INFO, TAG, "Inside entity handler - flags: 0x%x", flag);

    OCEntityHandlerResult ehResult = OC_EH_ERROR;
    OCEntityHandlerResponse response = { 0, 0, OC_EH_ERROR, 0, 0, { },{ 0 }, false };
    // Validate pointer
    if (!entityHandlerRequest)
    {
        OIC_LOG (ERROR, TAG, "Invalid request pointer");
        return OC_EH_ERROR;
    }

    OCRepPayload* payload = nullptr;

    if (flag & OC_REQUEST_FLAG)
    {
        OIC_LOG (INFO, TAG, "Flag includes OC_REQUEST_FLAG");
        if (entityHandlerRequest)
        {
            ehResult = OC_EH_FORBIDDEN;
        }
    }

    OCRepPayloadDestroy(payload);
    return ehResult;
}

int createBP1Resource () {
    createBP1ResourceEx(gBP1ResourceUri, &BP1);
    return 0;
}

int createBP1ResourceEx (char *uri, BloodPressure1Resource *BP1Resource)
{
    if (!uri)
    {
        OIC_LOG(ERROR, TAG, "Resource URI cannot be NULL");
        return -1;
    }

    OCStackResult res = OCCreateResource(&(BP1Resource->handle),
            gBP1ResourceType,
            OC_RSRVD_INTERFACE_DEFAULT,
            gBP1ResourceUri,
            BP1OCEntityHandlerCb,
            NULL,
            OC_OBSERVABLE
            // OC_DISCOVERABLE | OC_OBSERVABLE
#if IS_SECURE_MODE
            | OC_SECURE
#endif
        );
    OCBindResourceInterfaceToResource(&(BP1Resource->handle), OC_RSRVD_INTERFACE_SENSOR);
    OIC_LOG_V(INFO, TAG, "Created BP1 resource with result: %s", getResult(res));

    return 0;
}


text:
package org.kaaproject.kaa.server.appenders.file.appender;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;

import org.junit.Assert;
import org.junit.Test;
import org.mockito.Mockito;
import org.slf4j.Logger;

public class FileSystemLogEventServiceImplTest {

    private static final String TEST_FILE = "/test";
    private static final String TEST_TEXT = "test text";
    private static final String USER_HOME = "user.home";

    private FileSystemLogEventService fileSystemLogEventService = new FileSystemLogEventServiceImpl();

    @Test
    public void createDirectoryAndRemoveAllTest() throws FileNotFoundException {
        if (System.getProperty(USER_HOME) != null && new File(System.getProperty(USER_HOME)).exists()) {
            String tempDir = System.getProperty(USER_HOME) + "/temp_dir_" + System.currentTimeMillis();
            File file = new File(tempDir);

            Assert.assertFalse(file.exists());

            fileSystemLogEventService.createDirectory(tempDir);

            Assert.assertTrue(file.exists());

            PrintWriter writer = new PrintWriter(new File(tempDir + TEST_FILE));
            writer.write(TEST_TEXT);
            writer.close();

            fileSystemLogEventService.removeAll(tempDir);

            Assert.assertFalse(file.exists());
        }
    }

    @Test
    public void createDirectoryAlreadyExistsTest() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
        if (System.getProperty(USER_HOME) != null && new File(System.getProperty(USER_HOME)).exists()) {
            FileSystemLogEventService logEventService = new FileSystemLogEventServiceImpl();

            String tempDir = System.getProperty(USER_HOME) + "/temp_dir_" + System.currentTimeMillis();
            File file = new File(tempDir);

            logEventService.createDirectory(tempDir);

            Logger testLogger = Mockito.mock(Logger.class);

            Field field = logEventService.getClass().getDeclaredField("LOG");

            field.setAccessible(true);

            Field modifiersField = Field.class.getDeclaredField("modifiers");
            modifiersField.setAccessible(true);
            modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL);

            field.set(null, testLogger);

            Assert.assertTrue(file.exists());

            logEventService.createDirectory(tempDir);

            Mockito.verify(testLogger, Mockito.atLeast(2)).debug(Mockito.anyString(), Mockito.eq(tempDir));

            logEventService.removeAll(tempDir);
        }
    }

    @Test(expected = RuntimeException.class)
    public void executeCommandFailureTest() throws Throwable {
        String testDir = "testdir";
        File targetTestDir = new File("target", testDir);
        if (!targetTestDir.exists()) {
            targetTestDir.mkdirs();
        }
        FileSystemLogEventServiceImpl service = new FileSystemLogEventServiceImpl();
        Method executeCommand = FileSystemLogEventServiceImpl.class.getDeclaredMethod("executeCommand", File.class, String[].class);
        executeCommand.setAccessible(true);
        try {
            executeCommand.invoke(service, "target", new String[]{"mkdir", testDir});
        } catch (InvocationTargetException e){
            throw e.getCause();
        }
    }
}


text:
package com.google.wallet.online.jwt;

import java.util.Collection;

/**
 *
 * This object contains payment instrument data
 *
 * @author pying
 *
 */
public class PayResponse {

  private String estimatedTotalPrice;
  private String currencyCode;
  private String objectId;
  private Integer expirationMonth;
  private Integer expirationYear;
  private Collection<String> description;
  private Address billingAddress;

  public PayResponse() {
    // Empty constructor used in Gson conversion of JSON -> Java Objects
  }

  public String getEstimatedTotalPrice() {
    return estimatedTotalPrice;
  }

  public String getCurrencyCode() {
    return currencyCode;
  }

  public String getObjectId() {
    return objectId;
  }

  public Integer getExpirationMonth() {
    return expirationMonth;
  }

  public Integer getExpirationYear() {
    return expirationYear;
  }

  public Collection<String> getDescription() {
    return description;
  }

  public Address getBillingAddress() {
    return billingAddress;
  }
}


text:
<?php

namespace Ddeboer\Imap;

use Ddeboer\Imap\Search\AbstractCondition;

/**
 * Defines a search expression that can be used to look up email messages.
 */
class SearchExpression
{
    /**
     * The conditions that together represent the expression.
     *
     * @var array
     */
    private $conditions = array();

    /**
     * Adds a new condition to the expression.
     *
     * @param  AbstractCondition $condition The condition to be added.
     *
     * @return SearchExpression
     */
    public function addCondition(AbstractCondition $condition)
    {
        $this->conditions[] = $condition;

        return $this;
    }

    /**
     * Converts the expression to a string that can be sent to the IMAP server.
     *
     * @return string
     */
    public function __toString()
    {
        return implode(' ', $this->conditions);
    }
}


text:
<?php
$this->breadcrumbs=array(
	'Operations'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List Operation','url'=>array('index')),
	array('label'=>'Create Operation','url'=>array('create')),
	array('label'=>'Update Operation','url'=>array('update','id'=>$model->id)),
	array('label'=>'Delete Operation','url'=>'#','linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Operation','url'=>array('admin')),
);
?>

View Operation #<?php echo $model->id; ?>

<?php $this->widget('bootstrap.widgets.TbDetailView',array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'start',
		'end',
		'alarm',
		'iface_id',
	),
)); ?>


text:
local module = {}

module.traverseChildren = function(element, matchFn)
  if matchFn(element) then
    return element
  else
    local children = element:attributeValue('AXChildren')

    if children and #children > 0 then
      for _, child in ipairs(children) do
        local result = module.traverseChildren(child, matchFn)
        if result then return result end
      end
    end

    return nil
  end
end

module.searchByChain = function(startElement, fns, debugPrint)
  debugPrint = debugPrint or false
  local current = startElement

  for _, predicate in ipairs(fns) do
    current = module.traverseChildren(current, predicate)

    if debugPrint then p("Got: " .. hs.inspect.inspect(current)) end
    if not current then return nil end
  end

  return current
end

module.clickButton = function(findButton)
  button = nil

  local buttonVisible = function()
    button = findButton()
    return not not button
  end

  local buttonTimer = hs.timer.waitUntil(buttonVisible, function()
    button:performAction('AXPress')
  end)

  hs.timer.doAfter(5, function()
    -- Prevent infinite spinning
    buttonTimer:stop()
  end)
end

return module


text:
using System;
using System.ComponentModel;
using System.Xml.Serialization;

namespace Grauenwolf.TravellerTools.Characters
{

    /// <remarks/>
    [System.SerializableAttribute()]
    [DesignerCategoryAttribute("code")]
    [XmlTypeAttribute(AnonymousType = true)]
    [XmlRootAttribute(Namespace = "", IsNullable = false)]
    public partial class CharacterTemplates
    {

        /// <remarks/>
        [XmlArrayItemAttribute("Skill", IsNullable = false)]
        public CharacterTemplatesSkill[] Skills { get; set; }
    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [DesignerCategoryAttribute("code")]
    [XmlTypeAttribute(AnonymousType = true)]
    public partial class CharacterTemplatesSkill
    {

        /// <remarks/>
        [XmlElementAttribute("Specialty")]
        public CharacterTemplatesSkillSpecialty[] Specialty { get; set; }

        /// <remarks/>
        [XmlTextAttribute()]
        public string[] Text { get; set; }

        /// <remarks/>
        [XmlAttributeAttribute()]
        public string Name { get; set; }
    }

    /// <remarks/>
    [SerializableAttribute()]
    [DesignerCategoryAttribute("code")]
    [XmlTypeAttribute(AnonymousType = true)]
    public partial class CharacterTemplatesSkillSpecialty
    {

        /// <remarks/>
        [XmlAttributeAttribute()]
        public string Name { get; set; }
    }

}


text:
<html>
<head>
    <title>Scale example</title>
</head>
<body>

<script src="phaser/phaser.js"></script>
<script src="../../dist/neutrinoparticles.js"></script>
<script src="../../dist-PHASER/neutrinoparticles.phaser.js"></script>
<script src="demo.js"></script>

<script>

let testEffect,
  testEffect2,
  lastUpdateTime = 0,
  effectScript = "water_stream.js",
  effectPosition = null,
  effectScale = null,
  rotateEffect = true,
  restartEffect = false;

const result = {testEffect: null};

function createDemo(_effectScript,
                    _assets,
                    _effectPosition,
                    _effectScale,
                    _rotateEffect,
                    _restartEffect){

  effectScript = _effectScript;
  effectPosition = _effectPosition || [400, 300, 0];
  effectScale = _effectScale || null;
  rotateEffect = _rotateEffect || false;
  restartEffect = _restartEffect || false;

  function preload() {

    //  You can fill the preloader with as many assets as your game requires

    //  Here we are loading an image. The first parameter is the unique
    //  string by which we'll identify the image later in our code.

    //  The second parameter is the URL of the image (relative)
    game.load.image('einstein', './assets/ra_einstein.png');
    game.load.image('phaser-logo', './assets/phaser-logo-small.png');

    //particle textures
    _assets.forEach(assetData => {
      switch(assetData.type){
        case 'atlas':
          game.load.atlas(assetData.id, assetData.path, assetData.dataPath, Phaser.Loader.TEXTURE_ATLAS_JSON_HASH);
          break;
        case 'image':
          game.load.image(assetData.id, assetData.path);
          break
      }
    })
  }

  game = new Phaser.Game(800, 600, Phaser.WEBGL, 'phaser-example', { preload: preload, create: create, update: update });

  return result;
}

function create() {

  createBgSprite();

  initParticles();

  addLogo();

}

function createBgSprite(){
  const s = game.add.sprite(80, 0, 'einstein');
  s.rotation = 0.14;
  return s;
}

function initParticles(){

  //always call init first
  game.neutrino.init();

  game.neutrino.generateTurbulance();

  //create the effect model
  const model = game.neutrino.loadModel(effectScript);

  testEffect = game.add.neutrino(model,
    {
      position: effectPosition,
      scale: effectScale,
      rotation: 0
    });

  testEffect2 = game.add.neutrino(model,
    {
      position: [200, 300, 0],
      scale: [0.5, 0.5, 0.5],
      rotation: 0
    });

  result.testEffect = testEffect;
  result.testEffect2 = testEffect2;

  function onEffectReady(){
    if (testEffect.isReady && testEffect2.isReady) {
      lastUpdateTime = Date.now();
    }
  }

  if (testEffect.isReady && testEffect2.isReady) {
    lastUpdateTime = Date.now();
  } else {
    if(!testEffect.isReady) testEffect.onReady.addOnce(onEffectReady);
    if(!testEffect2.isReady) testEffect2.onReady.addOnce(onEffectReady);
  }

}

function update(){
  if(lastUpdateTime > 0){
    let currentTime = Date.now();
    let elapsedSeconds = (currentTime - lastUpdateTime) / 1000;
    lastUpdateTime = currentTime;
    testEffect.rotation += elapsedSeconds * 45.0;
    testEffect2.rotation = testEffect.rotation;
    testEffect.updateParticles(elapsedSeconds);
    testEffect2.updateParticles(elapsedSeconds);
  }
}

function addLogo(){
  const baseX = 400;
  const sprite = game.add.sprite(baseX, 300, 'phaser-logo');
  sprite.anchor.set(0.5);
  //make the logo jiggle about
  let time = Date.now();
  let timeCount = 0;
  sprite.update = function(){
    const oldTime = time;
    time = Date.now();
    timeCount += (time - oldTime) * 0.01;
    sprite.rotation = Math.sin(timeCount) * 0.25;
    sprite.x = baseX + (Math.cos(timeCount / 4) * 60);
  }
}

createDemo("water_stream.js", [{type: 'image', id:'fluid2', path:'./textures/fluid2.png'}]);

</script>

</body>
</html>


text:
package za.redbridge.controller.NEATM;

import org.encog.engine.network.activation.ActivationFunction;

/**
 * Created by jamie on 2014/10/08.
 */
public class ActivationSteepenedShiftedSigmoid implements ActivationFunction {

    private static final long serialVersionUID = -7731056394594891357L;

    private static final double SLOPE = 4.924273;
    private static final double SHIFT = 2.4621365;

    /**
     * Construct a steepened and right-shifted sigmoid activation function.
     */
    public ActivationSteepenedShiftedSigmoid() {
    }

    @Override
    public void activationFunction(double[] x, int start, int size) {
        for (int i = start, n = start + size; i < n; i++) {
            x[i] = 1.0 / (1.0 + Math.exp(-SLOPE * (x[i] - SHIFT))); // From NEAT source
        }
    }

    @Override
    public double derivativeFunction(double b, double a) {
        double s = Math.exp(-(SLOPE * (a - SHIFT)));
        double numerator = SLOPE * s;
        double denominator = Math.pow(s + 1, 2);
        return numerator / denominator;
    }

    @Override
    public boolean hasDerivative() {
        return true;
    }

    @Override
    public double[] getParams() {
        return new double[0];
    }

    @Override
    public void setParam(int index, double value) {
        // NO-OP
    }

    @Override
    public String[] getParamNames() {
        return new String[0];
    }

    @Override
    public ActivationFunction clone() {
        return new ActivationSteepenedShiftedSigmoid();
    }

    @Override
    public String getFactoryCode() {
        return null;
    }
}


text:
function debuLog(data) {
	console.log("%s".yellow, data);
}

function log(title, message) {
	console.log('\n title : %s. \n  message : %s \n'.green, title || 'log title', message || 'log message');
}

function logError(message) {
	console.log('\n Error message : %s \n'.red, message || 'error message');
}

this.debuLog = debuLog;
this.log = log;
this.logError = logError;


text:
define(["require", "exports"], function (require, exports) {
    var Student = (function () {
        function Student(firstname, middleinitial, lastname, latitude) {
            this.firstname = firstname;
            this.middleinitial = middleinitial;
            this.lastname = lastname;
            this.latitude = latitude;
            this.fullname = firstname + " " + middleinitial + " " + lastname;
        }
        return Student;
    })();
    return Student;
});
//# sourceMappingURL=Student.js.map


text:
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.LanguageServer.Handler;
using Roslyn.Utilities;
using LSP = Microsoft.VisualStudio.LanguageServer.Protocol;

namespace Microsoft.CodeAnalysis.LanguageServer
{
    internal readonly record struct RequestHandlerMetadata(string MethodName, Type RequestType, Type ResponseType);

    /// <summary>
    /// Aggregates handlers for the specified languages and dispatches LSP requests
    /// to the appropriate handler for the request.
    /// </summary>
    internal class RequestDispatcher : ILspService
    {
        private readonly ImmutableDictionary<RequestHandlerMetadata, Lazy<IRequestHandler>> _requestHandlers;

        public RequestDispatcher(LspServices lspServices)
        {
            _requestHandlers = CreateMethodToHandlerMap(lspServices);
        }

        private static ImmutableDictionary<RequestHandlerMetadata, Lazy<IRequestHandler>> CreateMethodToHandlerMap(LspServices lspServices)
        {
            var requestHandlerDictionary = ImmutableDictionary.CreateBuilder<RequestHandlerMetadata, Lazy<IRequestHandler>>();

            var requestHandlerTypes = lspServices.GetRegisteredServices().Where(type => IsTypeRequestHandler(type));

            foreach (var handlerType in requestHandlerTypes)
            {
                var (requestType, responseType) = ConvertHandlerTypeToRequestResponseTypes(handlerType);
                var method = GetRequestHandlerMethod(handlerType);

                // Using the lazy set of handlers, create a lazy instance that will resolve the set of handlers for the provider
                // and then lookup the correct handler for the specified method.
                requestHandlerDictionary.Add(new RequestHandlerMetadata(method, requestType, responseType), new Lazy<IRequestHandler>(() =>
                {
                    Contract.ThrowIfFalse(lspServices.TryGetService(handlerType, out var lspService));
                    return (IRequestHandler)lspService;
                }));
            }

            return requestHandlerDictionary.ToImmutable();

            static string GetRequestHandlerMethod(Type handlerType)
            {
                // Get the LSP method name from the handler's method name attribute.
                var methodAttribute = Attribute.GetCustomAttribute(handlerType, typeof(MethodAttribute)) as MethodAttribute;
                Contract.ThrowIfNull(methodAttribute, $"{handlerType.FullName} is missing Method attribute");

                return methodAttribute.Method;
            }

            static bool IsTypeRequestHandler(Type type)
            {
                return type.GetInterfaces().Contains(typeof(IRequestHandler));
            }
        }

        /// <summary>
        /// Retrieves the generic argument information from the request handler type without instantiating it.
        /// </summary>
        private static (Type requestType, Type responseType) ConvertHandlerTypeToRequestResponseTypes(Type handlerType)
        {
            var requestHandlerGenericType = handlerType.GetInterfaces().Where(i => i.IsGenericType && i.GetGenericTypeDefinition() == typeof(IRequestHandler<,>)).SingleOrDefault();
            Contract.ThrowIfNull(requestHandlerGenericType, $"Provided handler type {handlerType.FullName} does not implement IRequestHandler<,>");

            var genericArguments = requestHandlerGenericType.GetGenericArguments();
            Contract.ThrowIfFalse(genericArguments.Length == 2, $"Provided handler type {handlerType.FullName} does not have exactly two generic arguments");
            var requestType = genericArguments[0];
            var responseType = genericArguments[1];

            return (requestType, responseType);
        }

        public async Task<TResponseType?> ExecuteRequestAsync<TRequestType, TResponseType>(
            string methodName,
            TRequestType request,
            LSP.ClientCapabilities clientCapabilities,
            RequestExecutionQueue queue,
            CancellationToken cancellationToken) where TRequestType : class
        {
            // Get the handler matching the requested method.
            var requestHandlerMetadata = new RequestHandlerMetadata(methodName, typeof(TRequestType), typeof(TResponseType));

            var handler = _requestHandlers[requestHandlerMetadata].Value;

            var mutatesSolutionState = handler.MutatesSolutionState;
            var requiresLspSolution = handler.RequiresLSPSolution;

            var strongHandler = (IRequestHandler<TRequestType, TResponseType>?)handler;
            Contract.ThrowIfNull(strongHandler, string.Format("Request handler not found for method {0}", methodName));

            var result = await ExecuteRequestAsync(queue, mutatesSolutionState, requiresLspSolution, strongHandler, request, clientCapabilities, methodName, cancellationToken).ConfigureAwait(false);
            return result;
        }

        protected virtual Task<TResponseType?> ExecuteRequestAsync<TRequestType, TResponseType>(
            RequestExecutionQueue queue,
            bool mutatesSolutionState,
            bool requiresLSPSolution,
            IRequestHandler<TRequestType, TResponseType> handler,
            TRequestType request,
            LSP.ClientCapabilities clientCapabilities,
            string methodName,
            CancellationToken cancellationToken) where TRequestType : class
        {
            return queue.ExecuteAsync(mutatesSolutionState, requiresLSPSolution, handler, request, clientCapabilities, methodName, cancellationToken);
        }

        public ImmutableArray<RequestHandlerMetadata> GetRegisteredMethods()
        {
            return _requestHandlers.Keys.ToImmutableArray();
        }
    }
}


text:
[![travis-badge][]][travis] [![license-badge][]][license]

A reimplementation of [git-crypt](https://github.com/AGWA/git-crypt) as a bash
script.

## Feature set

Supported subcommands:

- `init`
- `unlock` with an explicit keyfile.
- `export-key`
- `smudge`, `clean`, `diff` for git integration

Most notably, there is no support for the additional GPG functionality of
`git-crypt`.

## Dependencies

Bash (not just any portable POSIX shell), and the OpenSSL 1.0.x+ CLI tool. OpenSSL
0.9.x (as is included on OS X) is supported but will encounter issues with key files
generated by `git-crypt` that contain any null bytes.

## Performance

It's slow. Use the real `git-crypt` if possible, this is meant to be used as a
stop-gap measure.

[travis-badge]: https://img.shields.io/travis/arcnmx/git-crypt.sh/master.svg?style=flat-square
[travis]: https://travis-ci.org/arcnmx/git-crypt.sh
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[license]: https://github.com/arcnmx/git-crypt.sh/blob/master/COPYING


text:
<?xml version="1.0" encoding="utf-8"?>

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <android.support.v7.widget.Toolbar
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        android:background="@color/primary"
        android:elevation="4dp"/>

    <FrameLayout
        android:id="@+id/fragmentContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</LinearLayout>


text:
namespace AppliedAlgebra.GfAlgorithms.Tests.TestCases.BiVariablePolynomial
{
    using BiVariablePolynomials;

    public class BinaryOperationTestCase
    {
        public BiVariablePolynomial FirstOperand { get; set; }

        public BiVariablePolynomial SecondOperand { get; set; }

        public BiVariablePolynomial Expected { get; set; }
    }
}