text:
/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package com.example.tour;

public final class R {
    public static final class attr {
        /**
Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int cameraBearing=0x7f010001;
        /**
Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int cameraTargetLat=0x7f010002;
        /**
Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int cameraTargetLng=0x7f010003;
        /**
Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int cameraTilt=0x7f010004;
        /**
Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int cameraZoom=0x7f010005;
        /**
Must be one of the following constant values.

<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />

Constant	Value	Description

none	0

normal	1

satellite	2

terrain	3

hybrid	4

         */
        public static final int mapType=0x7f010000;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int uiCompass=0x7f010006;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int uiRotateGestures=0x7f010007;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int uiScrollGestures=0x7f010008;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int uiTiltGestures=0x7f010009;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int uiZoomControls=0x7f01000a;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int uiZoomGestures=0x7f01000b;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int useViewLifecycle=0x7f01000c;
        /**
Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
         */
        public static final int zOrderOnTop=0x7f01000d;
    }
    public static final class color {
        public static final int background=0x7f04000a;
        public static final int common_action_bar_splitter=0x7f040009;
        /**  Sign-in Button Colors
         */
        public static final int common_signin_btn_dark_text_default=0x7f040000;
        public static final int common_signin_btn_dark_text_disabled=0x7f040002;
        public static final int common_signin_btn_dark_text_focused=0x7f040003;
        public static final int common_signin_btn_dark_text_pressed=0x7f040001;
        public static final int common_signin_btn_default_background=0x7f040008;
        public static final int common_signin_btn_light_text_default=0x7f040004;
        public static final int common_signin_btn_light_text_disabled=0x7f040006;
        public static final int common_signin_btn_light_text_focused=0x7f040007;
        public static final int common_signin_btn_light_text_pressed=0x7f040005;
        public static final int common_signin_btn_text_dark=0x7f04000e;
        public static final int common_signin_btn_text_light=0x7f04000f;
        public static final int dividerColor=0x7f04000d;
        public static final int edittext=0x7f04000c;
        public static final int textColor=0x7f04000b;
    }
    public static final class drawable {
        public static final int arrow=0x7f020000;
        public static final int bank=0x7f020001;
        public static final int button_style=0x7f020002;
        public static final int button_style2=0x7f020003;
        public static final int car=0x7f020004;
        public static final int check_ratings=0x7f020005;
        public static final int checking_service=0x7f020006;
        public static final int common_signin_btn_icon_dark=0x7f020007;
        public static final int common_signin_btn_icon_disabled_dark=0x7f020008;
        public static final int common_signin_btn_icon_disabled_focus_dark=0x7f020009;
        public static final int common_signin_btn_icon_disabled_focus_light=0x7f02000a;
        public static final int common_signin_btn_icon_disabled_light=0x7f02000b;
        public static final int common_signin_btn_icon_focus_dark=0x7f02000c;
        public static final int common_signin_btn_icon_focus_light=0x7f02000d;
        public static final int common_signin_btn_icon_light=0x7f02000e;
        public static final int common_signin_btn_icon_normal_dark=0x7f02000f;
        public static final int common_signin_btn_icon_normal_light=0x7f020010;
        public static final int common_signin_btn_icon_pressed_dark=0x7f020011;
        public static final int common_signin_btn_icon_pressed_light=0x7f020012;
        public static final int common_signin_btn_text_dark=0x7f020013;
        public static final int common_signin_btn_text_disabled_dark=0x7f020014;
        public static final int common_signin_btn_text_disabled_focus_dark=0x7f020015;
        public static final int common_signin_btn_text_disabled_focus_light=0x7f020016;
        public static final int common_signin_btn_text_disabled_light=0x7f020017;
        public static final int common_signin_btn_text_focus_dark=0x7f020018;
        public static final int common_signin_btn_text_focus_light=0x7f020019;
        public static final int common_signin_btn_text_light=0x7f02001a;
        public static final int common_signin_btn_text_normal_dark=0x7f02001b;
        public static final int common_signin_btn_text_normal_light=0x7f02001c;
        public static final int common_signin_btn_text_pressed_dark=0x7f02001d;
        public static final int common_signin_btn_text_pressed_light=0x7f02001e;
        public static final int customiz=0x7f02001f;
        public static final int customize2=0x7f020020;
        public static final int edit_service=0x7f020021;
        public static final int edit_text_style=0x7f020022;
        public static final int entertaitment=0x7f020023;
        public static final int flight=0x7f020024;
        public static final int foods=0x7f020025;
        public static final int gradient_bg=0x7f020026;
        public static final int gradient_bg_hover=0x7f020027;
        public static final int health=0x7f020028;
        public static final int hotel=0x7f020029;
        public static final int ic_launcher=0x7f02002a;
        public static final int ic_plusone_medium_off_client=0x7f02002b;
        public static final int ic_plusone_small_off_client=0x7f02002c;
        public static final int ic_plusone_standard_off_client=0x7f02002d;
        public static final int ic_plusone_tall_off_client=0x7f02002e;
        public static final int list_selector=0x7f02002f;
        public static final int localservice=0x7f020030;
        public static final int location=0x7f020031;
        public static final int map=0x7f020032;
        public static final int new_service=0x7f020033;
        public static final int page_borders=0x7f020034;
        public static final int plan_tour=0x7f020035;
        public static final int resturent=0x7f020036;
        public static final int round=0x7f020037;
        public static final int service_provider=0x7f020038;
        public static final int shopping=0x7f020039;
        public static final int strart_screen=0x7f02003a;
        public static final int title=0x7f02003b;
        public static final int traveller=0x7f02003c;
        public static final int under_line=0x7f02003d;
        public static final int world=0x7f02003e;
    }
    public static final class id {
        public static final int LinearLayout1=0x7f050011;
        public static final int button1=0x7f050018;
        public static final int button3=0x7f05000a;
        public static final int editText1=0x7f05001c;
        public static final int editText2=0x7f05001d;
        public static final int exit=0x7f050025;
        public static final int gridView1=0x7f050017;
        public static final int hybrid=0x7f050004;
        public static final int imageButton1=0x7f05000e;
        public static final int imageButton2=0x7f05000d;
        public static final int imageButton3=0x7f050013;
        public static final int imageButton4=0x7f050014;
        public static final int imageView1=0x7f050006;
        public static final int listView1=0x7f050008;
        public static final int listView2=0x7f05000c;
        public static final int listView_custom1=0x7f050005;
        public static final int map=0x7f05000b;
        public static final int menu_settings=0x7f050027;
        public static final int none=0x7f050000;
        public static final int normal=0x7f050001;
        public static final int radio0=0x7f050020;
        public static final int radio1=0x7f050021;
        public static final int radio2=0x7f050022;
        public static final int radio3=0x7f050023;
        public static final int radioGroup1=0x7f05001f;
        public static final int satellite=0x7f050002;
        public static final int search=0x7f050026;
        public static final int single_textView1=0x7f050007;
        public static final int spinner1=0x7f05001a;
        public static final int terrain=0x7f050003;
        public static final int textView1=0x7f050009;
        public static final int textView2=0x7f050010;
        public static final int textView3=0x7f05000f;
        public static final int textView4=0x7f050015;
        public static final int textView5=0x7f050016;
        public static final int v1=0x7f050019;
        public static final int v2=0x7f05001b;
        public static final int v3=0x7f05001e;
        public static final int v4=0x7f050024;
        public static final int v5=0x7f050012;
    }
    public static final class layout {
        public static final int custom_list1=0x7f030000;
        public static final int custom_single_item=0x7f030001;
        public static final int location=0x7f030002;
        public static final int lodding=0x7f030003;
        public static final int map=0x7f030004;
        public static final int prefer=0x7f030005;
        public static final int select_user=0x7f030006;
        public static final int service_provi_menu=0x7f030007;
        public static final int services=0x7f030008;
        public static final int tour=0x7f030009;
        public static final int user_menu=0x7f03000a;
    }
    public static final class menu {
        public static final int menu1=0x7f080000;
        public static final int tour=0x7f080001;
    }
    public static final class string {
        public static final int app_name=0x7f060019;
        /**   Title for notification shown when GooglePlayServices needs to be
        enabled for a application to work. [CHAR LIMIT=70]
         */
        public static final int auth_client_needs_enabling_title=0x7f060014;
        /**   Title for notification shown when GooglePlayServices needs to be
        installed for a application to work. [CHAR LIMIT=70]
         */
        public static final int auth_client_needs_installation_title=0x7f060015;
        /**   Title for notification shown when GooglePlayServices needs to be
        udpated for a application to work. [CHAR LIMIT=70]
         */
        public static final int auth_client_needs_update_title=0x7f060016;
        /**   Title for notification shown when GooglePlayServices is unavailable [CHAR LIMIT=42]
         */
        public static final int auth_client_play_services_err_notification_msg=0x7f060017;
        /**   Requested by string saying which app requested the notification. [CHAR LIMIT=42]
         */
        public static final int auth_client_requested_by_msg=0x7f060018;
        /**   Title for notification shown when a bad version of GooglePlayServices
        has been installed and needs correction for an application to work.
        [CHAR LIMIT=70]
         */
        public static final int auth_client_using_bad_version_title=0x7f060013;
        /**  Button in confirmation dialog to enable Google Play services.  Clicking it
        will direct user to application settings of Google Play services where they
        can enable it [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_enable_button=0x7f060006;
        /**  Message in confirmation dialog informing user they need to enable
        Google Play services in application settings [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_enable_text=0x7f060005;
        /**  Title of confirmation dialog informing user they need to enable
        Google Play services in application settings [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_enable_title=0x7f060004;
        /**  Button in confirmation dialog for installing Google Play services [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_install_button=0x7f060003;
        /**  (For phones) Message in confirmation dialog informing user that
        they need to install Google Play services (from Play Store) [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_install_text_phone=0x7f060001;
        /**  (For tablets) Message in confirmation dialog informing user that
        they need to install Google Play services (from Play Store) [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_install_text_tablet=0x7f060002;
        /**  Title of confirmation dialog informing user that they need to install
        Google Play services (from Play Store) [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_install_title=0x7f060000;
        /**  Message in confirmation dialog informing the user that they provided an invalid account. [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_invalid_account_text=0x7f06000c;
        /**  Title of confirmation dialog informing the user that they provided an invalid account. [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_invalid_account_title=0x7f06000b;
        /**  Message in confirmation dialog informing the user that a network error occurred. [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_network_error_text=0x7f06000a;
        /**  Title of confirmation dialog informing the user that a network error occurred. [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_network_error_title=0x7f060009;
        /**  Message in confirmation dialog informing user there is an unknown issue in Google Play
        services [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_unknown_issue=0x7f06000d;
        /**  Message in confirmation dialog informing user that Google Play services is not supported on their device [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_unsupported_text=0x7f06000f;
        /**  Title of confirmation dialog informing user that Google Play services is not supported on their device [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_unsupported_title=0x7f06000e;
        /**  Button in confirmation dialog for updating Google Play services [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_update_button=0x7f060010;
        /**  Message in confirmation dialog informing user that they need to update
        Google Play services (from Play Store) [CHAR LIMIT=NONE]
         */
        public static final int common_google_play_services_update_text=0x7f060008;
        /**  Title of confirmation dialog informing user that they need to update
        Google Play services (from Play Store) [CHAR LIMIT=40]
         */
        public static final int common_google_play_services_update_title=0x7f060007;
        /**  Sign-in button text [CHAR LIMIT=15]
         */
        public static final int common_signin_button_text=0x7f060011;
        /**  Long form sign-in button text [CHAR LIMIT=30]
         */
        public static final int common_signin_button_text_long=0x7f060012;
        public static final int hello_world=0x7f06001a;
        public static final int menu_settings=0x7f06001b;
    }
    public static final class style {
        /**
        Base application theme, dependent on API level. This theme is replaced
        by AppBaseTheme from res/values-vXX/styles.xml on newer devices.

            Theme customizations available in newer API levels can go in
            res/values-vXX/styles.xml, while customizations related to
            backward-compatibility can go here.

        Base application theme for API 11+. This theme completely replaces
        AppBaseTheme from res/values/styles.xml on API 11+ devices.

 API 11 theme customizations can go here.

        Base application theme for API 14+. This theme completely replaces
        AppBaseTheme from BOTH res/values/styles.xml and
        res/values-v11/styles.xml on API 14+ devices.

 API 14 theme customizations can go here.
         */
        public static final int AppBaseTheme=0x7f070000;
        /**  Application theme.
 All customizations that are NOT specific to a particular API-level can go here.
         */
        public static final int AppTheme=0x7f070001;
        public static final int tour_theme=0x7f070002;
    }
    public static final class styleable {
        /** Attributes that can be used with a MapAttrs.

Includes the following attributes:

           <colgroup align="left" />
           <colgroup align="left" />

Attribute	Description

{@link #MapAttrs_cameraBearing com.example.tour:cameraBearing}

{@link #MapAttrs_cameraTargetLat com.example.tour:cameraTargetLat}

{@link #MapAttrs_cameraTargetLng com.example.tour:cameraTargetLng}

{@link #MapAttrs_cameraTilt com.example.tour:cameraTilt}

{@link #MapAttrs_cameraZoom com.example.tour:cameraZoom}

{@link #MapAttrs_mapType com.example.tour:mapType}

{@link #MapAttrs_uiCompass com.example.tour:uiCompass}

{@link #MapAttrs_uiRotateGestures com.example.tour:uiRotateGestures}

{@link #MapAttrs_uiScrollGestures com.example.tour:uiScrollGestures}

{@link #MapAttrs_uiTiltGestures com.example.tour:uiTiltGestures}

{@link #MapAttrs_uiZoomControls com.example.tour:uiZoomControls}

{@link #MapAttrs_uiZoomGestures com.example.tour:uiZoomGestures}

{@link #MapAttrs_useViewLifecycle com.example.tour:useViewLifecycle}

{@link #MapAttrs_zOrderOnTop com.example.tour:zOrderOnTop}

           @see #MapAttrs_cameraBearing
           @see #MapAttrs_cameraTargetLat
           @see #MapAttrs_cameraTargetLng
           @see #MapAttrs_cameraTilt
           @see #MapAttrs_cameraZoom
           @see #MapAttrs_mapType
           @see #MapAttrs_uiCompass
           @see #MapAttrs_uiRotateGestures
           @see #MapAttrs_uiScrollGestures
           @see #MapAttrs_uiTiltGestures
           @see #MapAttrs_uiZoomControls
           @see #MapAttrs_uiZoomGestures
           @see #MapAttrs_useViewLifecycle
           @see #MapAttrs_zOrderOnTop
         */
        public static final int[] MapAttrs = {
            0x7f010000, 0x7f010001, 0x7f010002, 0x7f010003,
            0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007,
            0x7f010008, 0x7f010009, 0x7f01000a, 0x7f01000b,
            0x7f01000c, 0x7f01000d
        };
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#cameraBearing}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:cameraBearing
        */
        public static final int MapAttrs_cameraBearing = 1;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#cameraTargetLat}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:cameraTargetLat
        */
        public static final int MapAttrs_cameraTargetLat = 2;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#cameraTargetLng}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:cameraTargetLng
        */
        public static final int MapAttrs_cameraTargetLng = 3;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#cameraTilt}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:cameraTilt
        */
        public static final int MapAttrs_cameraTilt = 4;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#cameraZoom}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a floating point value, such as "1.2".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:cameraZoom
        */
        public static final int MapAttrs_cameraZoom = 5;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#mapType}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be one of the following constant values.

<colgroup align="left" />
<colgroup align="left" />
<colgroup align="left" />

Constant	Value	Description

none	0

normal	1

satellite	2

terrain	3

hybrid	4

          @attr name android:mapType
        */
        public static final int MapAttrs_mapType = 0;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#uiCompass}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:uiCompass
        */
        public static final int MapAttrs_uiCompass = 6;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#uiRotateGestures}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:uiRotateGestures
        */
        public static final int MapAttrs_uiRotateGestures = 7;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#uiScrollGestures}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:uiScrollGestures
        */
        public static final int MapAttrs_uiScrollGestures = 8;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#uiTiltGestures}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:uiTiltGestures
        */
        public static final int MapAttrs_uiTiltGestures = 9;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#uiZoomControls}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:uiZoomControls
        */
        public static final int MapAttrs_uiZoomControls = 10;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#uiZoomGestures}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:uiZoomGestures
        */
        public static final int MapAttrs_uiZoomGestures = 11;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#useViewLifecycle}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:useViewLifecycle
        */
        public static final int MapAttrs_useViewLifecycle = 12;
        /**

This symbol is the offset where the {@link com.example.tour.R.attr#zOrderOnTop}
          attribute's value can be found in the {@link #MapAttrs} array.

Must be a boolean value, either "true" or "false".

This may also be a reference to a resource (in the form
"@[package:]type:name") or
theme attribute (in the form
"?[package:][type:]name")
containing a value of this type.
          @attr name android:zOrderOnTop
        */
        public static final int MapAttrs_zOrderOnTop = 13;
    };
}


text:
//
//  UAFilter.h
//  Kestrel
//
//  Created by Rob Amos on 16/10/2013.
//  Copyright (c) 2013 Desto. All rights reserved.
//

@import Foundation;

/**
 * A filter object that is applied to a result set inside the filterable results controller.
**/
@interface UAFilter : NSObject

/**
 * The title of the filter. Not used internally to the Filterable Results Controller, but can be
 * useful when allowing the user to select filters.
**/
@property (nonatomic, strong) NSString *title;

/**
 * The title of a group of filters that this filter belongs to.
 *
 * There can only be one filter per group, so each filter will *replace* an existing filter with the
 * same group.
 *
 * If nil, no replacement will occur.
**/
@property (nonatomic, strong) NSString *groupTitle;

/**
 * An NSPredicate to apply directly to the result set. The predicates from all filters will be applied in sequence.
**/
@property (nonatomic, strong) NSPredicate *predicate;

/**
 * Creates a UAFilter object with the specified predicate.
 *
 * @param   predicate               A NSPredicate object to apply to the results in the Filterable Results Controller.
 * @returns                         An allocated and initialised UAFilter object.
**/
+ (UAFilter *)filterWithPredicate:(NSPredicate *)predicate;

/**
 * Creates a UAFilter object with the specified title, group and predicate.
 *
 * @param   title                   The title of the filter, not used internally.
 * @param   groupTitle              The title of a group that this filter belongs to. Filters from the same group replace each other.
 * @param   predicate               A NSPredicate object to apply to the results in the Filterable Results Controller.
 * @returns                         An allocated and initialised UAFilter object.
**/
+ (UAFilter *)filterWithTitle:(NSString *)title group:(NSString *)groupTitle predicate:(NSPredicate *)predicate;

/**
 * Checks whether the supplied filter is equal to the receiver.
 *
 * @param   filter                  Another filter to compare against the receiver.
 * @returns                         YES if the filters should be considered equal, NO otherwise.
**/
- (BOOL)isEqualToFilter:(UAFilter *)filter;

@end

redpajama_set_name: RedPajamaGithub


text:
jest.mock('fs');
import * as fs from 'fs';
import RawConfig from '../../src/types/rawConfig/RawConfig';
import loadConfig, { loadConfigFromString, normalizeExportRules } from '../../src/utils/loadConfig';
import * as normalizePath from '../../src/utils/normalizePath';
import ConfigSet from '../../src/types/ConfigSet';
import Config from '../../src/types/config/Config';
import NormalizedPath from '../../src/types/NormalizedPath';

describe('loadConfig', () => {
    const configPath = 'configPath';
    const normalizedPath = 'normalizedPath';

    let rawConfig: RawConfig;
    let configSet: ConfigSet;

    beforeEach(() => {
        spyOn(fs, 'readFileSync').and.returnValue('');
        spyOn(JSON, 'parse').and.callFake(() => rawConfig);
        spyOn(normalizePath, 'default').and.returnValue(normalizedPath);
        configSet = {};
    });

    it('adds the config to the configSet object', () => {
        // Arrange
        rawConfig = {};

        // Act
        loadConfig(configPath, configSet);

        // Assert
        expect(configSet[normalizedPath]).toBeDefined();
    });

    it('adds the normalized path to the config object', () => {
        // Arrange
        rawConfig = {};

        // Act
        loadConfig(configPath, configSet);

        // Assert
        expect(configSet[normalizedPath].path).toBe(normalizedPath);
    });

    it('includes the tags', () => {
        // Arrange
        let tags = ['tag1', 'tag2'];
        rawConfig = { tags };

        // Act
        loadConfig(configPath, configSet);

        // Assert
        expect(configSet[normalizedPath].tags).toBe(tags);
    });

    it('includes the imports', () => {
        // Arrange
        let imports = [];
        rawConfig = { imports };

        // Act
        loadConfig(configPath, configSet);

        // Assert
        expect(configSet[normalizedPath].imports).toBe(imports);
    });

    it('normalizes the dependency rules', () => {
        // Arrange
        let dependencies = [
            'dependency1',
            {
                dependency: 'dependency2',
                accessibleTo: 'tag1',
            },
        ];

        let normalizedDependencies = [
            { dependency: 'dependency1', accessibleTo: null },
            { dependency: 'dependency2', accessibleTo: 'tag1' },
        ];

        rawConfig = { dependencies };

        // Act
        loadConfig(configPath, configSet);

        // Assert
        expect(configSet[normalizedPath].dependencies).toEqual(normalizedDependencies);
    });
});

describe('loadConfigFromString', () => {
    const normalizedPath: NormalizedPath = 'normalizedPath' as NormalizedPath;

    it('handles BOM', () => {
        // Arrange
        const configString = '\ufeff{}';

        // Act
        const config = loadConfigFromString(normalizedPath, configString);

        // Assert
        const expected: Config = {
            path: normalizedPath,
            tags: undefined,
            exports: null,
            dependencies: null,
            imports: undefined,
        };
        expect(config).toEqual(expected);
    });

    it('handles comments', () => {
        // Arrange
        const configString = '{} // Comment';

        // Act
        const config = loadConfigFromString(normalizedPath, configString);

        // Assert
        const expected: Config = {
            path: normalizedPath,
            tags: undefined,
            exports: null,
            dependencies: null,
            imports: undefined,
        };
        expect(config).toEqual(expected);
    });
});

describe('normalizeExportRules', () => {
    const testModules = 'test';

    it('handles null', () => {
        // Act
        const returnValue = normalizeExportRules(null);

        // Assert
        expect(returnValue).toEqual(null);
    });

    it('does not modify a full ExportRule', () => {
        // Arrange
        const exportRules = [
            {
                modules: testModules,
                accessibleTo: ['tag1', 'tag2'],
            },
        ];

        // Act
        const returnValue = normalizeExportRules(exportRules);

        // Assert
        expect(returnValue).toEqual(exportRules);
    });

    it('converts a simple strings to ExportRules', () => {
        // Arrange
        const exportRules = [testModules];

        // Act
        const returnValue = normalizeExportRules(exportRules);

        // Assert
        expect(returnValue).toEqual([
            {
                modules: testModules,
                accessibleTo: null,
            },
        ]);
    });
});


text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>Class: ResearchersController</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />

          Class
          ResearchersController

            In:

                app/controllers/researchers_controller.rb

            Parent:

                ApplicationController

Controller for adding or removing researchers

Methods

      confirm
      create
      index
      new
      remove

Public Instance methods

          confirm()

Marks the current user as researcher if he has a invitation and redirects
to cards_path bypassing canvas (to avoid nested frames)

[Source]

    # File app/controllers/researchers_controller.rb, line 31
31:   def confirm
32:     invitation = Invitation.find(:first, :conditions => {
33:         :facebook_id => current_user.facebook_id, :for => 'researcher'})
34:     invitation.promote(current_user)
35:     flash[:notice] = 'You are now a Researcher!'
36:     redirect_to(:action => "index", :controller => "cards",
37:       :bypass_canvas => true)
38:   end

          create()

Creates a invitation for researcher to all ids in params[:ids] and
redirects to cards_path

[Source]

    # File app/controllers/researchers_controller.rb, line 20
20:   def create
21:     authorize! :invite_researcher, User.new
22:     @sent_to_ids = params[:ids]
23:     @sent_to_ids.each do |id|
24:       Invitation.create(:facebook_id => id, :for => 'researcher')
25:     end
26:     redirect_to(cards_path)
27:   end

          index()

Lists all users that are researchers as @researchers

[Source]

   # File app/controllers/researchers_controller.rb, line 5
5:   def index
6:     @researchers = User.researchers
7:     authorize! :read, User.new
8:   end

          new()

Assigns @exclude_ids as all users that are admins or researchers

[Source]

    # File app/controllers/researchers_controller.rb, line 11
11:   def new
12:     authorize! :invite_researcher, User.new
13:     @exclude_ids = Invitation.forbidden(facebook_session) do |user|
14:       !user.nil? && (user.admin? || user.researcher?)
15:     end
16:   end

          remove()

Remove the requested user and redirects to cards_path if the current_user
requested his removal from researchers lists and redirects to
researchers_path if this was done by another user.

[Source]

    # File app/controllers/researchers_controller.rb, line 43
43:   def remove
44:     @user = User.find(params[:id])
45:     authorize! :remove_researcher, @user
46:     @user.researcher = false
47:     @user.save
48:     if current_user == @user
49:       redirect_to(cards_path)
50:     else
51:       redirect_to(researchers_path)
52:     end
53:   end

[Validate]


text:
import { Client } from '@/services/api'

const state = {
  unities: [],
  services: [],
  departments: []
}

const getters = {

}

const mutations = {
  updateUnities (state, unities) {
    state.unities = unities
  },

  updateServices (state, services) {
    state.services = services
  },

  updateDepartments (state, departments) {
    state.departments = departments
  }
}

const actions = {
  fetchUnities ({ state, commit, rootState }) {
    return new Promise((resolve, reject) => {
      const api = new Client(rootState.config.server)

      api
        .unities(rootState.auth.accessToken)
        .then(data => {
          commit('updateUnities', data)
          resolve()
        }, error => {
          reject(error)
        })
    })
  },

  fetchServices ({ state, commit, rootState }, unityId) {
    commit('updateServices', [])

    if (!unityId) {
      return Promise.resolve([])
    }

    return new Promise((resolve, reject) => {
      const api = new Client(rootState.config.server)
      api
        .services(rootState.auth.accessToken, unityId)
        .then(data => {
          commit('updateServices', data)
          resolve(data)
        }, error => {
          reject(error)
        })
    })
  },

  fetchDepartments ({ state, commit, rootState }) {
    commit('updateDepartments', [])

    return new Promise((resolve, reject) => {
      const api = new Client(rootState.config.server)
      api
        .departments(rootState.auth.accessToken)
        .then(data => {
          commit('updateDepartments', data)
          resolve(data)
        }, error => {
          reject(error)
        })
    })
  }
}

export default {
  state,
  getters,
  actions,
  mutations
}


text:
[![Build Status](https://travis-ci.org/ctlab/sgmwcs-solver.svg?branch=master)](https://travis-ci.org/ctlab/sgmwcs-solver)

# sgmwcs-solver

This is a solver for signal version of generalized maximum-weight connected subgraph problem (SGMWCS).

See [releases](https://github.com/ctlab/sgmwcs-solver/releases) to get built jar files.

# Dependencies

The program requires CPLEX (≥ 12.63) to be installed on your computer.

Building from sources
===========

Get source using git or svn using the web URL:

    https://github.com/ctlab/sgmwcs-solver.git

Then you should install concert library of CPLEX.
It's located in "cplex/lib" directory from CPLEX STUDIO root path.
For example,

    mvn install:install-file -Dfile=/opt/ibm/ILOG/CPLEX_Studio1263/cplex/lib/cplex.jar -DgroupId=com.ibm -DartifactId=cplex -Dversion=12.6.3 -Dpackaging=jar

After that you can build the project using maven:

    mvn install -DskipTests=true

And jar file with name "sgmwcs-solver.jar" will appear in the "target" directory

Running
=======

To run the program you should set jvm parameter java.library.path to directory of CPLEX binaries and set parameter
-classpath to program jar and cplex.jar like in the example below.

    java -Djava.library.path=/opt/ibm/ILOG/CPLEX_Studio1263/cplex/bin/x86-64_linux/ -cp /opt/ibm/ILOG/CPLEX_Studio1263/cplex/lib/cplex.jar:sgmwcs-solver.jar ru.itmo.ctlab.sgmwcs.Main

See more help by using flag -h.

Tip: you can put the file `libcplex%version%.so` or symbolic link to it in the one of the predefined
java.library.path directories(e.g. `/usr/lib`). In that case it's no longer necessary to point out path to CPLEX
binaries.

Problem
=========

The solver solves a signal version of generalized Maximum Weighted Connected Subgraph problem with weighted vertices and edges.
Input of the problem is graph with node and edge weights (positive or negative).
Some of the nodes or edges are grouped into a signal so that each node/edge in the signal has the same score.
The goal is to find a connected subgraph with a maximal weight, considered nodes/edges in a signal group are counted maximum one time.

Format and example
=========

Node file(node_name  [signal...]):

    1   S1  S11
    2   S3
    3   S4
    4   S5
    5   S1
    6   S1

Edge file(edge_from  edge_to  [signal...]):

    1   2   S6
    2   3   S2
    2   4   S7
    3   4   S2
    4   6   S8
    5   6   S9
    1   5   S10

Signal file(singal  weight)

    S1  7.0
    S2  -20.0
    S3  40.0
    S4  15.0
    S5  8.0
    S6  3.0
    S7  -7.0
    S8  -10.0
    S9  -2.0
    S10 -15.3
    S11 1.0

Yellow vertices - vertex group S1, red edges - edge group S2.

![Example](/sample.png?raw=true "Sample")

Red units in graph below - solution.

![Example](/sample_solved.png?raw=true "Solution")

Running the example
==============

    java -cp /opt/ibm/ILOG/CPLEX_Studio1263/cplex/lib/cplex.jar:sgmwcs-solver.jar Main -n nodes -e edges -s signals


text:
package io.netty.handler.codec.spdy;

import io.netty.util.internal.StringUtil;

/**
 * The default {@link SpdyRstStreamFrame} implementation.
 */
public class DefaultSpdyRstStreamFrame extends DefaultSpdyStreamFrame
        implements SpdyRstStreamFrame {

    private SpdyStreamStatus status;

    /**
     * Creates a new instance.
     *
     * @param streamId   the Stream-ID of this frame
     * @param statusCode the Status code of this frame
     */
    public DefaultSpdyRstStreamFrame(int streamId, int statusCode) {
        this(streamId, SpdyStreamStatus.valueOf(statusCode));
    }

    /**
     * Creates a new instance.
     *
     * @param streamId the Stream-ID of this frame
     * @param status   the status of this frame
     */
    public DefaultSpdyRstStreamFrame(int streamId, SpdyStreamStatus status) {
        super(streamId);
        setStatus(status);
    }

    @Override
    public SpdyRstStreamFrame setStreamId(int streamId) {
        super.setStreamId(streamId);
        return this;
    }

    @Override
    public SpdyRstStreamFrame setLast(boolean last) {
        super.setLast(last);
        return this;
    }

    @Override
    public SpdyStreamStatus getStatus() {
        return status;
    }

    @Override
    public SpdyRstStreamFrame setStatus(SpdyStreamStatus status) {
        this.status = status;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder buf = new StringBuilder();
        buf.append(getClass().getSimpleName());
        buf.append(StringUtil.NEWLINE);
        buf.append("--> Stream-ID = ");
        buf.append(getStreamId());
        buf.append(StringUtil.NEWLINE);
        buf.append("--> Status: ");
        buf.append(getStatus().toString());
        return buf.toString();
    }
}


text:
'''
Authors: Tim Hessels
         UNESCO-IHE 2016
Contact: t.hessels@unesco-ihe.org
Repository: https://github.com/wateraccounting/wa
Module: Products/ETref
'''
# import general python modules
import sys
import numpy as np

# import WA+ modules
from wa.Products.ETref.CollectDataETref import CollectData
from wa.Products.ETref.CollectLANDSAFETref import CollectLANDSAF
from wa.Products.ETref.SetVarETref import SetVariables

def main(Dir, Startdate = '', Enddate = '',
         latlim = [-60, 60], lonlim = [-180, 180], pixel_size = False, cores = False, LANDSAF =  0, SourceLANDSAF=  '', Waitbar = 1):
    """
    This function creates ETref (daily) data based on Hydroshed, GLDAS, and (CFSR/LANDSAF)

    Keyword arguments:
    Dir -- 'C:/file/to/path/'
    Startdate -- 'yyyy-mm-dd'
    Enddate -- 'yyyy-mm-dd'
    latlim -- [ymin, ymax] (values must be between -60 and 60)
    lonlim -- [xmin, xmax] (values must be between -180 and 180)
    pixel_size -- The output pixel size
    cores -- The number of cores used to run the routine.
             It can be 'False' to avoid using parallel computing
             routines.
    LANDSAF -- if LANDSAF data must be used it is 1
    SourceLANDSAF -- the path to the LANDSAF files
    Waitbar -- 1 (Default) will print the waitbar
    """
    if Waitbar == 1:
        print 'Create daily Reference ET data for the period %s till %s' %(Startdate, Enddate)

    # Correct latitude and longitude if needed
    if latlim[0] < -60 or latlim[1] > 60:
        print ('Latitude above 60N or below 60S is not possible.'
                        ' Value set to maximum')
        latlim[0] = np.max(latlim[0], -60)
        latlim[1] = np.min(lonlim[1], 60)
    if lonlim[0] < -180 or lonlim[1] > 180:
        print ('Longitude must be between 180E and 180W.'
                       ' Now value is set to maximum')
        lonlim[0] = np.max(latlim[0], -180)
        lonlim[1] = np.min(lonlim[1], 180)

    # Download data (using the wa.Collect scripts)
    CollectData(Dir, Startdate, Enddate, latlim, lonlim, cores, LANDSAF)

    # Process LANDSAF data if needed
    if LANDSAF == 1:
        CollectLANDSAF(SourceLANDSAF, Dir, Startdate, Enddate, latlim, lonlim)

    # Set up the variables and calculates ETref hereafter
    SetVariables(Dir, Startdate, Enddate, latlim, lonlim, pixel_size, cores, LANDSAF, Waitbar)

if __name__ == '__main__':
    main(sys.argv)


text:
import sys
import math

def is_int(s):
    if s[0] in ('-','+'):
        return s[1:].isdigit()
    return s.isdigit()

def add(stack):
    print_stack_debug(stack)
    if len(stack) > 1:
        head = int(stack.pop())
        second = int(stack.pop())
        stack.append(str(second + head))
    else:
        if len(stack) == 1:
            stack.pop()
        manage_error(stack)
    print_stack_debug(stack)

def sub(stack):
    print_stack_debug(stack)
    if len(stack) > 1:
        head = int(stack.pop())
        second = int(stack.pop())
        stack.append(str(second - head))
    else:
        if len(stack) == 1:
            stack.pop()
        manage_error(stack)
    print_stack_debug(stack)

def mul(stack):
    print_stack_debug(stack)
    if len(stack) > 1:
        head = int(stack.pop())
        second = int(stack.pop())
        stack.append(str(second * head))
    else:
        if len(stack) == 1:
            stack.pop()
        manage_error(stack)
    print_stack_debug(stack)

def div(stack):
    print_stack_debug(stack)
    if len(stack) > 1:
        head = int(stack.pop())
        second = int(stack.pop())
        if head != 0:
            stack.append(str(second // head))
        else:
            manage_error(stack)
    else:
        if len(stack) == 1:
            stack.pop()
        manage_error(stack)
    print_stack_debug(stack)

def mod(stack):
    print_stack_debug(stack)
    if len(stack) > 1:
        head = int(stack.pop())
        second = int(stack.pop())
        if head != 0:
            stack.append(str(second % head))
        else:
            manage_error(stack)
    else:
        if len(stack) == 1:
            stack.pop()
        manage_error(stack)
    print_stack_debug(stack)

def pop(stack):
    print_stack_debug(stack)
    if len(stack) > 0:
        head = stack.pop()
        print_stack_debug(stack)
    else:
        manage_error(stack)
    print_stack_debug(stack)

def dup(stack):
    print_stack_debug(stack)
    if len(stack) > 0:
        head = stack.pop()
        stack.append(head)
        stack.append(head)
        print_stack_debug(stack)
    else:
       manage_error(stack)
    print_stack_debug(stack)

def swap(stack):
    if len(stack) > 1:
        head = stack.pop()
        second = stack.pop()
        stack.append(head)
        stack.append(second)
        print_stack_debug(stack)
    else:
        manage_error(stack)
    print_stack_debug(stack)

def rol(stack):
    if len(stack) > 3:
        stack.pop()
        head = stack.pop()
        second = stack.pop()
        third = stack.pop()
        stack.append(second)
        stack.append(head)
        stack.append(third)
        print_stack_debug(stack)
    else:
       manage_error(stack)
    print_stack_debug(stack)

def manage_error(stack):
    stack.append(error_code)

def stack_to_str(stack):
    resultat = ""
    for elem in stack:
        resultat = resultat + str(elem) + " "
    return resultat.strip()

def print_stack(stack):
    print(stack_to_str(stack))

def print_stack_debug(stack):
    print >> sys.stderr, "[DEBUG] Stack : {}".format(stack_to_str(stack))

stack = []
operations = { 'ADD' : add, 'SUB' : sub, 'MUL': mul, 'DIV' : div, 'MOD': mod,'POP': pop, 'DUP':dup, 'SWP': swap, 'ROL': rol}
error_code = "ERROR"

input_value_1 = raw_input()
if input_value_1.isdigit():
    n = int(input_value_1)
    if n>99:
        print >> sys.stderr, "Number of instructions {}".format(n)
        print >> sys.stderr, "More instructions than the limit {}".format(n)
        manage_error(stack)
    else:
        instructions = raw_input().split()
        if len(instructions) != n :
            print >> sys.stderr, "The given number of instructions ({}) and the real number of instructions ({}) are different".format(n,len(instructions))
            manage_error(stack)
        else :
            for instruction in instructions:
                print >> sys.stderr, "Instruction : {}".format(instruction)
                if is_int(instruction):
                    stack.append(instruction)
                else :
                    if instruction in operations:
                        op = operations[instruction]
                        op(stack)
                    else:
                       manage_error(stack)
                    if len(stack) > 0 and stack[-1] == error_code:
                        break
else:
   manage_error(stack)

print_stack_debug(stack)
print_stack(stack)


text:
'use strict';
module.exports = class Index {

};


text:
code: true
type: page
title: hincrby
---

# hincrby

Increments the number stored in a hash field by the provided integer value.

[[_Redis documentation_]](https://redis.io/commands/hincrby)

## Arguments

```js
hincrby(key, field, increment, [options]);
```

| Arguments   | Type               | Description              |
| ----------- | ------------------ | ------------------------ |
| `key`       |
string
  | Hash key                 |
| `field`     |
string
  | Field name               |
| `increment` |
integer
 | Increment value          |
| `options`   |
object
  | Optional query arguments |

### options

The `options` arguments can contain the following option properties:

| Property   | Type (default)            | Description                                                                  |
| ---------- | ------------------------- | ---------------------------------------------------------------------------- |
| `queuable` |
boolean (true)
 | If true, queues the request during downtime, until connected to Kuzzle again |

## Resolve

Resolves to the updated value of the hash's field.

## Usage

<<< ./snippets/hincrby.js


text:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="100dp"
    android:padding="10dp" >

    <com.android.volley.toolbox.NetworkImageView
        android:id="@+id/list_item_image"
        android:layout_width="75dp"
        android:layout_height="75dp"
        android:layout_alignParentLeft="true"
        android:layout_centerVertical="true" />

    <TextView
        android:id="@+id/list_item_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@+id/list_item_image"
        android:layout_marginLeft="10dp"
        android:layout_toRightOf="@+id/list_item_image"
        android:text="Name" />

    <TextView
        android:id="@+id/list_item_age"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/list_item_name"
        android:layout_marginLeft="10dp"
        android:layout_marginTop="5dp"
        android:layout_toRightOf="@+id/list_item_image"
        android:text="Age" />

</RelativeLayout>


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

 <meta http-equiv="content-type" content="text/html; charset=utf-8">
 <link rel="copyright" href="http://creativecommons.org/licenses/by/3.0/" />
 <meta name="viewport" content="width=device-width, user-scalable=0"/>
 <link rel="stylesheet" type="text/css" href="ucp.css" media="screen" />
 <link rel="stylesheet" type="text/css" href="example.local.css" media="screen" />
 <title>useful classroom phrases - example</title>

usefulclassroomphrases

        a selection for css classes used inside content areas.

Home

What will you get

How will this work

Who runs this

When will this happen

Where to find

ucp Heading 1

useful css class-room phrases is a small selection for css classes used inside content areas. Some simple worded, self-explanatory and self-describable classes writing and understand your source.

Element inside panel, but with custom excess width.

Heading in panel with panorama background

Examples Heading 2

A Lead paragraph in literature refers to the opening paragraph of an article, essay, news story or book chapter. Often called just "the lead," it usually occurs together with the headline or title. It precedes the main body of the article, and it gives the reader the main idea of the story. The word "lead" is pronounced to rhyme with "need". class="lead"

A second Lead paragraph in literature refers to the opening paragraph of an article, essay, news story or book chapter. Often called just "the lead," it usually occurs together with the headline or title. It precedes the main body of the article, and it gives the reader the main idea of the story. The word "lead" is pronounced to rhyme with "need".

half left text: dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna

the other half but right: sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed

Heading 3

half in
half in a

Heading 4

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed

Heading 5

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed

Heading 6

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5

Heading 6

directly following headings without elements between headings

link blocked (gray only for visual perception)

list

ul li

ul li

float

            Image #left, #right and hr with cb.

Outbreak

Outbreak for big pictures, maps, logs, codesnippets etc

[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:51 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:53 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:54 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:55 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:56 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:57 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:58 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:59 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test
[Wed Oct 11 14:32:60 2000] [error] [client 127.0.0.1] client denied by server configuration: /export/home/live/ap/htdocs/test

table

thead 1	thead 2

tbody A	tbody B

a	b

form

        <form action="form.htm">
            <input type="text" name="example" value="input" />

            <select name="select">
                <option>option 1</option>
                <option>option 2</option>
            </select>

            <textarea>textarea</textarea>
        </form>

row2

The class row2 creates a not "html-tabled 2-column" table with a definiton list. This class has to be around the dl, if you use not changable markup like markdown etc

Short term and long definition

sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed

sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed. Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed.

Long term and short definition

And a short term

and short definitipn after a long term


text:
class Solution(object):
    def mergeKLists(self, lists):
        """
        :type lists: List[ListNode]
        :rtype: ListNode
        """
        if not lists:
            return []

        minheap=[]
        #pre-work  build a min heap
        for node in lists:
            if node:
                heapq.heappush(minheap, (node.val,node))

        dumpy=ListNode(0)
        p=dumpy
        while minheap:
            #get the min of the heap
            val,peek=heapq.heappop(minheap)
            #save the value
            p.next=ListNode(val)
            p=p.next
            #add the smallest next node to the min heap
            if peek.next:
                heapq.heappush(minheap,(peek.next.val,peek.next))

        return dumpy.next


text:
// Copyright 2013 Cultural Heritage Agency of the Netherlands, Dutch National Military Museum and Trezorix bv
//
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
//
//        http://www.apache.org/licenses/LICENSE-2.0
//
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Trezorix.Checkers.DocumentCheckerApp.Controllers;

namespace Trezorix.Checkers.DocumentCheckerApp.Export
{

	[DataContract]
	public class ExportModel
	{
		private static readonly IEnumerable<string> s_headers;

		[DataMember]
		public IList<DocumentExportModel> Documents { get; private set; }

		[DataMember]
		public IEnumerable<string> Headers { get; private set; }

		[DataMember]
		public IEnumerable<string> SkosSourcePivotHeaders { get; private set; }

		static ExportModel()
		{
			// construct header cache based on the presence of the DataMember attribute
			s_headers = (from p in typeof (DocumentExportModel).GetProperties()
						 where p.IsDefined(typeof(DataMemberAttribute), true)
						 && !p.IsDefined(typeof(IgnoreAsColumnAttribute), true)
						select p.Name).ToList();
		}

		public ExportModel(IEnumerable<string> skosSources)
		{
			SkosSourcePivotHeaders = skosSources.ToList();

			Headers = s_headers;

			Documents = new List<DocumentExportModel>();
		}
	}
}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
接口 javax.security.auth.callback.Callback 的使用 (Java Platform SE 6)
</TITLE>

<META NAME="date" CONTENT="2007-03-19">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

      概述
      软件包
      类
    使用
      树
      已过时
      索引
      帮助

JavaTM Platform
Standard Ed. 6

 上一个
 下一个

  框架
 无框架

  所有类

接口 javax.security.auth.callback.Callback
的使用

使用 Callback 的软件包

javax.security.auth.callback
此包提供与应用程序进行交互所必需的类,以便检索信息(例如,包括用户名和密码的验证数据)或显示信息(例如,错误和警告消息)。

javax.security.sasl
包含用于支持 SASL 的类和接口。

javax.security.auth.callback 中 Callback 的使用

实现 Callback 的 javax.security.auth.callback 中的类

 class
ChoiceCallback

           底层安全服务实例化一个 ChoiceCallback ,并将它传递给 CallbackHandler 的 handle 方法,以显示选项列表并获取选中的选项。

 class
ConfirmationCallback

           底层安全服务实例化 ConfirmationCallback,并将其传递到 CallbackHandler 的 handle 方法,以请求 YES/NO、OK/CANCEL、YES/NO/CANCEL 或其他类似的确认信息。

 class
LanguageCallback

           底层安全服务实例化一个 LanguageCallback, 并将其传递给 CallbackHandler 的 handle 方法,以获取用于本地化文本的 Locale。

 class
NameCallback

           底层安全服务实例化一个 NameCallback 并将其传递给 CallbackHandler 的 handle 方法,以获取名称信息。

 class
PasswordCallback

           底层安全服务实例化一个 PasswordCallback 并将其传递给 CallbackHandler 的 handle 方法,以获取密码信息。

 class
TextInputCallback

           底层安全服务实例化一个 TextInputCallback 并将其传递给 CallbackHandler 的 handle 方法,以获取普通的文本信息。

 class
TextOutputCallback

           底层安全服务实例化一个 TextOutputCallback 并将其传递给 CallbackHandler 的 handle 方法,以显示信息消息、警告消息和错误消息。

返回 Callback 的 javax.security.auth.callback 中的方法

 Callback
UnsupportedCallbackException.getCallback()

          获取未识别的 Callback。

参数类型为 Callback 的 javax.security.auth.callback 中的方法

 void
CallbackHandler.handle(Callback[] callbacks)

           获取或显示在提供的 Callback 中请求的信息。

参数类型为 Callback 的 javax.security.auth.callback 中的构造方法

UnsupportedCallbackException(Callback callback)

          构造不带详细消息的 UnsupportedCallbackException。

UnsupportedCallbackException(Callback callback,
                             String msg)

          构造带指定详细消息的 UnsupportedCallbackException。

javax.security.sasl 中 Callback 的使用

实现 Callback 的 javax.security.sasl 中的类

 class
AuthorizeCallback

          此回调由 <tt>SaslServer</tt> 使用,以确定某个实体(由已验证的验证 id 所标识)能否代表另一个实体(由授权 id 所标识)。

 class
RealmCallback

          <tt>SaslClient</tt> 和 <tt>SaslServer</tt> 使用此回调来获取领域信息。

 class
RealmChoiceCallback

          <tt>SaslClient</tt> 和 <tt>SaslServer</tt> 使用此回调获得给定领域选项列表的领域。

      概述
      软件包
      类
    使用
      树
      已过时
      索引
      帮助

JavaTM Platform
Standard Ed. 6

 上一个
 下一个

  框架
 无框架

  所有类

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。


text:
<?php

namespace Elodex\Contracts;

interface IndexManagement
{
    /**
     * Get the default index manager.
     *
     * @return \Elodex\IndexManager
     */
    public static function getDefaultIndexManager();

    /**
     * Convenient method to access the index manager of the current class and
     * open the index.
     *
     * @param  string $indexName
     * @return array
     */
    public static function openIndex($indexName = null);

    /**
     * Convenient method to access the index manager of the current class and
     * close the index.
     *
     * @param  string $indexName
     * @return array
     */
    public static function closeIndex($indexName = null);

    /**
     * Convenient method to access the index manager of the current class and
     * put index settings.
     *
     * @param  array $settings
     * @param  string|null $indexName
     * @return array
     */
    public static function putIndexSettings(array $settings, $indexName = null);

    /**
     * Convenient method to access the index manager of the current class and
     * put the property mappings of a type into the index.
     *
     * @param  string|null $indexName
     * @return array
     */
    public static function putIndexMappings($indexName = null);
}


text:
var neighborRepr, ligandRepr

var struc
var neighborSele
var sidechainAttached = false

function loadStructure (proteinFile) {
  struc = undefined
  stage.setFocus(0)
  stage.removeAllComponents()
  return stage.loadFile(proteinFile).then(function (o) {
    struc = o

    struc.autoView(2000)
    struc.setDefaultAssembly('BU1')

    struc.addRepresentation('cartoon', {
      color: 'resname'
    })
    neighborRepr = struc.addRepresentation('ball+stick', {
      sele: 'none',
      aspectRatio: 1.1,
      colorValue: 'lightgrey',
      multipleBond: 'symmetric'
    })
    ligandRepr = struc.addRepresentation('ball+stick', {
      multipleBond: 'symmetric',
      colorValue: 'grey',
      sele: 'none',
      aspectRatio: 1.2,
      radiusScale: 2.5
    })
  })
}

function showFull () {
  ligandRepr.setVisibility(false)
  neighborRepr.setVisibility(false)

  struc.autoView(2000)
}

function showLigand (sele) {
  var s = struc.structure

  var withinSele = s.getAtomSetWithinSelection(new NGL.Selection(sele), 9)
  var withinGroup = s.getAtomSetWithinGroup(withinSele)
  var expandedSele = withinGroup.toSeleString()
  neighborSele = '(' + expandedSele + ') and not (' + sele + ')'
  neighborSele = expandedSele

  ligandRepr.setVisibility(true)
  neighborRepr.setVisibility(true)

  ligandRepr.setSelection(sele)
  neighborRepr.setSelection(
    sidechainAttached ? '(' + neighborSele + ') and (sidechainAttached or not polymer)' : neighborSele
  )

  struc.autoView(expandedSele, 2000)
}

function showRegion (sele) {
  var s = struc.structure

  var withinSele = s.getAtomSetWithinSelection(new NGL.Selection(sele), 5)
  var withinGroup = s.getAtomSetWithinGroup(withinSele)
  var expandedSele = withinGroup.toSeleString()
  neighborSele = '(' + expandedSele + ') and not (' + sele + ')'
  neighborSele = expandedSele

  ligandRepr.setVisibility(false)
  neighborRepr.setVisibility(false)

  struc.autoView(expandedSele, 2000)
}

// remove default clicking
stage.mouseControls.remove('clickPick-left')
// onclick residue select and show atoms
var prevSele = ''
stage.signals.clicked.add(function (pickingProxy) {
  if (pickingProxy === undefined) {
    showFull()
  }
  if (pickingProxy !== undefined) {
    var sele = ''
    if (pickingProxy.closestBondAtom) {
      sele = ''
      return
    }
    if (pickingProxy.atom.resno !== undefined) {
      sele += (pickingProxy.closestBondAtom || pickingProxy.atom.resno)
    }
    if (pickingProxy.atom.chainname) {
      sele += ':' + (pickingProxy.closestBondAtom || pickingProxy.atom.chainname)
    }
    if (!sele) {
      showFull()
    }
    if (sele !== prevSele) {
      showLigand(sele)
      prevSele = sele
    } else if (sele === prevSele) {
      showRegion(sele)
      prevSele = ''
    }
  }
})
loadStructure('rcsb://2isk.pdb')


text: <ng-include src="'plugins/records/patient/manage-patients.html'"></ng-include>


text:
import * as React from 'react'
import Link from 'next/link'
import Layout from '../components/Layout'

const AboutPage: React.FunctionComponent = () => (
  <Layout title="About | Next.js + TypeScript Example">

About

This is the about page

      <Link href="/">
        Go home
      </Link>

  </Layout>
)

export default AboutPage


text:
package net.canang.cfi.biz.ar.manager.workflow;

/**
 * @author rafizan.baharum
 * @since 10/3/13
 */
public class ReceiptWorkflow {
}


text:
''' Provide property types for Bokeh models

Properties are objects that can be assigned as class attributes on Bokeh
models, to provide automatic serialization, validation, and documentation.

This documentation is broken down into the following sections:

.. contents::
    :local:

Overview
--------

There are many property types defined in the module, for example ``Int`` to
represent integral values, ``Seq`` to represent sequences (e.g. lists or
tuples, etc.). Properties can also be combined: ``Seq(Float)`` represents
a sequence of floating point values.

For example, the following defines a model that has integer, string, and
list[float] properties:

.. code-block:: python

    class SomeModel(Model):
        foo = Int
        bar = String(default="something")
        baz = List(Float, help="docs for baz prop")

As seen, properties can be declared as just the property type, e.g.
``foo = Int``, in which case the properties are automatically instantiated
on new Model objects. Or the property can be instantiated on the class,
and configured with default values and help strings.

The properties of this class can be initialized by specifying keyword
arguments to the initializer:

.. code-block:: python

    m = SomeModel(foo=10, bar="a str", baz=[1,2,3,4])

But also by setting the attributes on an instance:

.. code-block:: python

    m.foo = 20

Attempts to set a property to a value of the wrong type will
result in a ``ValueError`` exception:

.. code-block:: python

    >>> m.foo = 2.3
    Traceback (most recent call last):

      << traceback omitted >>

    ValueError: expected a value of type Integral, got 2.3 of type float

Models with properties know how to serialize themselves, to be understood
by BokehJS. Additionally, any help strings provided on properties can be
easily and automatically extracted with the Sphinx extensions in the
:ref:`bokeh.sphinxext` module.

Basic Properties
----------------

.. autoclass:: Angle
.. autoclass:: Any
.. autoclass:: AnyRef
.. autoclass:: Auto
.. autoclass:: Bool
.. autoclass:: Byte
.. autoclass:: Color
.. autoclass:: Complex
.. autoclass:: DashPattern
.. autoclass:: Date
.. autoclass:: Datetime
.. autoclass:: Either
.. autoclass:: Enum
.. autoclass:: Float
.. autoclass:: FontSize
.. autoclass:: Image
.. autoclass:: Instance
.. autoclass:: Int
.. autoclass:: Interval
.. autoclass:: JSON
.. autoclass:: MarkerType
.. autoclass:: MinMaxBounds
.. autoclass:: Percent
.. autoclass:: RGB
.. autoclass:: Regex
.. autoclass:: Size
.. autoclass:: String
.. autoclass:: TimeDelta

Container Properties
--------------------

.. autoclass:: Array
.. autoclass:: ColumnData
.. autoclass:: Dict
.. autoclass:: List
.. autoclass:: RelativeDelta
.. autoclass:: Seq
.. autoclass:: Tuple

DataSpec Properties
-------------------

.. autoclass:: AngleSpec
.. autoclass:: ColorSpec
.. autoclass:: DataDistanceSpec
.. autoclass:: DataSpec
.. autoclass:: DistanceSpec
.. autoclass:: FontSizeSpec
.. autoclass:: MarkerSpec
.. autoclass:: NumberSpec
.. autoclass:: ScreenDistanceSpec
.. autoclass:: StringSpec
.. autoclass:: UnitsSpec

Helpers
~~~~~~~

.. autofunction:: expr
.. autofunction:: field
.. autofunction:: value

Special Properties
------------------

.. autoclass:: Include
.. autoclass:: Override

Validation Control
------------------

By default, Bokeh properties perform type validation on values. This helps to
ensure the consistency of any data exchanged between Python and JavaScript, as
well as provide detailed and immediate feedback to users if they attempt to
set values of the wrong type. However, these type checks incur some overhead.
In some cases it may be desirable to turn off validation in specific places,
or even entirely, in order to boost performance. The following API is available
to control when type validation occurs.

.. autoclass:: validate
.. autofunction:: without_property_validation

'''
#-----------------------------------------------------------------------------
# Boilerplate
#-----------------------------------------------------------------------------
from __future__ import absolute_import, division, print_function, unicode_literals

import logging
log = logging.getLogger(__name__)

#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------

# Standard library imports

# External imports

# Bokeh imports

#-----------------------------------------------------------------------------
# Globals and constants
#-----------------------------------------------------------------------------

__all__ = (
    'Angle',
    'AngleSpec',
    'Any',
    'AnyRef',
    'Array',
    'Auto',
    'Bool',
    'Byte',
    'Color',
    'ColorSpec',
    'ColumnData',
    'Complex',
    'DashPattern',
    'DataDistanceSpec',
    'DataSpec',
    'Date',
    'Datetime',
    'Dict',
    'DistanceSpec',
    'Either',
    'Enum',
    'Float',
    'FontSize',
    'FontSizeSpec',
    'Image',
    'Include',
    'Instance',
    'Int',
    'Interval',
    'JSON',
    'List',
    'MarkerSpec',
    'MarkerType',
    'MinMaxBounds',
    'NumberSpec',
    'Override',
    'Percent',
    'RGB',
    'Regex',
    'RelativeDelta',
    'ScreenDistanceSpec',
    'Seq',
    'Size',
    'String',
    'StringSpec',
    'TimeDelta',
    'Tuple',
    'UnitsSpec',
    'expr',
    'field',
    'validate',
    'value',
    'without_property_validation'
)

#-----------------------------------------------------------------------------
# General API
#-----------------------------------------------------------------------------

from .property.any import Any; Any
from .property.any import AnyRef; AnyRef

from .property.auto import Auto; Auto

from .property.color import Color; Color
from .property.color import RGB; RGB

from .property.container import Array; Array
from .property.container import ColumnData; ColumnData
from .property.container import Dict; Dict
from .property.container import List; List
from .property.container import Seq; Seq
from .property.container import Tuple; Tuple
from .property.container import RelativeDelta; RelativeDelta

from .property.dataspec import AngleSpec; AngleSpec
from .property.dataspec import ColorSpec; ColorSpec
from .property.dataspec import DataSpec; DataSpec
from .property.dataspec import DataDistanceSpec; DataDistanceSpec
from .property.dataspec import DistanceSpec; DistanceSpec
from .property.dataspec import expr; expr
from .property.dataspec import field; field
from .property.dataspec import FontSizeSpec; FontSizeSpec
from .property.dataspec import MarkerSpec; MarkerSpec
from .property.dataspec import NumberSpec; NumberSpec
from .property.dataspec import ScreenDistanceSpec; ScreenDistanceSpec
from .property.dataspec import StringSpec; StringSpec
from .property.dataspec import UnitsSpec; UnitsSpec
from .property.dataspec import value; value

from .property.datetime import Date; Date
from .property.datetime import Datetime; Datetime
from .property.datetime import TimeDelta; TimeDelta

from .property.either import Either; Either

from .property.enum import Enum; Enum

from .property.include import Include ; Include

from .property.instance import Instance; Instance

from .property.json import JSON; JSON

from .property.numeric import Angle; Angle
from .property.numeric import Byte; Byte
from .property.numeric import Interval; Interval
from .property.numeric import Percent; Percent
from .property.numeric import Size; Size

from .property.override import Override ; Override

from .property.primitive import Bool; Bool
from .property.primitive import Complex; Complex
from .property.primitive import Int; Int
from .property.primitive import Float; Float
from .property.primitive import String; String

from .property.regex import Regex; Regex

from .property.visual import DashPattern; DashPattern
from .property.visual import FontSize; FontSize
from .property.visual import Image; Image
from .property.visual import MinMaxBounds; MinMaxBounds
from .property.visual import MarkerType; MarkerType

from .property.validation import validate; validate
from .property.validation import without_property_validation; without_property_validation

#-----------------------------------------------------------------------------
# Dev API
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# Private API
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------


text:
package com.orainteractive.orachat.model;

import java.io.Serializable;
import java.util.List;

/**
 * Chats object model
 * Created by kamilabrito on 7/25/17.
 */

public class Chats implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;
    private String name;
    private List<User> users;
    private ChatMessage last_chat_message;

    /**
     * Chats constructor
     *
     * @param id
     * @param name
     * @param users
     * @param last_chat_message
     */
    public Chats(int id, String name, List<User> users, ChatMessage last_chat_message) {
        this.id = id;
        this.name = name;
        this.users = users;
        this.last_chat_message = last_chat_message;
    }

    public Chats() {
    }

    /**
     * Get chats id
     *
     * @return
     */
    public int getId() {
        return id;
    }

    /**
     * Set chats id
     *
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * Get chats name
     *
     * @return
     */
    public String getName() {
        return name;
    }

    /**
     * Set chats name
     *
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Get users in chat
     *
     * @return
     */
    public List<User> getUsers() {
        return users;
    }

    /**
     * Set users in chat
     *
     * @param users
     */
    public void setUsers(List<User> users) {
        this.users = users;
    }

    /**
     * Get last chat message
     *
     * @return
     */
    public ChatMessage getLast_chat_message() {
        return last_chat_message;
    }

    /**
     * Set last chat message
     *
     * @param last_chat_message
     */
    public void setLast_chat_message(ChatMessage last_chat_message) {
        this.last_chat_message = last_chat_message;
    }
}


text:
// Copyright 2014, Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using System.Collections.Generic;
using System.Collections.Specialized;
using System.Web;

namespace Google.Api.Ads.Common.Logging
{
    /// <summary>
    /// Formats a URL encoded HTTP trace message by masking out sensitive fields.
    /// </summary>
    public class UrlEncodedBodyFormatter : TraceFormatter
    {
        /// <summary>
        /// Masks the contents of the traced message.
        /// </summary>
        /// <param name="body">The message body.</param>
        /// <param name="keysToMask">The keys for which values should be masked
        /// in the message body.</param>
        /// <returns>
        /// The formatted message body.
        /// </returns>
        public override string MaskContents(string body, ISet<string> keysToMask)
        {
            NameValueCollection collection = HttpUtility.ParseQueryString(body);

            foreach (string key in keysToMask)
            {
                if (keysToMask.Contains(key))
                {
                    collection[key] = MASK_PATTERN;
                }
            }

            List<string> encodedParams = new List<string>();
            foreach (string key in collection.Keys)
            {
                encodedParams.Add(string.Format("{0}={1}", HttpUtility.UrlEncode(key),
                    HttpUtility.UrlEncode(collection[key])));
            }

            return string.Join("&", encodedParams.ToArray());
        }
    }
}


text:
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing'
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { NavbarComponent } from "./navbar.component";
import { AuthService } from './auth.service';

describe('AppComponent', () => {
  beforeEach(() => {
    TestBed.configureTestingModule({
        declarations: [AppComponent, NavbarComponent ],
        imports: [ RouterTestingModule, FormsModule  ],
        providers: [ AuthService ]
      });
  });
  it ('should instantiate', () => {
    let fixture = TestBed.createComponent(AppComponent);
    expect(true).toBe(true);
    expect(fixture.componentInstance instanceof AppComponent).toBe(true, 'should create AppComponent');
  });
});


text:
	   		<form name="userForm" id="userForm" ng-submit="signup(userForm.$valid)" class="login-form user-form text-center" autocomplete="off" novalidate>

Become A Vendor

						<input class="form-control input-lg" name="username" type="text" data-ng-model="credentials.username" placeholder="User Name" ng-pattern="/^[a-zA-Z ]*$/" required>
						Please use characters only

						<input class="form-control input-lg" name="displayName" type="text" data-ng-model="credentials.displayName" placeholder="Contact Name" autocomplete="off" ng-pattern="/^[a-zA-Z ]*$/" required>
						Please use characters only

						<input class="form-control input-lg" name="companyName" type="text" data-ng-model="credentials.companyName" placeholder="Company Name" autocomplete="off" ng-pattern="/^[a-zA-Z ]*$/" required>
						 Please use characters only

						<input class="form-control input-lg" name="phone" type="text" data-ng-model="credentials.phone" placeholder="Phone" autocomplete="off" ng-pattern="/^[0-9+\s]*$/" ng-minlength="10" ng-maxlength="12" required>
						 Please use integers only
						Phone number should be 10-12 digits

						<input class="form-control input-lg" name="email" type="email" data-ng-model="credentials.email" placeholder="Email" ng-pattern="/^[a-z]+[a-z0-9._]+@[a-z]+\.[a-z.]{2,5}$/" required>
						 Please fill valid Email

						<select class="form-control input-lg" name="category" data-ng-model="credentials.category" required>
							<option value="">Select category</option>
							<option value="Shoes">Shoes</option>
							<option value="Sports Products">Sports Products</option>
							<option value="Womens Clothing and Accessories">
							Womens Clothing and Accessories</option>
							<option value="Candy/Nuts">Candy/Nuts</option>
							<option value="Handbags">Handbags</option>
							<option value="Oils">Oils</option>
							<option value="Home decor">Home decor</option>
							<option value="Household products">Household products</option>
							<option value="Socks">Socks</option>
							<option value="Books">Books</option>
							<option value="Scarfs and Accessories">Scarfs and Accessories</option>
							<option value="Cosmetics">Cosmetics</option>
							<option value="Beauty Supplies">Beauty Supplies</option>
							<option value="Jewelry">Jewelry</option>
							<option value="Sheets/Pillows/sheets/bedding">Sheets/Pillows/sheets/bedding</option>
							<option value="Gift Items">Gift Items</option>
							<option value="Dollar Store">Dollar Store</option>
							<option value="Electronics">Electronics</option>
							<option value="Cell phone accessories">Cell phone accessories</option>
							<option value="Sneakers">Sneakers</option>
							<option value="Body Products">Body Products</option>
						</select>
						Please select category

						<input class="form-control input-lg" type="password" name="password" data-ng-model="credentials.password" placeholder="Desired password" ng-minlength="7" ng-maxlength="16" required>
						Password length 7-16

						<input class="form-control input-lg" name="cpassword" type="password" data-ng-model="credentials.cpassword" placeholder="Confirm Password" required>
						Please Confirm Password

$100 Annual Registration Fee !

*Note:

			1) You Must Activate your Account before having access to available buildings. After registering you must fill out and fax or email in the debit authorization form. After we recieve your authorization form, you will recieve an account validation email.

			<input type="hidden" ng-bind="credentials.roles = 'vendor'">
			<input type="submit" value="Register" class="btn btn-lg btn-block btn-bg"/>

		 </form>