code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <meta name="description"> <meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="shortcut icon" href="/OpenTl.Schema/assets/img/favicon.ico" type="image/x-icon"> <link rel="icon" href="/OpenTl.Schema/assets/img/favicon.ico" type="image/x-icon"> <title>OpenTl.Schema - API - TPrivacyValueDisallowContacts Class</title> <link href="/OpenTl.Schema/assets/css/mermaid.css" rel="stylesheet"> <link href="/OpenTl.Schema/assets/css/highlight.css" rel="stylesheet"> <link href="/OpenTl.Schema/assets/css/bootstrap/bootstrap.css" rel="stylesheet"> <link href="/OpenTl.Schema/assets/css/adminlte/AdminLTE.css" rel="stylesheet"> <link href="/OpenTl.Schema/assets/css/theme/theme.css" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,400i,700,700i" rel="stylesheet"> <link href="/OpenTl.Schema/assets/css/font-awesome.min.css" rel="stylesheet" type="text/css"> <link href="/OpenTl.Schema/assets/css/override.css" rel="stylesheet"> <script src="/OpenTl.Schema/assets/js/jquery-2.2.3.min.js"></script> <script src="/OpenTl.Schema/assets/js/bootstrap.min.js"></script> <script src="/OpenTl.Schema/assets/js/app.min.js"></script> <script src="/OpenTl.Schema/assets/js/highlight.pack.js"></script> <script src="/OpenTl.Schema/assets/js/jquery.slimscroll.min.js"></script> <script src="/OpenTl.Schema/assets/js/jquery.sticky-kit.min.js"></script> <script src="/OpenTl.Schema/assets/js/mermaid.min.js"></script> <!--[if lt IE 9]> <script src="/OpenTl.Schema/assets/js/html5shiv.min.js"></script> <script src="/OpenTl.Schema/assets/js/respond.min.js"></script> <![endif]--> </head> <body class="hold-transition wyam layout-boxed "> <div class="top-banner"></div> <div class="wrapper with-container"> <!-- Header --> <header class="main-header"> <a href="/OpenTl.Schema/" class="logo"> <span>OpenTl.Schema</span> </a> <nav class="navbar navbar-static-top" role="navigation"> <!-- Sidebar toggle button--> <a href="#" class="sidebar-toggle visible-xs-block" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle side menu</span> <i class="fa fa-chevron-circle-right"></i> </a> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse"> <span class="sr-only">Toggle side menu</span> <i class="fa fa-chevron-circle-down"></i> </button> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse pull-left" id="navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="/OpenTl.Schema/about.html">About This Project</a></li> <li class="active"><a href="/OpenTl.Schema/api">API</a></li> </ul> </div> <!-- /.navbar-collapse --> <!-- Navbar Right Menu --> </nav> </header> <!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar "> <section class="infobar" data-spy="affix" data-offset-top="60" data-offset-bottom="200"> <div id="infobar-headings"><h6>On This Page</h6><p><a href="#Syntax">Syntax</a></p> <p><a href="#Attributes">Attributes</a></p> <p><a href="#ExtensionMethods">Extension Methods</a></p> <hr class="infobar-hidden"> </div> </section> <section class="sidebar"> <script src="/OpenTl.Schema/assets/js/lunr.min.js"></script> <script src="/OpenTl.Schema/assets/js/searchIndex.js"></script> <div class="sidebar-form"> <div class="input-group"> <input type="text" name="search" id="search" class="form-control" placeholder="Search Types..."> <span class="input-group-btn"> <button class="btn btn-flat"><i class="fa fa-search"></i></button> </span> </div> </div> <div id="search-results"> </div> <script> function runSearch(query){ $("#search-results").empty(); if( query.length < 2 ){ return; } var results = searchModule.search("*" + query + "*"); var listHtml = "<ul class='sidebar-menu'>"; listHtml += "<li class='header'>Type Results</li>"; if(results.length == 0 ){ listHtml += "<li>No results found</li>"; } else { for(var i = 0; i < results.length; ++i){ var res = results[i]; listHtml += "<li><a href='" + res.url + "'>" + htmlEscape(res.title) + "</a></li>"; } } listHtml += "</ul>"; $("#search-results").append(listHtml); } $(document).ready(function(){ $("#search").on('input propertychange paste', function() { runSearch($("#search").val()); }); }); function htmlEscape(html) { return document.createElement('div') .appendChild(document.createTextNode(html)) .parentNode .innerHTML; } </script> <hr> <ul class="sidebar-menu"> <li class="header">Namespace</li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema">OpenTl<wbr>.Schema</a></li> <li role="separator" class="divider"></li> <li class="header">Class Types</li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/MsgContainer">MsgContainer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestDestroyAuthKey">Request<wbr>Destroy<wbr>Auth<wbr>Key</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestDestroySession">Request<wbr>Destroy<wbr>Session</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestGetFutureSalts">Request<wbr>Get<wbr>Future<wbr>Salts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInitConnection">Request<wbr>Init<wbr>Connection</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInvokeAfterMsg">Request<wbr>Invoke<wbr>After<wbr>Msg</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInvokeAfterMsgs">Request<wbr>Invoke<wbr>After<wbr>Msgs</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInvokeWithLayer">Request<wbr>Invoke<wbr>With<wbr>Layer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInvokeWithMessagesRange">Request<wbr>Invoke<wbr>With<wbr>Messages<wbr>Range</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInvokeWithoutUpdates">Request<wbr>Invoke<wbr>Without<wbr>Updates</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestInvokeWithTakeout">Request<wbr>Invoke<wbr>With<wbr>Takeout</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestPing">RequestPing</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestPingDelayDisconnect">Request<wbr>Ping<wbr>Delay<wbr>Disconnect</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestReqDHParams">RequestReqDHParams</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestReqPq">RequestReqPq</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestReqPqMulti">RequestReqPqMulti</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestRpcDropAnswer">RequestRpcDropAnswer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/RequestSetClientDHParams">Request<wbr>Set<wbr>Client<wbr>D<wbr>H<wbr>Params</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/SchemaInfo">SchemaInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TAccessPointRule">TAccessPointRule</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TAccountDaysTTL">TAccountDaysTTL</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TAuthorization">TAuthorization</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBadMsgNotification">TBadMsgNotification</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBadServerSalt">TBadServerSalt</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBoolFalse">TBoolFalse</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBoolTrue">TBoolTrue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotCommand">TBotCommand</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInfo">TBotInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineMediaResult">T<wbr>Bot<wbr>Inline<wbr>Media<wbr>Result</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineMessageMediaAuto">T<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Auto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineMessageMediaContact">T<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Contact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineMessageMediaGeo">T<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Geo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineMessageMediaVenue">T<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Venue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineMessageText">T<wbr>Bot<wbr>Inline<wbr>Message<wbr>Text</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TBotInlineResult">TBotInlineResult</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TCdnConfig">TCdnConfig</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TCdnPublicKey">TCdnPublicKey</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannel">TChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEvent">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionChangeAbout">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Change<wbr>About</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionChangePhoto">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Change<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionChangeStickerSet">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Change<wbr>Sticker<wbr>Set</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionChangeTitle">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Change<wbr>Title</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionChangeUsername">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Change<wbr>Username</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionDeleteMessage">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Delete<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionEditMessage">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Edit<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionParticipantInvite">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Participant<wbr>Invite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionParticipantJoin">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Participant<wbr>Join</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionParticipantLeave">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Participant<wbr>Leave</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionParticipantToggleAdmin">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Participant<wbr>Toggle<wbr>Admin</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionParticipantToggleBan">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Participant<wbr>Toggle<wbr>Ban</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionToggleInvites">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Toggle<wbr>Invites</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionTogglePreHistoryHidden">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Toggle<wbr>Pre<wbr>History<wbr>Hidden</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionToggleSignatures">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Toggle<wbr>Signatures</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventActionUpdatePinned">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action<wbr>Update<wbr>Pinned</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminLogEventsFilter">T<wbr>Channel<wbr>Admin<wbr>Log<wbr>Events<wbr>Filter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelAdminRights">TChannelAdminRights</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelBannedRights">TChannelBannedRights</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelForbidden">TChannelForbidden</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelFull">TChannelFull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelMessagesFilter">T<wbr>Channel<wbr>Messages<wbr>Filter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelMessagesFilterEmpty">T<wbr>Channel<wbr>Messages<wbr>Filter<wbr>Empty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipant">TChannelParticipant</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantAdmin">T<wbr>Channel<wbr>Participant<wbr>Admin</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantBanned">T<wbr>Channel<wbr>Participant<wbr>Banned</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantCreator">T<wbr>Channel<wbr>Participant<wbr>Creator</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantsAdmins">T<wbr>Channel<wbr>Participants<wbr>Admins</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantsBanned">T<wbr>Channel<wbr>Participants<wbr>Banned</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantsBots">T<wbr>Channel<wbr>Participants<wbr>Bots</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantSelf">T<wbr>Channel<wbr>Participant<wbr>Self</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantsKicked">T<wbr>Channel<wbr>Participants<wbr>Kicked</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantsRecent">T<wbr>Channel<wbr>Participants<wbr>Recent</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChannelParticipantsSearch">T<wbr>Channel<wbr>Participants<wbr>Search</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChat">TChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatEmpty">TChatEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatForbidden">TChatForbidden</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatFull">TChatFull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatInvite">TChatInvite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatInviteAlready">TChatInviteAlready</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatInviteEmpty">TChatInviteEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatInviteExported">TChatInviteExported</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatParticipant">TChatParticipant</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatParticipantAdmin">T<wbr>Chat<wbr>Participant<wbr>Admin</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatParticipantCreator">T<wbr>Chat<wbr>Participant<wbr>Creator</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatParticipants">TChatParticipants</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatParticipantsForbidden">T<wbr>Chat<wbr>Participants<wbr>Forbidden</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatPhoto">TChatPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TChatPhotoEmpty">TChatPhotoEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TClientDHInnerData">TClientDHInnerData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TConfig">TConfig</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContact">TContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContactBlocked">TContactBlocked</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContactLinkContact">TContactLinkContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContactLinkHasPhone">TContactLinkHasPhone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContactLinkNone">TContactLinkNone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContactLinkUnknown">TContactLinkUnknown</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContactStatus">TContactStatus</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TContainerMessage">TContainerMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDataJSON">TDataJSON</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDcOption">TDcOption</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDestroyAuthKeyFail">TDestroyAuthKeyFail</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDestroyAuthKeyNone">TDestroyAuthKeyNone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDestroyAuthKeyOk">TDestroyAuthKeyOk</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDestroySessionNone">TDestroySessionNone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDestroySessionOk">TDestroySessionOk</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDhGenFail">TDhGenFail</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDhGenOk">TDhGenOk</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDhGenRetry">TDhGenRetry</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDialog">TDialog</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDialogPeer">TDialogPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocument">TDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeAnimated">T<wbr>Document<wbr>Attribute<wbr>Animated</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeAudio">T<wbr>Document<wbr>Attribute<wbr>Audio</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeFilename">T<wbr>Document<wbr>Attribute<wbr>Filename</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeHasStickers">T<wbr>Document<wbr>Attribute<wbr>Has<wbr>Stickers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeImageSize">T<wbr>Document<wbr>Attribute<wbr>Image<wbr>Size</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeSticker">T<wbr>Document<wbr>Attribute<wbr>Sticker</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentAttributeVideo">T<wbr>Document<wbr>Attribute<wbr>Video</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDocumentEmpty">TDocumentEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDraftMessage">TDraftMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TDraftMessageEmpty">TDraftMessageEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedChat">TEncryptedChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedChatDiscarded">T<wbr>Encrypted<wbr>Chat<wbr>Discarded</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedChatEmpty">TEncryptedChatEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedChatRequested">T<wbr>Encrypted<wbr>Chat<wbr>Requested</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedChatWaiting">T<wbr>Encrypted<wbr>Chat<wbr>Waiting</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedFile">TEncryptedFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedFileEmpty">TEncryptedFileEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedMessage">TEncryptedMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TEncryptedMessageService">T<wbr>Encrypted<wbr>Message<wbr>Service</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TError">TError</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TExportedMessageLink">TExportedMessageLink</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFileHash">TFileHash</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFileLocation">TFileLocation</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFileLocationUnavailable">T<wbr>File<wbr>Location<wbr>Unavailable</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFoundGif">TFoundGif</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFoundGifCached">TFoundGifCached</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFutureSalt">TFutureSalt</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TFutureSalts">TFutureSalts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TGame">TGame</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TGeoPoint">TGeoPoint</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TGeoPointEmpty">TGeoPointEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TgZipPacked">TgZipPacked</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/THighScore">THighScore</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/THttpWait">THttpWait</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TImportedContact">TImportedContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInlineBotSwitchPM">TInlineBotSwitchPM</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputAppEvent">TInputAppEvent</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageGame">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>Game</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageID">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>I<wbr>D</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageMediaAuto">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Auto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageMediaContact">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Contact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageMediaGeo">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Geo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageMediaVenue">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>Media<wbr>Venue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineMessageText">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>Text</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineResult">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Result</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineResultDocument">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Result<wbr>Document</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineResultGame">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Result<wbr>Game</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputBotInlineResultPhoto">T<wbr>Input<wbr>Bot<wbr>Inline<wbr>Result<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputChannel">TInputChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputChannelEmpty">TInputChannelEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputChatPhoto">TInputChatPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputChatPhotoEmpty">TInputChatPhotoEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputChatUploadedPhoto">T<wbr>Input<wbr>Chat<wbr>Uploaded<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputCheckPasswordEmpty">T<wbr>Input<wbr>Check<wbr>Password<wbr>Empty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputCheckPasswordSRP">T<wbr>Input<wbr>Check<wbr>Password<wbr>S<wbr>R<wbr>P</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputClientProxy">TInputClientProxy</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputDialogPeer">TInputDialogPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputDocument">TInputDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputDocumentEmpty">TInputDocumentEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputDocumentFileLocation">T<wbr>Input<wbr>Document<wbr>File<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputEncryptedChat">TInputEncryptedChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputEncryptedFile">TInputEncryptedFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputEncryptedFileBigUploaded">T<wbr>Input<wbr>Encrypted<wbr>File<wbr>Big<wbr>Uploaded</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputEncryptedFileEmpty">T<wbr>Input<wbr>Encrypted<wbr>File<wbr>Empty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputEncryptedFileLocation">T<wbr>Input<wbr>Encrypted<wbr>File<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputEncryptedFileUploaded">T<wbr>Input<wbr>Encrypted<wbr>File<wbr>Uploaded</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputFile">TInputFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputFileBig">TInputFileBig</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputFileLocation">TInputFileLocation</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputGameID">TInputGameID</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputGameShortName">TInputGameShortName</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputGeoPoint">TInputGeoPoint</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputGeoPointEmpty">TInputGeoPointEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaContact">TInputMediaContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaDocument">TInputMediaDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaDocumentExternal">T<wbr>Input<wbr>Media<wbr>Document<wbr>External</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaEmpty">TInputMediaEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaGame">TInputMediaGame</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaGeoLive">TInputMediaGeoLive</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaGeoPoint">TInputMediaGeoPoint</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaGifExternal">T<wbr>Input<wbr>Media<wbr>Gif<wbr>External</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaInvoice">TInputMediaInvoice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaPhoto">TInputMediaPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaPhotoExternal">T<wbr>Input<wbr>Media<wbr>Photo<wbr>External</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaUploadedDocument">T<wbr>Input<wbr>Media<wbr>Uploaded<wbr>Document</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaUploadedPhoto">T<wbr>Input<wbr>Media<wbr>Uploaded<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMediaVenue">TInputMediaVenue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessageEntityMentionName">T<wbr>Input<wbr>Message<wbr>Entity<wbr>Mention<wbr>Name</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessageID">TInputMessageID</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagePinned">TInputMessagePinned</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessageReplyTo">TInputMessageReplyTo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterChatPhotos">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Chat<wbr>Photos</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterContacts">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Contacts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterDocument">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Document</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterEmpty">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Empty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterGeo">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Geo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterGif">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Gif</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterMusic">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Music</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterMyMentions">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>My<wbr>Mentions</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterPhoneCalls">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Phone<wbr>Calls</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterPhotos">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Photos</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterPhotoVideo">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Photo<wbr>Video</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterRoundVideo">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Round<wbr>Video</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterRoundVoice">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Round<wbr>Voice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterUrl">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Url</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterVideo">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Video</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputMessagesFilterVoice">T<wbr>Input<wbr>Messages<wbr>Filter<wbr>Voice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputNotifyChats">TInputNotifyChats</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputNotifyPeer">TInputNotifyPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputNotifyUsers">TInputNotifyUsers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPaymentCredentials">T<wbr>Input<wbr>Payment<wbr>Credentials</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPaymentCredentialsAndroidPay">T<wbr>Input<wbr>Payment<wbr>Credentials<wbr>Android<wbr>Pay</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPaymentCredentialsApplePay">T<wbr>Input<wbr>Payment<wbr>Credentials<wbr>Apple<wbr>Pay</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPaymentCredentialsSaved">T<wbr>Input<wbr>Payment<wbr>Credentials<wbr>Saved</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPeerChannel">TInputPeerChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPeerChat">TInputPeerChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPeerEmpty">TInputPeerEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPeerNotifySettings">T<wbr>Input<wbr>Peer<wbr>Notify<wbr>Settings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPeerSelf">TInputPeerSelf</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPeerUser">TInputPeerUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPhoneCall">TInputPhoneCall</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPhoneContact">TInputPhoneContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPhoto">TInputPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPhotoEmpty">TInputPhotoEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyKeyChatInvite">T<wbr>Input<wbr>Privacy<wbr>Key<wbr>Chat<wbr>Invite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyKeyPhoneCall">T<wbr>Input<wbr>Privacy<wbr>Key<wbr>Phone<wbr>Call</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyKeyStatusTimestamp">T<wbr>Input<wbr>Privacy<wbr>Key<wbr>Status<wbr>Timestamp</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyValueAllowAll">T<wbr>Input<wbr>Privacy<wbr>Value<wbr>Allow<wbr>All</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyValueAllowContacts">T<wbr>Input<wbr>Privacy<wbr>Value<wbr>Allow<wbr>Contacts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyValueAllowUsers">T<wbr>Input<wbr>Privacy<wbr>Value<wbr>Allow<wbr>Users</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyValueDisallowAll">T<wbr>Input<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>All</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyValueDisallowContacts">T<wbr>Input<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>Contacts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputPrivacyValueDisallowUsers">T<wbr>Input<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>Users</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputReportReasonCopyright">T<wbr>Input<wbr>Report<wbr>Reason<wbr>Copyright</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputReportReasonOther">T<wbr>Input<wbr>Report<wbr>Reason<wbr>Other</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputReportReasonPornography">T<wbr>Input<wbr>Report<wbr>Reason<wbr>Pornography</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputReportReasonSpam">T<wbr>Input<wbr>Report<wbr>Reason<wbr>Spam</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputReportReasonViolence">T<wbr>Input<wbr>Report<wbr>Reason<wbr>Violence</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputSecureFile">TInputSecureFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputSecureFileLocation">T<wbr>Input<wbr>Secure<wbr>File<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputSecureFileUploaded">T<wbr>Input<wbr>Secure<wbr>File<wbr>Uploaded</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputSecureValue">TInputSecureValue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputSingleMedia">TInputSingleMedia</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputStickeredMediaDocument">T<wbr>Input<wbr>Stickered<wbr>Media<wbr>Document</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputStickeredMediaPhoto">T<wbr>Input<wbr>Stickered<wbr>Media<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputStickerSetEmpty">T<wbr>Input<wbr>Sticker<wbr>Set<wbr>Empty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputStickerSetID">TInputStickerSetID</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputStickerSetItem">TInputStickerSetItem</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputStickerSetShortName">T<wbr>Input<wbr>Sticker<wbr>Set<wbr>Short<wbr>Name</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputTakeoutFileLocation">T<wbr>Input<wbr>Takeout<wbr>File<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputUser">TInputUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputUserEmpty">TInputUserEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputUserSelf">TInputUserSelf</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputWebDocument">TInputWebDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputWebFileGeoPointLocation">T<wbr>Input<wbr>Web<wbr>File<wbr>Geo<wbr>Point<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInputWebFileLocation">T<wbr>Input<wbr>Web<wbr>File<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TInvoice">TInvoice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TIpPort">TIpPort</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TIpPortSecret">TIpPortSecret</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButton">TKeyboardButton</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonBuy">TKeyboardButtonBuy</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonCallback">T<wbr>Keyboard<wbr>Button<wbr>Callback</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonGame">TKeyboardButtonGame</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonRequestGeoLocation">T<wbr>Keyboard<wbr>Button<wbr>Request<wbr>Geo<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonRequestPhone">T<wbr>Keyboard<wbr>Button<wbr>Request<wbr>Phone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonRow">TKeyboardButtonRow</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonSwitchInline">T<wbr>Keyboard<wbr>Button<wbr>Switch<wbr>Inline</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TKeyboardButtonUrl">TKeyboardButtonUrl</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TLabeledPrice">TLabeledPrice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TLangPackDifference">TLangPackDifference</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TLangPackLanguage">TLangPackLanguage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TLangPackString">TLangPackString</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TLangPackStringDeleted">T<wbr>Lang<wbr>Pack<wbr>String<wbr>Deleted</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TLangPackStringPluralized">T<wbr>Lang<wbr>Pack<wbr>String<wbr>Pluralized</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMaskCoords">TMaskCoords</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessage">TMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionBotAllowed">T<wbr>Message<wbr>Action<wbr>Bot<wbr>Allowed</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChannelCreate">T<wbr>Message<wbr>Action<wbr>Channel<wbr>Create</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChannelMigrateFrom">T<wbr>Message<wbr>Action<wbr>Channel<wbr>Migrate<wbr>From</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatAddUser">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Add<wbr>User</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatCreate">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Create</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatDeletePhoto">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Delete<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatDeleteUser">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Delete<wbr>User</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatEditPhoto">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Edit<wbr>Photo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatEditTitle">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Edit<wbr>Title</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatJoinedByLink">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Joined<wbr>By<wbr>Link</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionChatMigrateTo">T<wbr>Message<wbr>Action<wbr>Chat<wbr>Migrate<wbr>To</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionCustomAction">T<wbr>Message<wbr>Action<wbr>Custom<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionEmpty">TMessageActionEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionGameScore">T<wbr>Message<wbr>Action<wbr>Game<wbr>Score</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionHistoryClear">T<wbr>Message<wbr>Action<wbr>History<wbr>Clear</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionPaymentSent">T<wbr>Message<wbr>Action<wbr>Payment<wbr>Sent</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionPaymentSentMe">T<wbr>Message<wbr>Action<wbr>Payment<wbr>Sent<wbr>Me</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionPhoneCall">T<wbr>Message<wbr>Action<wbr>Phone<wbr>Call</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionPinMessage">T<wbr>Message<wbr>Action<wbr>Pin<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionScreenshotTaken">T<wbr>Message<wbr>Action<wbr>Screenshot<wbr>Taken</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionSecureValuesSent">T<wbr>Message<wbr>Action<wbr>Secure<wbr>Values<wbr>Sent</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageActionSecureValuesSentMe">T<wbr>Message<wbr>Action<wbr>Secure<wbr>Values<wbr>Sent<wbr>Me</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEmpty">TMessageEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityBold">TMessageEntityBold</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityBotCommand">T<wbr>Message<wbr>Entity<wbr>Bot<wbr>Command</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityCashtag">T<wbr>Message<wbr>Entity<wbr>Cashtag</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityCode">TMessageEntityCode</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityEmail">TMessageEntityEmail</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityHashtag">T<wbr>Message<wbr>Entity<wbr>Hashtag</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityItalic">TMessageEntityItalic</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityMention">T<wbr>Message<wbr>Entity<wbr>Mention</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityMentionName">T<wbr>Message<wbr>Entity<wbr>Mention<wbr>Name</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityPhone">TMessageEntityPhone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityPre">TMessageEntityPre</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityTextUrl">T<wbr>Message<wbr>Entity<wbr>Text<wbr>Url</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityUnknown">T<wbr>Message<wbr>Entity<wbr>Unknown</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageEntityUrl">TMessageEntityUrl</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageFwdHeader">TMessageFwdHeader</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaContact">TMessageMediaContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaDocument">T<wbr>Message<wbr>Media<wbr>Document</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaEmpty">TMessageMediaEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaGame">TMessageMediaGame</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaGeo">TMessageMediaGeo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaGeoLive">TMessageMediaGeoLive</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaInvoice">TMessageMediaInvoice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaPhoto">TMessageMediaPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaUnsupported">T<wbr>Message<wbr>Media<wbr>Unsupported</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaVenue">TMessageMediaVenue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageMediaWebPage">TMessageMediaWebPage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageRange">TMessageRange</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMessageService">TMessageService</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgDetailedInfo">TMsgDetailedInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgNewDetailedInfo">TMsgNewDetailedInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgResendReq">TMsgResendReq</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgsAck">TMsgsAck</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgsAllInfo">TMsgsAllInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgsStateInfo">TMsgsStateInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TMsgsStateReq">TMsgsStateReq</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TNearestDc">TNearestDc</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TNewSessionCreated">TNewSessionCreated</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TNotifyChats">TNotifyChats</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TNotifyPeer">TNotifyPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TNotifyUsers">TNotifyUsers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TNull">TNull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockAnchor">TPageBlockAnchor</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockAudio">TPageBlockAudio</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockAuthorDate">TPageBlockAuthorDate</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockBlockquote">TPageBlockBlockquote</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockChannel">TPageBlockChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockCollage">TPageBlockCollage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockCover">TPageBlockCover</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockDivider">TPageBlockDivider</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockEmbed">TPageBlockEmbed</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockEmbedPost">TPageBlockEmbedPost</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockFooter">TPageBlockFooter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockHeader">TPageBlockHeader</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockList">TPageBlockList</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockParagraph">TPageBlockParagraph</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockPhoto">TPageBlockPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockPreformatted">T<wbr>Page<wbr>Block<wbr>Preformatted</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockPullquote">TPageBlockPullquote</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockSlideshow">TPageBlockSlideshow</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockSubheader">TPageBlockSubheader</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockSubtitle">TPageBlockSubtitle</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockTitle">TPageBlockTitle</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockUnsupported">T<wbr>Page<wbr>Block<wbr>Unsupported</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageBlockVideo">TPageBlockVideo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPageFull">TPageFull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPagePart">TPagePart</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow">T<wbr>Password<wbr>Kdf<wbr>Algo<wbr>S<wbr>H<wbr>A256<wbr>S<wbr>H<wbr>A256<wbr>P<wbr>B<wbr>K<wbr>D<wbr>F2<wbr>H<wbr>M<wbr>A<wbr>C<wbr>S<wbr>H<wbr>A512iter100000<wbr>S<wbr>H<wbr>A256<wbr>Mod<wbr>Pow</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPasswordKdfAlgoUnknown">T<wbr>Password<wbr>Kdf<wbr>Algo<wbr>Unknown</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPaymentCharge">TPaymentCharge</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPaymentRequestedInfo">T<wbr>Payment<wbr>Requested<wbr>Info</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPaymentSavedCredentialsCard">T<wbr>Payment<wbr>Saved<wbr>Credentials<wbr>Card</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPeerChannel">TPeerChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPeerChat">TPeerChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPeerNotifySettings">TPeerNotifySettings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPeerSettings">TPeerSettings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPeerUser">TPeerUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCall">TPhoneCall</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallAccepted">TPhoneCallAccepted</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallDiscarded">TPhoneCallDiscarded</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallDiscardReasonBusy">T<wbr>Phone<wbr>Call<wbr>Discard<wbr>Reason<wbr>Busy</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallDiscardReasonDisconnect">T<wbr>Phone<wbr>Call<wbr>Discard<wbr>Reason<wbr>Disconnect</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallDiscardReasonHangup">T<wbr>Phone<wbr>Call<wbr>Discard<wbr>Reason<wbr>Hangup</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallDiscardReasonMissed">T<wbr>Phone<wbr>Call<wbr>Discard<wbr>Reason<wbr>Missed</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallEmpty">TPhoneCallEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallProtocol">TPhoneCallProtocol</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallRequested">TPhoneCallRequested</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneCallWaiting">TPhoneCallWaiting</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoneConnection">TPhoneConnection</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhoto">TPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhotoCachedSize">TPhotoCachedSize</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhotoEmpty">TPhotoEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhotoSize">TPhotoSize</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPhotoSizeEmpty">TPhotoSizeEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPong">TPong</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPopularContact">TPopularContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPostAddress">TPostAddress</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPQInnerData">TPQInnerData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPQInnerDataDc">TPQInnerDataDc</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPQInnerDataTemp">TPQInnerDataTemp</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPQInnerDataTempDc">TPQInnerDataTempDc</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyKeyChatInvite">T<wbr>Privacy<wbr>Key<wbr>Chat<wbr>Invite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyKeyPhoneCall">TPrivacyKeyPhoneCall</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyKeyStatusTimestamp">T<wbr>Privacy<wbr>Key<wbr>Status<wbr>Timestamp</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyValueAllowAll">T<wbr>Privacy<wbr>Value<wbr>Allow<wbr>All</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyValueAllowContacts">T<wbr>Privacy<wbr>Value<wbr>Allow<wbr>Contacts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyValueAllowUsers">T<wbr>Privacy<wbr>Value<wbr>Allow<wbr>Users</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyValueDisallowAll">T<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>All</a></li> <li class="selected"><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyValueDisallowContacts">T<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>Contacts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TPrivacyValueDisallowUsers">T<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>Users</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TReceivedNotifyMessage">T<wbr>Received<wbr>Notify<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRecentMeUrlChat">TRecentMeUrlChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRecentMeUrlChatInvite">T<wbr>Recent<wbr>Me<wbr>Url<wbr>Chat<wbr>Invite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRecentMeUrlStickerSet">T<wbr>Recent<wbr>Me<wbr>Url<wbr>Sticker<wbr>Set</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRecentMeUrlUnknown">TRecentMeUrlUnknown</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRecentMeUrlUser">TRecentMeUrlUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TReplyInlineMarkup">TReplyInlineMarkup</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TReplyKeyboardForceReply">T<wbr>Reply<wbr>Keyboard<wbr>Force<wbr>Reply</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TReplyKeyboardHide">TReplyKeyboardHide</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TReplyKeyboardMarkup">TReplyKeyboardMarkup</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TResPQ">TResPQ</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRpcAnswerDropped">TRpcAnswerDropped</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRpcAnswerDroppedRunning">T<wbr>Rpc<wbr>Answer<wbr>Dropped<wbr>Running</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRpcAnswerUnknown">TRpcAnswerUnknown</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRpcError">TRpcError</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRpcResult">TRpcResult</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TRsaPublicKey">TRsaPublicKey</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSavedPhoneContact">TSavedPhoneContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureCredentialsEncrypted">T<wbr>Secure<wbr>Credentials<wbr>Encrypted</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureData">TSecureData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureFile">TSecureFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureFileEmpty">TSecureFileEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000">T<wbr>Secure<wbr>Password<wbr>Kdf<wbr>Algo<wbr>P<wbr>B<wbr>K<wbr>D<wbr>F2<wbr>H<wbr>M<wbr>A<wbr>C<wbr>S<wbr>H<wbr>A512iter100000</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecurePasswordKdfAlgoSHA512">T<wbr>Secure<wbr>Password<wbr>Kdf<wbr>Algo<wbr>S<wbr>H<wbr>A512</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecurePasswordKdfAlgoUnknown">T<wbr>Secure<wbr>Password<wbr>Kdf<wbr>Algo<wbr>Unknown</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecurePlainEmail">TSecurePlainEmail</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecurePlainPhone">TSecurePlainPhone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureRequiredType">TSecureRequiredType</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureRequiredTypeOneOf">T<wbr>Secure<wbr>Required<wbr>Type<wbr>One<wbr>Of</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureSecretSettings">T<wbr>Secure<wbr>Secret<wbr>Settings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValue">TSecureValue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueError">TSecureValueError</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorData">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Data</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorFile">T<wbr>Secure<wbr>Value<wbr>Error<wbr>File</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorFiles">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Files</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorFrontSide">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Front<wbr>Side</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorReverseSide">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Reverse<wbr>Side</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorSelfie">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Selfie</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorTranslationFile">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Translation<wbr>File</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueErrorTranslationFiles">T<wbr>Secure<wbr>Value<wbr>Error<wbr>Translation<wbr>Files</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueHash">TSecureValueHash</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeAddress">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Address</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeBankStatement">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Bank<wbr>Statement</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeDriverLicense">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Driver<wbr>License</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeEmail">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Email</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeIdentityCard">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Identity<wbr>Card</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeInternalPassport">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Internal<wbr>Passport</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypePassport">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Passport</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypePassportRegistration">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Passport<wbr>Registration</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypePersonalDetails">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Personal<wbr>Details</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypePhone">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Phone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeRentalAgreement">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Rental<wbr>Agreement</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeTemporaryRegistration">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Temporary<wbr>Registration</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSecureValueTypeUtilityBill">T<wbr>Secure<wbr>Value<wbr>Type<wbr>Utility<wbr>Bill</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageCancelAction">T<wbr>Send<wbr>Message<wbr>Cancel<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageChooseContactAction">T<wbr>Send<wbr>Message<wbr>Choose<wbr>Contact<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageGamePlayAction">T<wbr>Send<wbr>Message<wbr>Game<wbr>Play<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageGeoLocationAction">T<wbr>Send<wbr>Message<wbr>Geo<wbr>Location<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageRecordAudioAction">T<wbr>Send<wbr>Message<wbr>Record<wbr>Audio<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageRecordRoundAction">T<wbr>Send<wbr>Message<wbr>Record<wbr>Round<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageRecordVideoAction">T<wbr>Send<wbr>Message<wbr>Record<wbr>Video<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageTypingAction">T<wbr>Send<wbr>Message<wbr>Typing<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageUploadAudioAction">T<wbr>Send<wbr>Message<wbr>Upload<wbr>Audio<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageUploadDocumentAction">T<wbr>Send<wbr>Message<wbr>Upload<wbr>Document<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageUploadPhotoAction">T<wbr>Send<wbr>Message<wbr>Upload<wbr>Photo<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageUploadRoundAction">T<wbr>Send<wbr>Message<wbr>Upload<wbr>Round<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TSendMessageUploadVideoAction">T<wbr>Send<wbr>Message<wbr>Upload<wbr>Video<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TServerDHInnerData">TServerDHInnerData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TServerDHParamsFail">TServerDHParamsFail</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TServerDHParamsOk">TServerDHParamsOk</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TShippingOption">TShippingOption</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TStickerPack">TStickerPack</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TStickerSet">TStickerSet</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TStickerSetCovered">TStickerSetCovered</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TStickerSetMultiCovered">T<wbr>Sticker<wbr>Set<wbr>Multi<wbr>Covered</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextBold">TTextBold</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextConcat">TTextConcat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextEmail">TTextEmail</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextEmpty">TTextEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextFixed">TTextFixed</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextItalic">TTextItalic</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextPlain">TTextPlain</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextStrike">TTextStrike</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextUnderline">TTextUnderline</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTextUrl">TTextUrl</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeer">TTopPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryBotsInline">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Bots<wbr>Inline</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryBotsPM">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Bots<wbr>P<wbr>M</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryChannels">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Channels</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryCorrespondents">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Correspondents</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryGroups">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Groups</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryPeers">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Peers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTopPeerCategoryPhoneCalls">T<wbr>Top<wbr>Peer<wbr>Category<wbr>Phone<wbr>Calls</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TTrue">TTrue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotCallbackQuery">T<wbr>Update<wbr>Bot<wbr>Callback<wbr>Query</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotInlineQuery">T<wbr>Update<wbr>Bot<wbr>Inline<wbr>Query</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotInlineSend">TUpdateBotInlineSend</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotPrecheckoutQuery">T<wbr>Update<wbr>Bot<wbr>Precheckout<wbr>Query</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotShippingQuery">T<wbr>Update<wbr>Bot<wbr>Shipping<wbr>Query</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotWebhookJSON">T<wbr>Update<wbr>Bot<wbr>Webhook<wbr>J<wbr>S<wbr>O<wbr>N</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateBotWebhookJSONQuery">T<wbr>Update<wbr>Bot<wbr>Webhook<wbr>J<wbr>S<wbr>O<wbr>N<wbr>Query</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannel">TUpdateChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannelAvailableMessages">T<wbr>Update<wbr>Channel<wbr>Available<wbr>Messages</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannelMessageViews">T<wbr>Update<wbr>Channel<wbr>Message<wbr>Views</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannelPinnedMessage">T<wbr>Update<wbr>Channel<wbr>Pinned<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannelReadMessagesContents">T<wbr>Update<wbr>Channel<wbr>Read<wbr>Messages<wbr>Contents</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannelTooLong">T<wbr>Update<wbr>Channel<wbr>Too<wbr>Long</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChannelWebPage">T<wbr>Update<wbr>Channel<wbr>Web<wbr>Page</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChatAdmins">TUpdateChatAdmins</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChatParticipantAdd">T<wbr>Update<wbr>Chat<wbr>Participant<wbr>Add</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChatParticipantAdmin">T<wbr>Update<wbr>Chat<wbr>Participant<wbr>Admin</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChatParticipantDelete">T<wbr>Update<wbr>Chat<wbr>Participant<wbr>Delete</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChatParticipants">T<wbr>Update<wbr>Chat<wbr>Participants</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateChatUserTyping">T<wbr>Update<wbr>Chat<wbr>User<wbr>Typing</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateConfig">TUpdateConfig</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateContactLink">TUpdateContactLink</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateContactRegistered">T<wbr>Update<wbr>Contact<wbr>Registered</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateContactsReset">TUpdateContactsReset</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateDcOptions">TUpdateDcOptions</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateDeleteChannelMessages">T<wbr>Update<wbr>Delete<wbr>Channel<wbr>Messages</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateDeleteMessages">T<wbr>Update<wbr>Delete<wbr>Messages</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateDialogPinned">TUpdateDialogPinned</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateDialogUnreadMark">T<wbr>Update<wbr>Dialog<wbr>Unread<wbr>Mark</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateDraftMessage">TUpdateDraftMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateEditChannelMessage">T<wbr>Update<wbr>Edit<wbr>Channel<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateEditMessage">TUpdateEditMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateEncryptedChatTyping">T<wbr>Update<wbr>Encrypted<wbr>Chat<wbr>Typing</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateEncryptedMessagesRead">T<wbr>Update<wbr>Encrypted<wbr>Messages<wbr>Read</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateEncryption">TUpdateEncryption</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateFavedStickers">TUpdateFavedStickers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateInlineBotCallbackQuery">T<wbr>Update<wbr>Inline<wbr>Bot<wbr>Callback<wbr>Query</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateLangPack">TUpdateLangPack</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateLangPackTooLong">T<wbr>Update<wbr>Lang<wbr>Pack<wbr>Too<wbr>Long</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateMessageID">TUpdateMessageID</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateNewChannelMessage">T<wbr>Update<wbr>New<wbr>Channel<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateNewEncryptedMessage">T<wbr>Update<wbr>New<wbr>Encrypted<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateNewMessage">TUpdateNewMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateNewStickerSet">TUpdateNewStickerSet</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateNotifySettings">T<wbr>Update<wbr>Notify<wbr>Settings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdatePhoneCall">TUpdatePhoneCall</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdatePinnedDialogs">TUpdatePinnedDialogs</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdatePrivacy">TUpdatePrivacy</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdatePtsChanged">TUpdatePtsChanged</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateReadChannelInbox">T<wbr>Update<wbr>Read<wbr>Channel<wbr>Inbox</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateReadChannelOutbox">T<wbr>Update<wbr>Read<wbr>Channel<wbr>Outbox</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateReadFeaturedStickers">T<wbr>Update<wbr>Read<wbr>Featured<wbr>Stickers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateReadHistoryInbox">T<wbr>Update<wbr>Read<wbr>History<wbr>Inbox</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateReadHistoryOutbox">T<wbr>Update<wbr>Read<wbr>History<wbr>Outbox</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateReadMessagesContents">T<wbr>Update<wbr>Read<wbr>Messages<wbr>Contents</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateRecentStickers">T<wbr>Update<wbr>Recent<wbr>Stickers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdates">TUpdates</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateSavedGifs">TUpdateSavedGifs</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdatesCombined">TUpdatesCombined</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateServiceNotification">T<wbr>Update<wbr>Service<wbr>Notification</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateShort">TUpdateShort</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateShortChatMessage">T<wbr>Update<wbr>Short<wbr>Chat<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateShortMessage">TUpdateShortMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateShortSentMessage">T<wbr>Update<wbr>Short<wbr>Sent<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateStickerSets">TUpdateStickerSets</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateStickerSetsOrder">T<wbr>Update<wbr>Sticker<wbr>Sets<wbr>Order</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdatesTooLong">TUpdatesTooLong</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateUserBlocked">TUpdateUserBlocked</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateUserName">TUpdateUserName</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateUserPhone">TUpdateUserPhone</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateUserPhoto">TUpdateUserPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateUserStatus">TUpdateUserStatus</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateUserTyping">TUpdateUserTyping</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUpdateWebPage">TUpdateWebPage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUser">TUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserEmpty">TUserEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserFull">TUserFull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserProfilePhoto">TUserProfilePhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserProfilePhotoEmpty">T<wbr>User<wbr>Profile<wbr>Photo<wbr>Empty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserStatusEmpty">TUserStatusEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserStatusLastMonth">TUserStatusLastMonth</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserStatusLastWeek">TUserStatusLastWeek</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserStatusOffline">TUserStatusOffline</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserStatusOnline">TUserStatusOnline</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TUserStatusRecently">TUserStatusRecently</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TVector_1">TVector<wbr>&lt;T&gt;<wbr></a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWallPaper">TWallPaper</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWallPaperSolid">TWallPaperSolid</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebAuthorization">TWebAuthorization</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebDocument">TWebDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebDocumentNoProxy">TWebDocumentNoProxy</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebPage">TWebPage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebPageEmpty">TWebPageEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebPageNotModified">TWebPageNotModified</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/TWebPagePending">TWebPagePending</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/Utils">Utils</a></li> <li class="header">Interface Types</li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IAccessPointRule">IAccessPointRule</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IAccountDaysTTL">IAccountDaysTTL</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IAuthorization">IAuthorization</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IBadMsgNotification">IBadMsgNotification</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IBool">IBool</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IBotCommand">IBotCommand</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IBotInfo">IBotInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IBotInlineMessage">IBotInlineMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IBotInlineResult">IBotInlineResult</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ICdnConfig">ICdnConfig</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ICdnPublicKey">ICdnPublicKey</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelAdminLogEvent">I<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelAdminLogEventAction">I<wbr>Channel<wbr>Admin<wbr>Log<wbr>Event<wbr>Action</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelAdminLogEventsFilter">I<wbr>Channel<wbr>Admin<wbr>Log<wbr>Events<wbr>Filter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelAdminRights">IChannelAdminRights</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelBannedRights">IChannelBannedRights</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelMessagesFilter">I<wbr>Channel<wbr>Messages<wbr>Filter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelParticipant">IChannelParticipant</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChannelParticipantsFilter">I<wbr>Channel<wbr>Participants<wbr>Filter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChat">IChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChatCommon">IChatCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChatFull">IChatFull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChatInvite">IChatInvite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChatParticipant">IChatParticipant</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChatParticipants">IChatParticipants</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IChatPhoto">IChatPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IConfig">IConfig</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IContact">IContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IContactBlocked">IContactBlocked</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IContactLink">IContactLink</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IContactStatus">IContactStatus</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDataJSON">IDataJSON</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDcOption">IDcOption</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDestroyAuthKeyRes">IDestroyAuthKeyRes</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDestroySessionRes">IDestroySessionRes</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDialog">IDialog</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDialogPeer">IDialogPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDocument">IDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDocumentAttribute">IDocumentAttribute</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IDraftMessage">IDraftMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IEmpty">IEmpty</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IEncryptedChat">IEncryptedChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IEncryptedChatCommon">IEncryptedChatCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IEncryptedFile">IEncryptedFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IEncryptedMessage">IEncryptedMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IError">IError</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IExportedChatInvite">IExportedChatInvite</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IExportedMessageLink">IExportedMessageLink</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IFileHash">IFileHash</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IFileLocation">IFileLocation</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IFoundGif">IFoundGif</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IFutureSalts">IFutureSalts</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IGame">IGame</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IGeoPoint">IGeoPoint</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IHighScore">IHighScore</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IImportedContact">IImportedContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInlineBotSwitchPM">IInlineBotSwitchPM</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputAppEvent">IInputAppEvent</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputBotInlineMessage">I<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputBotInlineMessageID">I<wbr>Input<wbr>Bot<wbr>Inline<wbr>Message<wbr>I<wbr>D</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputBotInlineResult">I<wbr>Input<wbr>Bot<wbr>Inline<wbr>Result</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputChannel">IInputChannel</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputChatPhoto">IInputChatPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputChatPhotoCommon">I<wbr>Input<wbr>Chat<wbr>Photo<wbr>Common</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputCheckPasswordSRP">I<wbr>Input<wbr>Check<wbr>Password<wbr>S<wbr>R<wbr>P</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputClientProxy">IInputClientProxy</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputContact">IInputContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputDialogPeer">IInputDialogPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputDocument">IInputDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputEncryptedChat">IInputEncryptedChat</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputEncryptedFile">IInputEncryptedFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputEncryptedFileCommon">I<wbr>Input<wbr>Encrypted<wbr>File<wbr>Common</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputFile">IInputFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputFileLocation">IInputFileLocation</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputGame">IInputGame</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputGeoPoint">IInputGeoPoint</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputMedia">IInputMedia</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputMediaCommon">IInputMediaCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputMessage">IInputMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputNotifyPeer">IInputNotifyPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPaymentCredentials">I<wbr>Input<wbr>Payment<wbr>Credentials</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPeer">IInputPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPeerCommon">IInputPeerCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPeerNotifySettings">I<wbr>Input<wbr>Peer<wbr>Notify<wbr>Settings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPhoneCall">IInputPhoneCall</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPhoto">IInputPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPrivacyKey">IInputPrivacyKey</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputPrivacyRule">IInputPrivacyRule</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputSecureFile">IInputSecureFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputSecureValue">IInputSecureValue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputSingleMedia">IInputSingleMedia</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputStickeredMedia">IInputStickeredMedia</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputStickerSet">IInputStickerSet</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputStickerSetCommon">I<wbr>Input<wbr>Sticker<wbr>Set<wbr>Common</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputStickerSetItem">IInputStickerSetItem</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputUser">IInputUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputUserCommon">IInputUserCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputWebDocument">IInputWebDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInputWebFileLocation">I<wbr>Input<wbr>Web<wbr>File<wbr>Location</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IInvoice">IInvoice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IIpPort">IIpPort</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IKeyboardButton">IKeyboardButton</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IKeyboardButtonRow">IKeyboardButtonRow</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ILabeledPrice">ILabeledPrice</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ILangPackDifference">ILangPackDifference</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ILangPackLanguage">ILangPackLanguage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ILangPackString">ILangPackString</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMaskCoords">IMaskCoords</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessage">IMessage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageAction">IMessageAction</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageActionCommon">IMessageActionCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageCommon">IMessageCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageEntity">IMessageEntity</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageFwdHeader">IMessageFwdHeader</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageMedia">IMessageMedia</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageMediaCommon">IMessageMediaCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessageRange">IMessageRange</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessagesFilter">IMessagesFilter</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMessagesFilterCommon">I<wbr>Messages<wbr>Filter<wbr>Common</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IMsgDetailedInfo">IMsgDetailedInfo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/INearestDc">INearestDc</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/INotifyPeer">INotifyPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IObject">IObject</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPage">IPage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPageBlock">IPageBlock</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPasswordKdfAlgo">IPasswordKdfAlgo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPaymentCharge">IPaymentCharge</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPaymentRequestedInfo">I<wbr>Payment<wbr>Requested<wbr>Info</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPaymentSavedCredentials">I<wbr>Payment<wbr>Saved<wbr>Credentials</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPeer">IPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPeerNotifySettings">IPeerNotifySettings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPeerSettings">IPeerSettings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhoneCall">IPhoneCall</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhoneCallCommon">IPhoneCallCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhoneCallDiscardReason">I<wbr>Phone<wbr>Call<wbr>Discard<wbr>Reason</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhoneCallProtocol">IPhoneCallProtocol</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhoneConnection">IPhoneConnection</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhoto">IPhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhotoSize">IPhotoSize</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPhotoSizeCommon">IPhotoSizeCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPong">IPong</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPopularContact">IPopularContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPostAddress">IPostAddress</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPQInnerData">IPQInnerData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPrivacyKey">IPrivacyKey</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPrivacyRule">IPrivacyRule</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IReceivedNotifyMessage">I<wbr>Received<wbr>Notify<wbr>Message</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IRecentMeUrl">IRecentMeUrl</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IReplyMarkup">IReplyMarkup</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IReportReason">IReportReason</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IRequest">IRequest</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IRequest_1">IRequest<wbr>&lt;TResult&gt;<wbr></a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IResPQ">IResPQ</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IRichText">IRichText</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IRichTextCommon">IRichTextCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IRpcDropAnswer">IRpcDropAnswer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISavedContact">ISavedContact</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureCredentialsEncrypted">I<wbr>Secure<wbr>Credentials<wbr>Encrypted</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureData">ISecureData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureFile">ISecureFile</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecurePasswordKdfAlgo">I<wbr>Secure<wbr>Password<wbr>Kdf<wbr>Algo</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecurePlainData">ISecurePlainData</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureRequiredType">ISecureRequiredType</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureSecretSettings">I<wbr>Secure<wbr>Secret<wbr>Settings</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureValue">ISecureValue</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureValueError">ISecureValueError</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureValueHash">ISecureValueHash</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISecureValueType">ISecureValueType</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISendMessageAction">ISendMessageAction</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IServerDHParams">IServerDHParams</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ISetClientDHParamsAnswer">I<wbr>Set<wbr>Client<wbr>D<wbr>H<wbr>Params<wbr>Answer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IShippingOption">IShippingOption</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IStickerPack">IStickerPack</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IStickerSet">IStickerSet</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IStickerSetCovered">IStickerSetCovered</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ITopPeer">ITopPeer</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ITopPeerCategory">ITopPeerCategory</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/ITopPeerCategoryPeers">I<wbr>Top<wbr>Peer<wbr>Category<wbr>Peers</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUpdate">IUpdate</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUpdates">IUpdates</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUser">IUser</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUserFull">IUserFull</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUserProfilePhoto">IUserProfilePhoto</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUserStatus">IUserStatus</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IUserStatusCommon">IUserStatusCommon</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IWallPaper">IWallPaper</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IWebAuthorization">IWebAuthorization</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IWebDocument">IWebDocument</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IWebPage">IWebPage</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IWebPageCommon">IWebPageCommon</a></li> </ul> </section> </aside> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <section class="content-header"> <h1>T<wbr>Privacy<wbr>Value<wbr>Disallow<wbr>Contacts <small>Class</small></h1> </section> <section class="content"> <div class="panel panel-default"> <div class="panel-body"> <div class="row"> <div class="col-md-6"> <dl class="dl-horizontal"> <dt>Namespace</dt> <dd><a href="/OpenTl.Schema/api/OpenTl.Schema">OpenTl<wbr>.Schema</a></dd> <dt>Interfaces</dt> <dd> <ul class="list-unstyled"> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IPrivacyRule">IPrivacyRule</a></li> <li><a href="/OpenTl.Schema/api/OpenTl.Schema/IObject">IObject</a></li> </ul> </dd> <dt>Base Types</dt> <dd> <ul class="list-unstyled"> <li>object</li> </ul> </dd> </dl> </div> <div class="col-md-6"> <div class="mermaid"> graph TD Base0["object"]--&gt;Type Interface0["IPrivacyRule"]-.-&gt;Type click Interface0 "/OpenTl.Schema/api/OpenTl.Schema/IPrivacyRule" Interface1["IObject"]-.-&gt;Type click Interface1 "/OpenTl.Schema/api/OpenTl.Schema/IObject" Type["TPrivacyValueDisallowContacts"] class Type type-node </div> </div> </div> </div> </div> <h1 id="Syntax">Syntax</h1> <pre><code>[Serialize(0xf888fa1a)] public sealed class TPrivacyValueDisallowContacts : IPrivacyRule, IObject</code></pre> <h1 id="Attributes">Attributes</h1> <div class="box"> <div class="box-body no-padding table-responsive"> <table class="table table-striped table-hover two-cols"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody><tr> <td>SerializeAttribute</td> <td></td> </tr> </tbody></table> </div> </div> <h1 id="ExtensionMethods">Extension Methods</h1> <div class="box"> <div class="box-body no-padding table-responsive"> <table class="table table-striped table-hover three-cols"> <thead> <tr> <th>Name</th> <th>Value</th> <th>Summary</th> </tr> </thead> <tbody><tr> <td><a href="/OpenTl.Schema/api/OpenTl.Schema/Utils/A1A958DE.html">As<wbr>&lt;T&gt;<wbr><wbr>()<wbr></a></td> <td>T</td> <td> <div></div> <div><small><em>From <a href="/OpenTl.Schema/api/OpenTl.Schema/Utils">Utils</a></em></small></div> </td> </tr> <tr> <td><a href="/OpenTl.Schema/api/OpenTl.Schema/Utils/4941F7D3.html">Is<wbr>&lt;T&gt;<wbr><wbr>()<wbr></a></td> <td>T</td> <td> <div></div> <div><small><em>From <a href="/OpenTl.Schema/api/OpenTl.Schema/Utils">Utils</a></em></small></div> </td> </tr> <tr> <td><a href="/OpenTl.Schema/api/OpenTl.Schema/Utils/CF7043C9.html">IsEmpty<wbr>()<wbr></a></td> <td>bool</td> <td> <div></div> <div><small><em>From <a href="/OpenTl.Schema/api/OpenTl.Schema/Utils">Utils</a></em></small></div> </td> </tr> </tbody></table> </div> </div> </section> </div> <!-- Footer --> <footer class="main-footer"> </footer> </div> <div class="wrapper bottom-wrapper"> <footer class="bottom-footer"> Generated by <a href="https://wyam.io">Wyam</a> </footer> </div> <a href="javascript:" id="return-to-top"><i class="fa fa-chevron-up"></i></a> <script> // Close the sidebar if we select an anchor link $(".main-sidebar a[href^='#']:not('.expand')").click(function(){ $(document.body).removeClass('sidebar-open'); }); $(document).load(function() { mermaid.initialize( { flowchart: { htmlLabels: false, useMaxWidth:false } }); mermaid.init(undefined, ".mermaid") $('svg').addClass('img-responsive'); $('pre code').each(function(i, block) { hljs.highlightBlock(block); }); }); hljs.initHighlightingOnLoad(); // Back to top $(window).scroll(function() { if ($(this).scrollTop() >= 200) { // If page is scrolled more than 50px $('#return-to-top').fadeIn(1000); // Fade in the arrow } else { $('#return-to-top').fadeOut(1000); // Else fade out the arrow } }); $('#return-to-top').click(function() { // When arrow is clicked $('body,html').animate({ scrollTop : 0 // Scroll to top of body }, 500); }); </script> </body></html>
OpenTl/OpenTl.Schema
docs/api/OpenTl.Schema/TPrivacyValueDisallowContacts/index.html
HTML
mit
98,837
import * as Models from './' export const ItemRequestPriority = [ 'low', 'standard', 'high', 'highest' ] as const export type ItemRequestPriorityTuple = typeof ItemRequestPriority export type ItemRequestPriority = ItemRequestPriorityTuple[number] export const ItemRequestDestination = ['Svařovna'] as const export type ItemRequestDestinationTuple = typeof ItemRequestDestination export type ItemRequestDestination = ItemRequestDestinationTuple[number] export interface ErrorData { errors: string[] warnings: string[] } export default interface ItemRequest { id: number name: string description: string | null priority: ItemRequestPriority orderMethod: string destination: string deadline: Date comment: string | null baseId: number supplierEshop: string | null supplierId: number | null attachmentId: number | null supervisorId: string | null approverId: string | null purchaserId: string | null itemBase?: Models.ItemBase supplier?: Models.Supplier approvals?: Models.Approval[] delays?: Models.Delay[] subitems?: number[] orders?: Models.Order[] inspections?: Models.Inspection[] attachment?: Models.File supervisor?: Models.User approver?: Models.User purchaser?: Models.User requestorName?: string statusId?: Models.StatusId statusName?: string uid?: string isActive?: boolean attachmentName?: string totalPrice?: number delayedDeadline?: Date currOrder?: Models.Order errorData?: ErrorData }
petrdsvoboda/prototype-orders
app/src/models/ItemRequest.ts
TypeScript
mit
1,446
--- layout: default title: Home --- <div class="posts"> {% for post in paginator.posts %} <div class="post"> <h1 class="post-title"> {{ post.title }} </h1> <span class="post-date">{{ post.date | date_to_string }}</span> {{ post.content }} </div> {% endfor %} </div> <div class="pagination"> {% if paginator.previous_page %} <a class="pagination-item older" href="{{ paginator.previous_page_path }}">Newer Posts</a> {% else %} <span class="pagination-item older">Newer Posts</span> {% endif %} {% if paginator.next_page %} <a class="pagination-item newer" href="{{ paginator.next_page_path }}">Older Posts</a> {% else %} <span class="pagination-item newer">Older Posts</span> {% endif %} </div>
mikstelit/mikstelit.github.io
index.html
HTML
mit
756
package com.orbital.lead.controller.Activity; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.DatePicker; import android.widget.EditText; import android.widget.ImageView; import android.widget.TextView; import com.orbital.lead.R; import com.orbital.lead.controller.RecyclerViewAdapter.RecyclerDividerItemDecoration; import com.orbital.lead.controller.RecyclerViewAdapter.RecyclerProjectListAdapter; import com.orbital.lead.controller.RecyclerViewAdapter.RecyclerTagListAdapter; import com.orbital.lead.model.Constant; import com.orbital.lead.model.EnumDialogEditJournalType; import com.orbital.lead.model.EnumOpenPictureActivityType; import com.orbital.lead.model.Journal; import com.orbital.lead.model.Project; import com.orbital.lead.model.ProjectList; import com.orbital.lead.model.Tag; import com.orbital.lead.model.TagList; public class AddNewSpecificJournalActivity extends BaseActivity { private final String TAG = this.getClass().getSimpleName(); private View mToolbarView; private TextView mToolbarTitle; private TextView mTextJournalDate; private TextView mTextTag; private TextView mTextProject; private EditText mEditTextTitle; private EditText mEditTextContent; private AlertDialog mDialogSave; private Journal newJournal; private TagList newTagList; private ProjectList newProjectList; private Project newProject; private DatePickerDialog datePickerDialog; private DatePickerDialog.OnDateSetListener datePickerListener; private RecyclerView mRecyclerViewTagList; private RecyclerView mRecyclerViewProjectList; private RecyclerView.Adapter mRecyclerDialogTagAdapter; private RecyclerView.Adapter mRecyclerDialogProjectAdapter; //private String newJournalID; //private String newAlbumID; private int mYear; private int mMonth; private int mDay; private boolean toggleRefresh = false; private boolean isSaved = false; private boolean discard = false; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getLayoutInflater().inflate(R.layout.activity_add_new_specific_journal, getBaseFrameLayout()); this.initToolbar(); this.initToolbarTitle(); this.setToolbarTitle(Constant.TITLE_ADD_NEW_JOURNAL); this.pushToolbarToActionbar(); this.restoreCustomActionbar(); this.restoreDrawerHeaderValues(); this.initJournalReceiver(); this.retrieveNewJournalAlbumID(); this.initNewJournal(); this.initTextTitle(); this.initTextContent(); this.initTextJournalDate(); this.initTextTag(); this.initTextProject(); this.initNewTagList(); this.initNewProject(); this.initOnDateSetListener(); this.initTagSet(); this.retrievePreferenceTagSet(); this.newProjectList = new ProjectList(); this.newProjectList.setList(this.getCurrentUser().getProjectList()); Bundle getBundleExtra = getIntent().getExtras(); if (getBundleExtra != null) { } } @Override public boolean onCreateOptionsMenu(Menu menu) { if (!getNavigationDrawerFragment().isDrawerOpen()) { getMenuInflater().inflate(R.menu.menu_add_new_specific_journal, menu); this.restoreCustomActionbar(); } return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); switch(id) { case android.R.id.home: // save the current new journal //onBackPressed(); this.uploadNewJournal(); return true; case R.id.action_image: getLogic().displayPictureActivity(this, EnumOpenPictureActivityType.OPEN_FRAGMENT_LIST_PICTURES, this.getNewJournal().getAlbum(), this.getNewJournal().getJournalID()); return true; } return false; } @Override public void setToolbarTitle(String title){ this.mToolbarTitle.setText(title); } @Override public void onBackPressed() { if(!this.getIsSaved() && !this.getDiscard()) { // save and not discard this.showSaveDialog(); return; }else{ //if discard and don't save, delete album and return to previous activity this.deleteAlbum(); } Intent intent = new Intent(); intent.putExtra(Constant.BUNDLE_PARAM_JOURNAL_LIST_TOGGLE_REFRESH, this.getToggleRefresh()); setResult(Activity.RESULT_OK, intent); finish(); super.onBackPressed(); } private void restoreCustomActionbar(){ // disable the home button and onClick to open navigation drawer // enable the back arrow button getSupportActionBar().setDisplayShowHomeEnabled(false); getSupportActionBar().setHomeButtonEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayShowTitleEnabled(true); getSupportActionBar().setHomeAsUpIndicator(R.drawable.ic_done); } public void initToolbar() { this.mToolbarView = findViewById(R.id.custom_specific_journal_toolbar); ((Toolbar) this.mToolbarView).setNavigationOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { //onBackPressed(); getLogging().debug(TAG, "mToolbarView setNavigationOnClickListener onClick"); } }); } public void refreshRecyclerDialogTagAdapter(){ if(this.mRecyclerDialogTagAdapter != null) { this.mRecyclerDialogTagAdapter.notifyDataSetChanged(); } } public void setToggleRefresh(boolean val) { this.toggleRefresh = val; } public void setIsSaved(boolean val) { this.isSaved = val; } public void setDiscard(boolean val) { this.discard = val; } private void initToolbarTitle() { this.mToolbarTitle = (TextView) findViewById(R.id.toolbar_text_title); } private View getToolbar() { return this.mToolbarView; } private void pushToolbarToActionbar() { setSupportActionBar((Toolbar) this.getToolbar()); } private void retrieveNewJournalAlbumID() { this.getLogic().getNewJournalAlbumID(this, this.getCurrentUser().getUserID()); } private void initNewJournal() { this.newJournal = new Journal(); } private void initTextTitle() { this.mEditTextTitle = (EditText) findViewById(R.id.edit_text_title); } private void initTextContent(){ this.mEditTextContent = (EditText) findViewById(R.id.edit_text_content); } private void initTextJournalDate() { this.mTextJournalDate = (TextView) findViewById(R.id.text_journal_date); this.mTextJournalDate.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showDatePickerDialog(); } }); } private void initOnDateSetListener() { this.datePickerListener = new DatePickerDialog.OnDateSetListener() { @Override public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { mYear = year; mMonth = monthOfYear; mDay = dayOfMonth; String databaseFormatDate = year + "-" + (monthOfYear + 1) + "-" + dayOfMonth; setTextJournalDate(convertToDisplayDate(databaseFormatDate)); } }; } private void initTextTag() { this.mTextTag = (TextView) findViewById(R.id.text_journal_tag); this.mTextTag.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showTagDialog(getTagSet().getTagList()); } }); } private void initTextProject() { this.mTextProject = (TextView) findViewById(R.id.text_journal_project); this.mTextProject.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { showProjectDialog(getCurrentUser().getProjectList()); } }); } private void initNewTagList() { this.newTagList = new TagList(); } private void initNewProject() { this.newProject = new Project(); } private void initDialogTagRecyclerView(View v){ RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(this); this.mRecyclerViewTagList = (RecyclerView) v.findViewById(R.id.recycler_edit_tag); this.mRecyclerViewTagList.setLayoutManager(layoutManager); this.mRecyclerViewTagList.setHasFixedSize(false); this.mRecyclerViewTagList.addItemDecoration(new RecyclerDividerItemDecoration(this, RecyclerDividerItemDecoration.VERTICAL_LIST)); this.mRecyclerViewTagList.setAdapter(this.getRecyclerDialogTagAdapter()); } private void initDialogProjectRecyclerView(View v){ RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(this); this.mRecyclerViewProjectList = (RecyclerView) v.findViewById(R.id.recycler_edit_project); this.mRecyclerViewProjectList.setLayoutManager(layoutManager); this.mRecyclerViewProjectList.setHasFixedSize(false); this.mRecyclerViewProjectList.addItemDecoration(new RecyclerDividerItemDecoration(this, RecyclerDividerItemDecoration.VERTICAL_LIST)); this.mRecyclerViewProjectList.setAdapter(this.getRecyclerDialogProjectAdapter()); } private void initRecyclerDialogTagAdapter(TagList currentUsedTagList){ getLogging().debug(TAG, "initRecyclerDialogTagAdapter"); this.mRecyclerDialogTagAdapter = new RecyclerTagListAdapter(currentUsedTagList); /* ((RecyclerTagListAdapter) mRecyclerDialogTagAdapter).setOnItemClickListener(new RecyclerTagListAdapter.OnItemClickListener() { @Override public void onItemClick(View view, int position) { getLogging().debug(TAG, "initRecyclerDialogTagAdapter onItemClick position -> " + position); } }); */ } private void initRecyclerProjectAdapter(ProjectList list){ getLogging().debug(TAG, "initRecyclerProjectAdapter"); if(this.newProject != null) { this.mRecyclerDialogProjectAdapter = new RecyclerProjectListAdapter(list, this.newProject.getProjectID()); }else{ this.mRecyclerDialogProjectAdapter = new RecyclerProjectListAdapter(list, ""); } } private RecyclerView.Adapter getRecyclerDialogTagAdapter(){ return this.mRecyclerDialogTagAdapter; } private RecyclerView.Adapter getRecyclerDialogProjectAdapter(){ return this.mRecyclerDialogProjectAdapter; } public void setNewJournalID(String id) { this.getLogging().debug(TAG, "setNewJournalID id => " + id); this.getNewJournal().setJournalID(id); } public void setNewAlbumID(String id) { this.getLogging().debug(TAG, "setNewAlbumID id => " + id); this.getNewJournal().getAlbum().setAlbumID(id); } public void setJournal(Journal j){ this.newJournal = j; } private void setEditTextTitle(String value){ this.mEditTextTitle.setText(value); } private void setEditTextContent(String value){ this.mEditTextContent.setText(value); } private void setTextJournalDate(String value) { this.mTextJournalDate.setText(value); } private void setTextTag(String value){ this.mTextTag.setText(value); } private void setTextProject(String value){ this.mTextProject.setText(value); } private void setNewProject(Project project) { this.newProject = project; } private String getEditTextTitle() { return this.mEditTextTitle.getText().toString(); } private String getTextJournalDate() { return this.mTextJournalDate.getText().toString(); } private String getTextTags() { return this.mTextTag.getText().toString(); } private String getTextProject() { return this.mTextProject.getText().toString(); } private String getEditTextContent() { return this.mEditTextContent.getText().toString(); } private TagList getTagList() { return this.newTagList; } private boolean getToggleRefresh() { return this.toggleRefresh; } private boolean getIsSaved() { return this.isSaved; } private boolean getDiscard() { return this.discard; } private Journal getNewJournal() { return this.newJournal; } private void updateNewTagList(TagList list) { this.newTagList.replaceWithTagList(list); } /*=============== DIALOGS ==========*/ private void showDatePickerDialog(){ this.datePickerDialog = new DatePickerDialog(this, this.getDatePickerListener(), this.mYear, this.mMonth, this.mDay); this.datePickerDialog.show(); } private DatePickerDialog.OnDateSetListener getDatePickerListener(){ return this.datePickerListener; } private void showTagDialog(TagList list){ AlertDialog.Builder builder = new AlertDialog.Builder(this); LayoutInflater inflater = this.getLayoutInflater(); final View dialogView = inflater.inflate(R.layout.dialog_tag, null); this.initRecyclerDialogTagAdapter(list); this.initDialogTagRecyclerView(dialogView); ImageView addNewTag = (ImageView) dialogView.findViewById(R.id.image_toolbar_add_new_tag); addNewTag.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { getLogic().showAddTagProjectDialog(AddNewSpecificJournalActivity.this, EnumDialogEditJournalType.ADD_TAG, ""); } }); builder.setView(dialogView) .setPositiveButton(R.string.dialog_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { TagList list = ((RecyclerTagListAdapter) getRecyclerDialogTagAdapter()).getTagList(); updateNewTagList(list); // update new tag list for (Tag t : newTagList.getList()) { getLogging().debug(TAG, "after update newTagList t.getName() => " + t.getName() + " checked => " + t.getIsChecked()); } setTextTag(newTagList.getCheckedToString()); // update the tag text, show only all checked tags } }); builder.create().show(); } private void showProjectDialog(ProjectList projectList){ AlertDialog.Builder builder = new AlertDialog.Builder(this); LayoutInflater inflater = this.getLayoutInflater(); final View dialogView = inflater.inflate(R.layout.dialog_project, null); this.initRecyclerProjectAdapter(projectList); this.initDialogProjectRecyclerView(dialogView); ImageView addNewProject = (ImageView) dialogView.findViewById(R.id.image_toolbar_add_new_project); addNewProject.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { getLogic().showAddTagProjectDialog(AddNewSpecificJournalActivity.this, EnumDialogEditJournalType.ADD_PROJECT, ""); } }); builder.setView(dialogView) .setPositiveButton(R.string.dialog_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { Project selectedProject = ((RecyclerProjectListAdapter) getRecyclerDialogProjectAdapter()).getSelectedProject(); newProject = selectedProject; newProjectList.resetList(); if (selectedProject != null) { // sometimes user will not choose a project newProjectList.updateProject(selectedProject); } setTextProject(selectedProject != null ? selectedProject.getName() : ""); setNewProject(selectedProject); // update the new project } }); builder.create().show(); } private void showSaveDialog() { final AlertDialog.Builder builder = new AlertDialog.Builder(this); LayoutInflater inflater = this.getLayoutInflater(); final View dialogView = inflater.inflate(R.layout.dialog_save_layout, null); builder.setView(dialogView) .setPositiveButton(R.string.dialog_save, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { getLogging().debug(TAG, "showSaveDialog Save"); uploadNewJournal(); } }) .setNegativeButton(R.string.dialog_cancel, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { getLogging().debug(TAG, "showSaveDialog Cancel"); mDialogSave.dismiss(); } }) .setNeutralButton(R.string.dialog_discard, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int id) { getLogging().debug(TAG, "showSaveDialog Discard"); setDiscard(true); setToggleRefresh(false); setIsSaved(false); onBackPressed(); } }); this.mDialogSave = builder.create(); this.mDialogSave.setCanceledOnTouchOutside(false); this.mDialogSave.setCancelable(true); this.mDialogSave.show(); } private void uploadNewJournal() { if(!this.isValidJournal()) { this.getLogging().debug(TAG, "uploadNewJournal it is not a valid new journal"); return; } this.getNewJournal().setJournalID(this.getNewJournal().getJournalID()); this.getNewJournal().setTitle(this.getEditTextTitle()); this.getNewJournal().setContent(this.getEditTextContent()); this.getNewJournal().setJournalDate(this.convertToDatabaseDate(this.getTextJournalDate())); this.getNewJournal().setTagList(this.newTagList); this.getNewJournal().setProject(this.newProject); String detail = this.getParser().uploadNewJournalToJson(this.getNewJournal()); this.getLogging().debug(TAG, "uploadNewJournal detail => " + detail); this.getLogic().insertNewJournal(this, this.getCurrentUser().getUserID(), this.getNewJournal().getJournalID(), this.getNewJournal().getAlbum().getAlbumID(), detail); } private void deleteAlbum() { this.getLogic().deleteAlbum(this, this.getNewJournal().getAlbum().getAlbumID()); } private boolean isValidJournal() { // Check title and content if(getParser().isStringEmpty(this.getEditTextTitle()) && getParser().isStringEmpty(this.getEditTextContent())) { return false; // if both empty, means it is not suitable to be uploaded as a new journal } return true; } }
orbitaljt/LEAD
Android/Lead/app/src/main/java/com/orbital/lead/controller/Activity/AddNewSpecificJournalActivity.java
Java
mit
20,434
# Œ 685 ‰ --- lptwnw ] jobnu Dnu pRBqw kY md mY Aihinis rhY idvwnw ]1] dIn dieAwl sdw duK BMjn qw isau mnu n lgwnw ] jn nwnk kotn mY iknhU gurmuiK hoie pCwnw ]2]2] DnwsrI mhlw 9 ] iqh jogI kau jugiq n jwnau ] loB moh mwieAw mmqw Puin ijh Git mwih pCwnau ]1] rhwau ] pr inMdw ausqiq nh jw kY kMcn loh smwno ] hrK sog qy rhY AqIqw jogI qwih bKwno ]1] cMcl mnu dh idis kau Dwvq Acl jwih Thrwno ] khu nwnk ieh ibiD ko jo nru mukiq qwih qum mwno ]2]3] DnwsrI mhlw 9 ] Ab mY kaunu aupwau krau ] ijh ibiD mn ko sMsw cUkY Bau iniD pwir prau ]1] rhwau ] jnmu pwie kCu Blo n kIno qw qy AiDk frau ] mn bc k®m hir gun nhI gwey Xh jIA soc Drau ]1] gurmiq suin kCu igAwnu n aupijE psu ijau audru Brau ] khu nwnk pRB ibrdu pCwnau qb hau piqq qrau ] 2]4]9]9]13]58]4]93] DnwsrI mhlw 1 Gru 2 AstpdIAw <> siqgur pRswid ] guru swgru rqnI BrpUry ] AMimRqu sMq cugih nhI dUry ] hir rsu cog cugih pRB BwvY ] srvr mih hMsu pRwnpiq pwvY ]1] ikAw bgu bpuVw CpVI nwie ] kIciV fUbY mYlu n jwie ]1] rhwau ] riK riK crn Dry vIcwrI ] duibDw Coif Bey inrMkwrI ] mukiq pdwrQu hir rs cwKy ] Awvx jwx rhy guir rwKy ]2] srvr hMsw Coif n jwie ] pRym Bgiq kir shij smwie ] srvr mih hMsu hMs mih swgru ] AkQ kQw gur bcnI Awdru ]3] suMn mMfl ieku jogI bYsy ] nwir n purKu khhu koaU kYsy ] iqRBvx joiq rhy ilv lweI ] suir nr nwQ scy srxweI ]4] Awnµd mUlu AnwQ ADwrI ] gurmuiK Bgiq shij bIcwrI ] Bgiq vCl BY kwtxhwry ] haumY mwir imly pgu Dwry ]5] Aink jqn kir kwlu sMqwey ] mrxu ilKwie mMfl mih Awey ] ####
bogas04/SikhJS
assets/docs/md/SGGS/Ang 685.md
Markdown
mit
1,471
const colors = require('colors/safe'); const shouldSilenceWarnings = (...messages) => [].some((msgRegex) => messages.some((msg) => msgRegex.test(msg))); const shouldNotThrowWarnings = (...messages) => [].some((msgRegex) => messages.some((msg) => msgRegex.test(msg))); const logOrThrow = (log, method, messages) => { const warning = `console.${method} calls not allowed in tests`; if (process.env.CI) { if (shouldSilenceWarnings(messages)) return; log(warning, '\n', ...messages); // NOTE: That some warnings should be logged allowing us to refactor graceully // without having to introduce a breaking change. if (shouldNotThrowWarnings(messages)) return; throw new Error(...messages); } else { log(colors.bgYellow.black(' WARN '), warning, '\n', ...messages); } }; // eslint-disable-next-line no-console const logMessage = console.log; global.console.log = (...messages) => { logOrThrow(logMessage, 'log', messages); }; // eslint-disable-next-line no-console const logInfo = console.info; global.console.info = (...messages) => { logOrThrow(logInfo, 'info', messages); }; // eslint-disable-next-line no-console const logWarning = console.warn; global.console.warn = (...messages) => { logOrThrow(logWarning, 'warn', messages); }; // eslint-disable-next-line no-console const logError = console.error; global.console.error = (...messages) => { logOrThrow(logError, 'error', messages); };
tdeekens/flopflip
throwing-console-patch.js
JavaScript
mit
1,445
/*********************************************************************************** Copyright (C) 2016 Mohammad D. Mottaghi Under the terms of the MIT license, permission is granted to anyone to use, copy, modify, publish, redistribute, and/or sell copies of this source code for any commercial and non-commercial purposes, subject to the following restrictions: 1. The above copyright notice and this permission notice shall not be removed from any source distribution. 2. The origin of this file shall not be misrepresented; The name of the original author shall be cited in any copy, or modified version of this source code. 3. If used in a product, acknowledgment in the product documentation would be appreciated, but is not required. 4. Modified versions must be plainly marked as such, and must not be misrepresented as being the original source code. This source code is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with this source code or the use or other dealings in it. Mohammd Mottaghi Dastjerdi (mamad[a~t]cs.duke.edu) Sep. 1,2016 ***********************************************************************************/ #include <vcl.h> #pragma hdrstop #include "fmStats.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TfrmStats *frmStats; //--------------------------------------------------------------------------- __fastcall TfrmStats::TfrmStats(TComponent* Owner) : TForm(Owner), total_html_tags(CJerdyParser::HtmlTags().CountLeft()), tag_descriptors(CJerdyParser::HtmlTags().Current()) { } //--------------------------------------------------------------------------- void __fastcall TfrmStats::CountTags(const CjHtmlElement* node) { tag_frequency[node->Meta()->id]++; for (long i=0, cnt = node->ChildrenCount() ; i < cnt ; i++) CountTags(node->Child(i)); } //--------------------------------------------------------------------------- void __fastcall TfrmStats::FormShow(TObject *Sender) { AnsiString title; title.cat_printf("Frequency Of Tags Under '%s' At Level %ld", subtree_root->TagName(), subtree_root->Level()); Caption = title; freqChart->Title->Text->Clear(); freqChart->Title->Text->Add(title); Series1->Clear(); tag_frequency = new long[total_html_tags+1]; memset(tag_frequency, 0, (total_html_tags+1) * sizeof(long)); CountTags(subtree_root); for (long index_max, max, i=0 ; i < total_html_tags ; i++) { index_max=tiNil; max=-1; for (long j=0 ; j < total_html_tags ; j++) if (max < tag_frequency[j]) { max = tag_frequency[j]; index_max = j; } if (index_max > tiRoot && tag_frequency[index_max]>0) Series1->Add(tag_frequency[index_max], tag_descriptors[index_max].meta.name); tag_frequency[index_max] = -1; } delete []tag_frequency; } //--------------------------------------------------------------------------- void __fastcall TfrmStats::FormKeyPress(TObject *Sender, char &Key) { if (Key==27) Close(); } //---------------------------------------------------------------------------
mmottaghi/Jerdy-Inspector
src/fmStats.cpp
C++
mit
3,488
require "chamberevents/version" require 'chamberevents/read' require 'chamberevents/ical' require 'chamberevents/upload' module Chamberevents def self.update! events = Read.current ical = Ical.new(events).to_s Upload.write('elginchamber-events.ics', ical) end end
JustinLove/chamberevents
lib/chamberevents.rb
Ruby
mit
281
require File.dirname(__FILE__) + '/test_helper' context "Resque::Scheduler" do setup do Resque::Scheduler.dynamic = false Resque.redis.flushall Resque::Scheduler.clear_schedule! end test 'set custom logger' do custom_logger = Logger.new('/dev/null') Resque::Scheduler.logger = custom_logger assert_equal(custom_logger, Resque::Scheduler.logger) end context 'logger default settings' do setup do nullify_logger end test 'uses STDOUT' do assert_equal(Resque::Scheduler.logger.instance_variable_get(:@logdev).dev, STDOUT) end test 'not verbose' do assert Resque::Scheduler.logger.level > Logger::DEBUG end test 'not muted' do assert Resque::Scheduler.logger.level < Logger::FATAL end teardown do nullify_logger end end context 'logger custom settings' do setup do nullify_logger end test 'uses logfile' do Resque::Scheduler.logfile = '/dev/null' assert_equal(Resque::Scheduler.logger.instance_variable_get(:@logdev).filename, '/dev/null') end test 'set verbosity' do Resque::Scheduler.verbose = true assert Resque::Scheduler.logger.level == Logger::DEBUG end test 'mute logger' do Resque::Scheduler.mute = true assert Resque::Scheduler.logger.level == Logger::FATAL end teardown do nullify_logger end end end
makepositive/Resque-Schedular
test/scheduler_setup_test.rb
Ruby
mit
1,413
<table width="90%" border="0"><tr><td><script>function openfile(url) {fullwin = window.open(url, "fulltext", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");}</script><div class="flayoutclass"><div class="flayoutclass_first"><table class="tableoutfmt2"><tr><th class="std1"><b>條目&nbsp;</b></th><td class="std2">多事之秋</td></tr> <tr><th class="std1"><b>注音&nbsp;</b></th><td class="std2">ㄉㄨㄛ ㄕ<sup class="subfont">ˋ</sup> ㄓ ㄑ|ㄡ</td></tr> <tr><th class="std1"><b>漢語拼音&nbsp;</b></th><td class="std2"><font class="english_word">duō shì zhī qiū</font></td></tr> <tr><th class="std1"><b>釋義&nbsp;</b></th><td class="std2">發生很多事變的時期。形容國家不安定。水滸傳˙第八十六回:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>汝等文武群臣,當國家多事之秋,如何處置?<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center>封神演義˙第七十一回:<img src=/cydic/dicword/fa40.gif border=0 alt=* class=fontimg valign=center>今當國家多事之秋,不思報本,以分主憂,而反說此貪生之語。<img src=/cydic/dicword/fa41.gif border=0 alt=* class=fontimg valign=center></td></tr> <tr><th class="std1"><b><font class="fltypefont">附錄</font>&nbsp;</b></th><td class="std2">修訂本參考資料</td></tr> </td></tr></table></div> <!-- flayoutclass_first --><div class="flayoutclass_second"></div> <!-- flayoutclass_second --></div> <!-- flayoutclass --></td></tr></table>
BuzzAcademy/idioms-moe-unformatted-data
all-data/7000-7999/7196-22.html
HTML
mit
1,577
/* * (C) Copyright 2015 Richard Greenlees * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * 1) The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * */ package com.jumi.scene.objects; /** * * @author RGreenlees */ public class JUMISkinDeformer { String name; public JUMISubDeformer[] deformers = new JUMISubDeformer[0]; public JUMISkinDeformer(String inName) { name = inName; } public String toString() { String result = "Skin Deformer " + name + ":"; for (int i = 0; i < deformers.length; i++) { result = result + "\n\t" + deformers[i].name; } return result; } public JUMISubDeformer getSubDeformerByIndex(int index) { if (index >= deformers.length) { return null; } return deformers[index]; } public JUMISubDeformer getSubDeformerByName(String inName) { for (JUMISubDeformer a : deformers) { if (a.name.equals(inName)) { return a; } } return null; } }
RGreenlees/JUMI-Java-Model-Importer
src/com/jumi/scene/objects/JUMISkinDeformer.java
Java
mit
1,888
<?php // Load DB include "ConfigDb.php"; // Load core classes include "core/Model.php"; include "core/Controller.php"; // Load model classes - they extend Model.php include "model/AddressesModel.php"; include "model/EmployeesModel.php"; // Load Controller class - it extends Controller.php include 'controller/FilterInput.php'; include "controller/MainController.php"; include 'controller/EmployeeController.php'; include 'controller/AddressController.php'; include 'controller/RouteController.php'; $route = new RouteController(); $route->route();
stoyantodorovbg/PHP-Web-Development-Basics
Homework Working with Forms in PHP/employee2/index.php
PHP
mit
559
package action import ( "os" "path/filepath" "github.com/gopasspw/gopass/internal/tree" "github.com/gopasspw/gopass/internal/config" "github.com/gopasspw/gopass/internal/out" "github.com/gopasspw/gopass/internal/store/leaf" "github.com/gopasspw/gopass/pkg/ctxutil" "github.com/gopasspw/gopass/pkg/fsutil" "github.com/gopasspw/gopass/pkg/termio" "github.com/urfave/cli/v2" ) // Fsck checks the store integrity func (s *Action) Fsck(c *cli.Context) error { s.rem.Reset("fsck") ctx := ctxutil.WithGlobalFlags(c) if c.IsSet("decrypt") { ctx = leaf.WithFsckDecrypt(ctx, c.Bool("decrypt")) } out.Printf(ctx, "Checking store integrity ...") // make sure config is in the right place // we may have loaded it from one of the fallback locations if err := s.cfg.Save(); err != nil { return ExitError(ExitConfig, err, "failed to save config: %s", err) } // clean up any previous config locations oldCfg := filepath.Join(config.Homedir(), ".gopass.yml") if fsutil.IsFile(oldCfg) { if err := os.Remove(oldCfg); err != nil { out.Errorf(ctx, "Failed to remove old gopass config %s: %s", oldCfg, err) } } // display progress bar t, err := s.Store.Tree(ctx) if err != nil { return ExitError(ExitUnknown, err, "failed to list stores: %s", err) } pwList := t.List(tree.INF) bar := termio.NewProgressBar(int64(len(pwList)*2), ctxutil.IsHidden(ctx)) ctx = ctxutil.WithProgressCallback(ctx, func() { bar.Inc() }) ctx = out.AddPrefix(ctx, "\n") // the main work in done by the sub stores if err := s.Store.Fsck(ctx, c.Args().Get(0)); err != nil { return ExitError(ExitFsck, err, "fsck found errors: %s", err) } bar.Done() return nil }
franciscocpg/gopass
internal/action/fsck.go
GO
mit
1,676
require "codeclimate-test-reporter" CodeClimate::TestReporter.start # This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_helper"` to ensure that it is only # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = "random" config.expect_with :rspec do |c| # Disable old "should" syntax for expressions c.syntax = :expect end end
mutiny/attributable
spec/spec_helper.rb
Ruby
mit
854
// Copyright (c) Simple Injector Contributors. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for license information. namespace SimpleInjector.Diagnostics { using System; using System.Diagnostics; using SimpleInjector.Advanced; /// <summary> /// Diagnostic result for a warning about a /// component that depends on a service with a lifestyle that is shorter than that of the component. /// For more information, see: https://simpleinjector.org/dialm. /// </summary> [DebuggerDisplay("{" + nameof(DebuggerDisplay) + ", nq}")] public class LifestyleMismatchDiagnosticResult : DiagnosticResult { internal LifestyleMismatchDiagnosticResult( Type serviceType, string description, KnownRelationship relationship) : base( serviceType, description, DiagnosticType.LifestyleMismatch, DiagnosticSeverity.Warning, relationship) { this.Relationship = relationship; } /// <summary>Gets the object that describes the relationship between the component and its dependency.</summary> /// <value>A <see cref="KnownRelationship"/> instance.</value> public KnownRelationship Relationship { get; } } }
simpleinjector/SimpleInjector
src/SimpleInjector/Diagnostics/LifestyleMismatchDiagnosticResult.cs
C#
mit
1,347
import Helper, { helper as buildHelper } from '@ember/component/helper'; import { inlineSvg } from 'ember-inline-svg/helpers/inline-svg'; import SVGs from '../svgs'; import Ember from 'ember'; let helper; if (Helper && buildHelper) { helper = buildHelper(function ([path], options) { return inlineSvg(SVGs, path, options); }); } else { helper = Ember.Handlebars.makeBoundHelper(function (path, options) { return inlineSvg(SVGs, path, options.hash || {}); }); } export default helper;
minutebase/ember-inline-svg
app/helpers/inline-svg.js
JavaScript
mit
502
'use strict'; var path = require('path'); var Stream = require('readable-stream'); var BufferStreams = require('bufferstreams'); var ttf2woff2 = require('ttf2woff2'); var PluginError = require('plugin-error'); var replaceExtension = require('replace-ext'); var PLUGIN_NAME = 'gulp-ttf2woff2'; // File level transform function function ttf2woff2Transform() { // Return a callback function handling the buffered content return function ttf2woff2TransformCb(err, buf, cb) { // Handle any error if(err) { return cb(new PluginError(PLUGIN_NAME, err, { showStack: true })); } // Use the buffered content try { buf = ttf2woff2(buf); return cb(null, buf); } catch(err2) { return cb(new PluginError(PLUGIN_NAME, err2, { showStack: true })); } }; } // Plugin function function ttf2woff2Gulp(options) { var stream = new Stream.Transform({ objectMode: true }); options = options || {}; options.ignoreExt = options.ignoreExt || false; options.clone = options.clone || false; stream._transform = function ttf2woff2GulpTransform(file, unused, done) { var cntStream; var newFile; // When null just pass through if(file.isNull()) { stream.push(file); done(); return; } // If the ext doesn't match, pass it through if((!options.ignoreExt) && '.ttf' !== path.extname(file.path)) { stream.push(file); done(); return; } // Fix for the vinyl clone method... // https://github.com/wearefractal/vinyl/pull/9 if(options.clone) { if(file.isBuffer()) { stream.push(file.clone()); } else { cntStream = file.contents; file.contents = null; newFile = file.clone(); file.contents = cntStream.pipe(new Stream.PassThrough()); newFile.contents = cntStream.pipe(new Stream.PassThrough()); stream.push(newFile); } } file.path = replaceExtension(file.path, '.woff2'); // Buffers if(file.isBuffer()) { try { file.contents = ttf2woff2(file.contents); } catch(err) { stream.emit('error', new PluginError(PLUGIN_NAME, err, { showStack: true, })); } // Streams } else { file.contents = file.contents.pipe(new BufferStreams(ttf2woff2Transform())); } stream.push(file); done(); }; return stream; } // Export the file level transform function for other plugins usage ttf2woff2Gulp.fileTransform = ttf2woff2Transform; // Export the plugin main function module.exports = ttf2woff2Gulp;
nfroidure/gulp-ttf2woff2
src/index.js
JavaScript
mit
2,569
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.9.1"/> <title>V8 API Reference Guide for node.js v0.8.8: v8::RetainedObjectInfo Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">V8 API Reference Guide for node.js v0.8.8 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.9.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class&#160;List</span></a></li> <li><a href="classes.html"><span>Class&#160;Index</span></a></li> <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&#160;Members</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacev8.html">v8</a></li><li class="navelem"><a class="el" href="classv8_1_1_retained_object_info.html">RetainedObjectInfo</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> &#124; <a href="classv8_1_1_retained_object_info-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">v8::RetainedObjectInfo Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p><code>#include &lt;<a class="el" href="v8-profiler_8h_source.html">v8-profiler.h</a>&gt;</code></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a5011203f7c5949049ba36b8059f03eca"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#a5011203f7c5949049ba36b8059f03eca">Dispose</a> ()=0</td></tr> <tr class="separator:a5011203f7c5949049ba36b8059f03eca"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a286103bb076c85415919c86b1838c990"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#a286103bb076c85415919c86b1838c990">IsEquivalent</a> (<a class="el" href="classv8_1_1_retained_object_info.html">RetainedObjectInfo</a> *other)=0</td></tr> <tr class="separator:a286103bb076c85415919c86b1838c990"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a6fdbfa242b95615e63f08433419c8066"><td class="memItemLeft" align="right" valign="top">virtual intptr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#a6fdbfa242b95615e63f08433419c8066">GetHash</a> ()=0</td></tr> <tr class="separator:a6fdbfa242b95615e63f08433419c8066"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ad19106fc7f0499fd45005077551d54c0"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#ad19106fc7f0499fd45005077551d54c0">GetLabel</a> ()=0</td></tr> <tr class="separator:ad19106fc7f0499fd45005077551d54c0"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:adf835370c5516f2a89dd2d3f83dee10b"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#adf835370c5516f2a89dd2d3f83dee10b">GetGroupLabel</a> ()</td></tr> <tr class="separator:adf835370c5516f2a89dd2d3f83dee10b"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ae6865597469bc7d28bd8ec71b4b890bd"><td class="memItemLeft" align="right" valign="top">virtual intptr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#ae6865597469bc7d28bd8ec71b4b890bd">GetElementCount</a> ()</td></tr> <tr class="separator:ae6865597469bc7d28bd8ec71b4b890bd"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:a1a899eed0b1f6e046edc3c7a7c08aa8c"><td class="memItemLeft" align="right" valign="top">virtual intptr_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classv8_1_1_retained_object_info.html#a1a899eed0b1f6e046edc3c7a7c08aa8c">GetSizeInBytes</a> ()</td></tr> <tr class="separator:a1a899eed0b1f6e046edc3c7a7c08aa8c"><td class="memSeparator" colspan="2">&#160;</td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Interface for providing information about embedder's objects held by global handles. This information is reported in two ways:</p> <ol type="1"> <li>When calling AddObjectGroup, an embedder may pass <a class="el" href="classv8_1_1_retained_object_info.html">RetainedObjectInfo</a> instance describing the group. To collect this information while taking a heap snapshot, <a class="el" href="classv8_1_1_v8.html">V8</a> calls GC prologue and epilogue callbacks.</li> <li>When a heap snapshot is collected, <a class="el" href="classv8_1_1_v8.html">V8</a> additionally requests RetainedObjectInfos for persistent handles that were not previously reported via AddObjectGroup.</li> </ol> <p>Thus, if an embedder wants to provide information about native objects for heap snapshots, he can do it in a GC prologue handler, and / or by assigning wrapper class ids in the following way:</p> <ol type="1"> <li>Bind a callback to class id by calling DefineWrapperClass.</li> <li>Call SetWrapperClassId on certain persistent handles.</li> </ol> <p><a class="el" href="classv8_1_1_v8.html">V8</a> takes ownership of <a class="el" href="classv8_1_1_retained_object_info.html">RetainedObjectInfo</a> instances passed to it and keeps them alive only during snapshot collection. Afterwards, they are freed by calling the Dispose class function. </p> </div><h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a5011203f7c5949049ba36b8059f03eca"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void v8::RetainedObjectInfo::Dispose </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Called by <a class="el" href="classv8_1_1_v8.html">V8</a> when it no longer needs an instance. </p> </div> </div> <a class="anchor" id="ae6865597469bc7d28bd8ec71b4b890bd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual intptr_t v8::RetainedObjectInfo::GetElementCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns element count in case if a global handle retains a subgraph by holding one of its nodes. </p> </div> </div> <a class="anchor" id="adf835370c5516f2a89dd2d3f83dee10b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual const char* v8::RetainedObjectInfo::GetGroupLabel </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns human-readable group label. It must be a null-terminated UTF-8 encoded string. <a class="el" href="classv8_1_1_v8.html">V8</a> copies its contents during a call to GetGroupLabel. Heap snapshot generator will collect all the group names, create top level entries with these names and attach the objects to the corresponding top level group objects. There is a default implementation which is required because embedders don't have their own implementation yet. </p> </div> </div> <a class="anchor" id="a6fdbfa242b95615e63f08433419c8066"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual intptr_t v8::RetainedObjectInfo::GetHash </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns hash value for the instance. Equivalent instances must have the same hash value. </p> </div> </div> <a class="anchor" id="ad19106fc7f0499fd45005077551d54c0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual const char* v8::RetainedObjectInfo::GetLabel </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns human-readable label. It must be a null-terminated UTF-8 encoded string. <a class="el" href="classv8_1_1_v8.html">V8</a> copies its contents during a call to GetLabel. </p> </div> </div> <a class="anchor" id="a1a899eed0b1f6e046edc3c7a7c08aa8c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual intptr_t v8::RetainedObjectInfo::GetSizeInBytes </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns embedder's object size in bytes. </p> </div> </div> <a class="anchor" id="a286103bb076c85415919c86b1838c990"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool v8::RetainedObjectInfo::IsEquivalent </td> <td>(</td> <td class="paramtype"><a class="el" href="classv8_1_1_retained_object_info.html">RetainedObjectInfo</a> *&#160;</td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns whether two instances are equivalent. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>deps/v8/include/<a class="el" href="v8-profiler_8h_source.html">v8-profiler.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Aug 11 2015 23:48:41 for V8 API Reference Guide for node.js v0.8.8 by &#160;<a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.9.1 </small></address> </body> </html>
v8-dox/v8-dox.github.io
ef0ca2a/html/classv8_1_1_retained_object_info.html
HTML
mit
14,854
--- categories: - 价值投资 --- ### 一、本周操作(无) ### 二、持仓实盘 ![](https://imgkr.cn-bj.ufileos.com/58765ae4-90fd-4502-85e6-ace588d94f35.png) 其中:1、持仓分别在A股、港股和美股,港美股通过雪盈证券购买;2、持仓比例小于5%的可以理解为观察仓或收藏股(收集优秀公司的股权,比如Facebook、Google、Amazon等);3、收益率计算方式为:2020年收益率=(当前持仓净值+2020年新增资金-年初持仓净值)/年初持仓净值。 ### 三、收益记录 ![](https://imgkr.cn-bj.ufileos.com/68d4ee56-4775-4c43-b754-badc45b868c1.png) ### 四、下周操作计划(无) ### 五、本周重要事件 **1.万华化学公布2019Q4及全年财报** 2019年公司实现销售收入680.51亿元,同比下降6.57%;实现归属于上市公司股东的净利润101.30亿元,同比下降34.92%;每股收益3.23元。2019年末,公司资产总额968.65亿元,同比增长11.26%;归属母公司所有者权益423.64亿元,同比增长11.34%;公司加权平均净资产收益率25.44%,同比减少25.39个百分点;每股净资产13.49元,同比增长11.30%;资产负债率54.65%,同比增长0.11个百分点。 **碎碎叨**:万化化学是典型的周期股,2016年到2018年是化工行业景气周期,行业内企业基本都创下了业绩新高。2019年开始,全球主要经济体增速放缓,下游需求增速放缓或下降,上游产能集中扩张,化工行业整体盈利能力下滑。公司进入周期谷底,再叠加2020年疫情影响,更是雪上加霜。短期来看,业绩将会持续受到影响,尤其是万华国外营收占比30%以上,疫情的影响是非常严重的。实际上建仓万华,是因为它优秀的历史业绩,即使2019年,ROE也有20%+,但对化工行业我几乎没有任何了解,所以仓位也不重。目前万华PE 13.30,PB3.18,均处于近10年低位,是一只可以下功夫研究的标的。 **2.瑞幸咖啡造假坐实股价闪崩** 瑞幸4月2日盘前宣布,公司董事会已成立一个特别委员会,监督对审计期间提请董事会注意的某些问题的内部调查截至2019年12月31日财年的合并财务报表(“内部调查”)。 特别委员会今天提请董事会注意的信息显示,从2019年第二季度开始,公司首席运营官存在某些不当行为,包括捏造某些交易。 本次内部调查初步阶段查明的信息显示,从2019年第二季度至2019年第四季度,虚增交易相关的销售总额约为22亿元人民币。 **碎碎叨**:有些公司适合做客户,不适合做股东。作为一个消费者,瑞幸咖啡确实给大家带来了实惠,也培养了一大批粉丝。但作为中国企业的代表,造假会带来非常深远的影响,京东CEO徐雷在朋友圈发表了他对这件事情的评论,截了个图大家看看。瑞幸的大股东陆正耀先生是我们非常知名的校友,曾经也很幸运地入选由他在母校发起的「励志计划」项目,是我大学里收获最大的经历之一,真心希望瑞幸能处理好这次风波。 ![](https://cdn.nlark.com/yuque/0/2020/png/116289/1586002658359-eb075f43-6e55-42b1-a69f-eee181feec78.png "image.png") **3.罗永浩直播首秀交易额超1.1亿** 4月1日晚8点,“初代网红”罗永浩准时在抖音开始了他的首次直播带货。无论是对罗永浩还是对于抖音平台来说,这场声势浩大的直播营销都算得上是一个胜利。抖音数据显示,罗永浩直播持续3小时,支付交易总额超1.1亿元,累计观看人数超过4800万人,创下抖音直播带货的新纪录。数据最能说明这场直播的热闹程度,直播刚开始两分钟,罗永浩的直播打赏已经排到了小时榜第一,领先于第二名上百万音浪。带有“赚钱还债”和“交个朋友”标签的罗永浩为这场直播增加了不少看点。 **碎碎叨**:不论你喜不喜欢罗永浩,他这次直播成功掀起了几乎整个互联网圈子地热潮,他在用心地做每一件事情。这次直播对抖音来说也是一次标志性事件,一方面向外界表明抖音在直播卖货(电商)这条路上的探索,也像更多的品牌方发出了一个信号:你是不是也应该直播了。 ### 六、本周学习 1.继续阅读:《俞军产品方法论》、《门口的野蛮人》、《合作的进化》。 2.阅读万华化学2019年财报。 ### 七、写在后面 补充投资常识清单:(你可以自己补充) * 不要上杠杆———你借钱炒股了吗?能承担亏损的后果吗? * 不懂的不买———你买的生意都是你了解的吗?商业模式是什么样的? * 关注公司而不是股价———是不是股价涨了你才觉得这个公司好?如果一直跌你是不是又不这样觉得了? * 人多的地方不要去——远离那些热门公司 最后申明:文中的所有操作、观点都只是个人思考,仅供交流和参考,千万不要仅仅依此做出决策哦,祝大家投资愉快😊
xiangyingchang/xiangyingchang.github.com
_posts/2020-04-04-投资实盘周记 #11.md
Markdown
mit
5,147
public class Solution { public int lengthOfLongestSubstringTwoDistinct(String s) { int[] map = new int[128]; int count = 0, start = 0, end = 0, d = 0; while (end < s.length()) { if (map[s.charAt(end++)]++ == 0) count++; while (count > 2) if(map[s.charAt(start++)]-- == 1) count--; d = Math.max(d, end - start); } return d; } }
zhugejunwei/Algorithms-in-Java-Swift-CPP
String/159. Longest Substring with At Most Two Distinct Characters.java
Java
mit
411
<?php /** * This class defines the structure of the 'category' table. * * * * This map class is used by Propel to do runtime db structure discovery. * For example, the createSelectSql() method checks the type of a given column used in an * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * (i.e. if it's a text column type). * * @package propel.generator.kreader.map */ class CategoryTableMap extends TableMap { /** * The (dot-path) name of this class */ const CLASS_NAME = 'kreader.map.CategoryTableMap'; /** * Initialize the table attributes, columns and validators * Relations are not initialized by this method since they are lazy loaded * * @return void * @throws PropelException */ public function initialize() { // attributes $this->setName('category'); $this->setPhpName('Category'); $this->setClassname('Category'); $this->setPackage('kreader'); $this->setUseIdGenerator(true); // columns $this->addPrimaryKey('id', 'Id', 'INTEGER', true, null, null); $this->addColumn('name', 'Name', 'VARCHAR', true, 255, null); // validators } // initialize() /** * Build the RelationMap objects for this table relationships */ public function buildRelations() { $this->addRelation('Site', 'Site', RelationMap::ONE_TO_MANY, array('id' => 'category_id', ), null, null, 'Sites'); } // buildRelations() } // CategoryTableMap
Kehet/KReader
build/classes/kreader/map/CategoryTableMap.php
PHP
mit
1,560
#BEGIN_HEADER # # Copyright (C) 2020 Mahdi Safsafi. # # https://github.com/MahdiSafsafi/opcodesDB # # See licence file 'LICENCE' for use and distribution rights. # #END_HEADER use strict; use warnings; # BNDCL-Check Lower Bound. T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCL_ro ', '']; T['BNDCL REG:r=$BNDr AGEN:r=$agen ', 'ASZ=32 MODE=NO64', 'BNDCL_ro ', '']; T['BNDCL REG:r=$BNDr REG:r=$GPR64m', 'MODE=64 ', 'BNDCL_romx', '']; T['BNDCL REG:r=$BNDr REG:r=$GPR32m', 'MODE=NO64 ', 'BNDCL_romx', '']; # BNDCU/BNDCN-Check Upper Bound. T['BNDCN REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCN_ro ', '']; T['BNDCN REG:r=$BNDr AGEN:r=$agen ', 'ASZ=32 MODE=NO64', 'BNDCN_ro ', '']; T['BNDCN REG:r=$BNDr REG:r=$GPR64m', 'MODE=64 ', 'BNDCN_romx', '']; T['BNDCN REG:r=$BNDr REG:r=$GPR32m', 'MODE=NO64 ', 'BNDCN_romx', '']; T['BNDCU REG:r=$BNDr AGEN:r=$agen ', 'MODE=64 ', 'BNDCU_ro ', '']; T['BNDCU REG:r=$BNDr AGEN:r=$agen ', 'ASZ=32 MODE=NO64', 'BNDCU_ro ', '']; T['BNDCU REG:r=$BNDr REG:r=$GPR64m', 'MODE=64 ', 'BNDCU_romx', '']; T['BNDCU REG:r=$BNDr REG:r=$GPR32m', 'MODE=NO64 ', 'BNDCU_romx', '']; # BNDLDX-Load Extended Bounds Using Address Translation. T['BNDLDX REG:w=$BNDr MIB:r:u64=$mib192', 'MODE=64 ', 'BNDLDX', '']; T['BNDLDX REG:w=$BNDr MIB:r:u32=$mib96 ', 'ASZ=32 MODE=NO64', 'BNDLDX', '']; # BNDMK-Make Bounds. T['BNDMK REG:w=$BNDr AGEN:r=$agen', 'MODE=64 ', 'BNDMK', '']; T['BNDMK REG:w=$BNDr AGEN:r=$agen', 'ASZ=32 MODE=NO64', 'BNDMK', '']; # BNDMOV-Move Bounds. T['BNDMOV REG:w=$BNDm REG:r=$BNDr ', 'MOD=REG ', 'BNDMOV_mxro', '']; T['BNDMOV MEM:w:u64=$mem128 REG:r=$BNDr ', 'MOD=MEM MODE=64 ', 'BNDMOV_mxro', '']; T['BNDMOV MEM:w:u32=$mem64 REG:r=$BNDr ', 'ASZ=32 MOD=MEM MODE=NO64', 'BNDMOV_mxro', '']; T['BNDMOV REG:w=$BNDr REG:r=$BNDm ', 'MOD=REG ', 'BNDMOV_romx', '']; T['BNDMOV REG:w=$BNDr MEM:r:u64=$mem128', 'MOD=MEM MODE=64 ', 'BNDMOV_romx', '']; T['BNDMOV REG:w=$BNDr MEM:r:u32=$mem64 ', 'ASZ=32 MOD=MEM MODE=NO64', 'BNDMOV_romx', '']; # BNDSTX-Store Extended Bounds Using Address Translation. T['BNDSTX MIB:w:u64=$mib192 REG:r=$BNDr', 'MODE=64 ', 'BNDSTX', '']; T['BNDSTX MIB:w:u32=$mib96 REG:r=$BNDr', 'ASZ=32 MODE=NO64', 'BNDSTX', '']; # CLAC-Clear AC Flag in EFLAGS Register. T['CLAC', 'NONE', 'CLAC', '']; # CLDEMOTE-Cache Line Demote. T['CLDEMOTE MEM:r:u8=$mem8', 'NONE', 'CLDEMOTE', '']; # CLFLUSH-Flush Cache Line. T['CLFLUSH MEM:r:s64=$mem512', 'NONE', 'CLFLUSH', '']; # CLFLUSHOPT-Flush Cache Line Optimized. T['CLFLUSHOPT MEM:r:s64=$mem512', 'NONE', 'CLFLUSHOPT', '']; # CLRSSBSY-Clear Busy Flag in a Supervisor Shadow Stack Token. T['CLRSSBSY MEM:rw:u64=$mem64', 'NONE', 'CLRSSBSY', '']; # CLWB-Cache Line Write Back. T['CLWB MEM:r:s64=$mem512', 'NONE', 'CLWB', '']; # ENCLS. T['ENCLS REG:SUPP:r=EAX REG:SUPP:crw=RBX REG:SUPP:crw=RCX REG:SUPP:crw=RDX', 'MODE=64 ', 'ENCLS', '']; T['ENCLS REG:SUPP:r=EAX REG:SUPP:crw=EBX REG:SUPP:crw=ECX REG:SUPP:crw=EDX', 'MODE=NO64', 'ENCLS', '']; # ENCLU. T['ENCLU REG:SUPP:r=EAX REG:SUPP:crw=RBX REG:SUPP:crw=RCX REG:SUPP:crw=RDX', 'MODE=64 ', 'ENCLU', '']; T['ENCLU REG:SUPP:r=EAX REG:SUPP:crw=EBX REG:SUPP:crw=ECX REG:SUPP:crw=EDX', 'MODE=NO64', 'ENCLU', '']; # ENCLV. T['ENCLV REG:SUPP:r:u32=EAX REG:SUPP:crw:u64=RBX REG:SUPP:crw:u64=RCX REG:SUPP:crw:u64=RDX', 'MODE=64 ', 'ENCLV', '']; T['ENCLV REG:SUPP:r:u32=EAX REG:SUPP:crw:u64=EBX REG:SUPP:crw:u64=ECX REG:SUPP:crw:u64=EDX', 'MODE=NO64', 'ENCLV', '']; # ENDBR32-Terminate an Indirect Branch in 32-bit and Compatibility Mode. T['ENDBR32', 'NONE', 'ENDBR32', '']; # ENDBR64-Terminate an Indirect Branch in 64-bit Mode. T['ENDBR64', 'NONE', 'ENDBR64', '']; # ENQCMD. T['ENQCMD REG:r=$GPRar MEM:r:u32=$mem512', 'NONE', 'ENQCMD', '']; # ENQCMDS. T['ENQCMDS REG:r=$GPRar MEM:r:u32=$mem512', 'NONE', 'ENQCMDS', '']; # GETSEC. T['GETSEC REG:SUPP:rcw=EAX REG:SUPP:r=EBX', 'NONE', 'GETSEC', '']; # INCSSPD/INCSSPQ-Increment Shadow Stack Pointer. T['INCSSPD REG:r:u8=$GPR32m', 'W=0', 'INCSSPx', '']; T['INCSSPQ REG:r:u8=$GPR64m', 'W=1', 'INCSSPx', '']; # INVEPT-Invalidate Translations Derived from EPT. T['INVEPT REG:r=$GPR64r MEM:r:s32=$mem128', 'MODE=64 ', 'INVEPT', '']; T['INVEPT REG:r=$GPR32r MEM:r:s32=$mem128', 'MODE=NO64', 'INVEPT', '']; # INVPCID-Invalidate Process-Context Identifier. T['INVPCID REG:r=$GPR64r MEM:r:s32=$mem128', 'MODE=64 ', 'INVPCID', '']; T['INVPCID REG:r=$GPR32r MEM:r:s32=$mem128', 'MODE=NO64', 'INVPCID', '']; # INVVPID-Invalidate Translations Based on VPID. T['INVVPID REG:r=$GPR64r MEM:r:s32=$mem128', 'MODE=64 ', 'INVVPID', '']; T['INVVPID REG:r=$GPR32r MEM:r:s32=$mem128', 'MODE=NO64', 'INVVPID', '']; # MONITOR-Set Up Monitor Address. T['MONITOR REG:SUPP:r=$AXa REG:SUPP:r=RCX REG:SUPP:r=RDX', 'MODE=64 ', 'MONITOR', '']; T['MONITOR REG:SUPP:r=$AXa REG:SUPP:r=ECX REG:SUPP:r=EDX', 'MODE=NO64', 'MONITOR', '']; # MWAIT-Monitor Wait. T['MWAIT REG:SUPP:r=RAX REG:SUPP:r=RCX', 'MODE=64 ', 'MWAIT', '']; T['MWAIT REG:SUPP:r=EAX REG:SUPP:r=ECX', 'MODE=NO64', 'MWAIT', '']; # PTWRITE-Write Data to a Processor Trace Packet. T['PTWRITE REG:r=$GPRym ', 'MOD=REG', 'PTWRITE', '']; T['PTWRITE MEM:r:sx=$memy', 'MOD=MEM', 'PTWRITE', '']; # RDPID-Read Processor ID. T['RDPID REG:w:u64=$GPR64m', 'MODE=64 ', 'RDPID', '']; T['RDPID REG:w:u32=$GPR32m', 'MODE=NO64', 'RDPID', '']; # RDPKRU-Read Protection Key Rights for User Pages. T['RDPKRU REG:SUPP:r=PKRU REG:SUPP:w=EDX REG:SUPP:w=EAX REG:SUPP:r=ECX', 'NONE', 'RDPKRU', '']; # RDRAND-Read Random Number. T['RDRAND REG:w=$GPRvm', 'NONE', 'RDRAND', '']; # RDSEED-Read Random SEED. T['RDSEED REG:w=$GPRvm', 'NONE', 'RDSEED', '']; # RDSSPD/RDSSPQ-Read Shadow Stack Pointer. T['RDSSPD REG:w:u32=$GPR32m', 'MODE=NO64 W=0', 'RDSSPx', '']; T['RDSSPQ REG:w:u64=$GPR64m', 'MODE=64 W=1 ', 'RDSSPx', '']; # RDTSCP-Read Time-Stamp Counter and Processor ID. T['RDTSCP REG:SUPP:w=EAX REG:SUPP:w=EDX REG:SUPP:w=ECX', 'NONE', 'RDTSCP', '']; # RDFSBASE/RDGSBASE-Read FS/GS Segment Base. T['RDFSBASE REG:w=$GPRym', 'NONE', 'RDFSBASE', '']; T['RDGSBASE REG:w=$GPRym', 'NONE', 'RDGSBASE', '']; # RSTORSSP-Restore Saved Shadow Stack Pointer. T['RSTORSSP MEM:rw:u64=$mem64', 'NONE', 'RSTORSSP', '']; # SAVEPREVSSP-Save Previous Shadow Stack Pointer. T['SAVEPREVSSP', 'NONE', 'SAVEPREVSSP', '']; # SETSSBSY-Mark Shadow Stack Busy. T['SETSSBSY', 'NONE', 'SETSSBSY', '']; # STAC-Set AC Flag in EFLAGS Register. T['STAC', 'NONE', 'STAC', '']; # TPAUSE-Timed PAUSE. T['TPAUSE REG:r:u32=$GPR32m REG:SUPP:r:u32=EDX REG:SUPP:r:u32=EAX', 'W=0', 'TPAUSE', '']; T['TPAUSE REG:r:u64=$GPR64m REG:SUPP:r:u32=EDX REG:SUPP:r:u32=EAX', 'W=1', 'TPAUSE', '']; # UMONITOR-User Level Set Up Monitor Address. T['UMONITOR REG:r=$GPRam', 'NONE', 'UMONITOR', '']; # UMWAIT-User Level Monitor Wait. T['UMWAIT REG:r:u32=$GPR32m REG:SUPP:r:u32=EDX REG:SUPP:r:u32=EAX', 'W=0', 'UMWAIT', '']; T['UMWAIT REG:r:u64=$GPR64m REG:SUPP:r:u32=EDX REG:SUPP:r:u32=EAX', 'W=1', 'UMWAIT', '']; # VMCALL-Call to VM Monitor. T['VMCALL', 'NONE', 'VMCALL', '']; # VMCLEAR-Clear Virtual-Machine Control Structure. T['VMCLEAR MEM:r:s64=$mem64', 'NONE', 'VMCLEAR', '']; # VMFUNC-Invoke VM function. T['VMFUNC REG:SUPP:r=EAX', 'NONE', 'VMFUNC', '']; # VMLAUNCH/VMRESUME-Launch/Resume Virtual Machine. T['VMLAUNCH', 'NONE', 'VMLAUNCH', '']; T['VMRESUME', 'NONE', 'VMRESUME', '']; # VMPTRLD-Load Pointer to Virtual-Machine Control Structure. T['VMPTRLD MEM:r:s64=$mem64', 'NONE', 'VMPTRLD', '']; # VMPTRST-Store Pointer to Virtual-Machine Control Structure. T['VMPTRST MEM:w:s64=$mem64', 'NONE', 'VMPTRST', '']; # VMREAD-Read Field from Virtual-Machine Control Structure. T['VMREAD REG:w=$GPR64m REG:r=$GPR64r', 'MOD=REG MODE=64 ', 'VMREAD', '']; T['VMREAD MEM:w:s64=$mem64 REG:r=$GPR64r', 'MOD=MEM MODE=64 ', 'VMREAD', '']; T['VMREAD REG:w=$GPR32m REG:r=$GPR32r', 'MOD=REG MODE=NO64', 'VMREAD', '']; T['VMREAD MEM:w:s32=$mem32 REG:r=$GPR32r', 'MOD=MEM MODE=NO64', 'VMREAD', '']; # VMWRITE-Write Field to Virtual-Machine Control Structure. T['VMWRITE REG:r=$GPR64r REG:r=$GPR64m ', 'MOD=REG MODE=64 ', 'VMWRITE', '']; T['VMWRITE REG:r=$GPR64r MEM:r:s64=$mem64', 'MOD=MEM MODE=64 ', 'VMWRITE', '']; T['VMWRITE REG:r=$GPR32r REG:r=$GPR32m ', 'MOD=REG MODE=NO64', 'VMWRITE', '']; T['VMWRITE REG:r=$GPR32r MEM:r:s32=$mem32', 'MOD=MEM MODE=NO64', 'VMWRITE', '']; # VMXOFF-Leave VMX Operation. T['VMXOFF', 'NONE', 'VMXOFF', '']; # VMXON-Enter VMX Operation. T['VMXON MEM:r:s64=$mem64', 'NONE', 'VMXON', '']; # WRPKRU-Write Data to User Page Key Register. T['WRPKRU REG:SUPP:w=PKRU REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=ECX', 'NONE', 'WRPKRU', '']; # WRSSD/WRSSQ-Write to Shadow Stack. T['WRSSD MEM:w:u32=$mem32 REG:r:u32=$GPR32r', 'W=0', 'WRSSx', '']; T['WRSSQ MEM:w:u64=$mem64 REG:r:u64=$GPR64r', 'W=1', 'WRSSx', '']; # WRUSSD/WRUSSQ-Write to User Shadow Stack. T['WRUSSD MEM:w:u32=$mem32 REG:r:u32=$GPR32r', 'W=0', 'WRUSSx', '']; T['WRUSSQ MEM:w:u64=$mem64 REG:r:u64=$GPR64r', 'W=1', 'WRUSSx', '']; # WRFSBASE/WRGSBASE-Write FS/GS Segment Base. T['WRFSBASE REG:r=$GPRym', 'NONE', 'WRFSBASE', '']; T['WRGSBASE REG:r=$GPRym', 'NONE', 'WRGSBASE', '']; # XABORT-Transactional Abort. T['XABORT IMM:u8=$uimm8 REG:SUPP:rcw=EAX', 'NONE', 'XABORT', '']; # XBEGIN-Transactional Begin. T['XBEGIN REL:sx=$relz REG:SUPP:rw=$IPa REG:SUPP:cw=EAX', 'NONE', 'XBEGIN', '']; # XEND-Transactional End. T['XEND', 'NONE', 'XEND', '']; # XGETBV-Get Value of Extended Control Register. T['XGETBV REG:SUPP:r=ECX REG:SUPP:w=EDX REG:SUPP:w=EAX REG:SUPP:r=XCR0', 'NONE', 'XGETBV', '']; # XRSTOR-Restore Processor Extended States. T['XRSTOR MEM:r=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=0', 'XRSTOR', '']; T['XRSTOR64 MEM:r=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=1', 'XRSTOR', '']; # XRSTORS-Restore Processor Extended States Supervisor. T['XRSTORS MEM:r=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=0', 'XRSTORS', '']; T['XRSTORS64 MEM:r=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=1', 'XRSTORS', '']; # XSAVE-Save Processor Extended States. T['XSAVE MEM:rw=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=0', 'XSAVE', '']; T['XSAVE64 MEM:rw=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=1', 'XSAVE', '']; # XSAVEC-Save Processor Extended States with Compaction. T['XSAVEC MEM:w=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=0', 'XSAVEC', '']; T['XSAVEC64 MEM:w=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=1', 'XSAVEC', '']; # XSAVEOPT-Save Processor Extended States Optimized. T['XSAVEOPT MEM:rw=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=0', 'XSAVEOPT', '']; T['XSAVEOPT64 MEM:rw=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'W=1', 'XSAVEOPT', '']; # XSAVES-Save Processor Extended States Supervisor. T['XSAVES MEM:w=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'NONE', 'XSAVES ', '']; T['XSAVES64 MEM:w=$mem4608 REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:r=XCR0', 'NONE', 'XSAVES64', '']; # XSETBV-Set Extended Control Register. T['XSETBV REG:SUPP:r=ECX REG:SUPP:r=EDX REG:SUPP:r=EAX REG:SUPP:w=XCR0', 'NONE', 'XSETBV', '']; # XTEST-Test If In Transactional Execution. T['XTEST', 'NONE', 'XTEST', ''];
MahdiSafsafi/opcodesDB
db/x86/system/templates.pl
Perl
mit
11,362
#!usr/bin/perl; use strict; my $blastFile = $ARGV[0]; open (BFILE,$blastFile); open (ANIT,">blastANIT"); open (ANIS,">blastANIS"); open (ANIU,">blastANIU"); my $counter=0; while (my $line=<BFILE>){ #print $line; if ($line =~ m/(ANIS)/){ print ANIS $line; } elsif ($line =~ m/(ANIT)/){ print ANIT $line; } elsif ($line =~ m/(ANIU)/){ print ANIU $line; } else{ $counter++; } } print "counter=$counter\n";
sanjuroj/bioscripts
probation/splitBlast.pl
Perl
mit
426
require "spec_helper" describe ZMQP1 do it "is awesome" do ZMQP1::Awesome.new.describe.should be_awesome end end
skippy/zmq_p1
spec/awesome_spec.rb
Ruby
mit
122
namespace TheDmi.CouchDesignDocuments { public interface IShowsSection { } }
thedmi/CouchDesignDocuments
Sources/CouchDesignDocuments/IShowsSection.cs
C#
mit
91
//# sourceMappingURL=WeatherData.js.map
MatthewNichols/WeatherDemo
Scripts/WeatherApp/Model/WeatherData.js
JavaScript
mit
43
--- layout: page title: Architektur permalink: "architecture/de/overview/" language: de --- ## Übersicht Eine OneConnexx Installation besteht typischerweise aus den folgenden Komponenten: ![x]({{ site.baseurl }}/assets/content-images/architecture/de/overview.png "Übersicht") Die Datenbank, Alerting-Service und Mail-Server sind dabei optional, aber notwendig wenn die Features «Alarmierung» und «Überwachung» verwendet werden sollen. In einem Szenario mit mehreren OneConnexx Instanzen, müssen Datenbank, IIS, Alerting-Service und Mail-Server nur einmal vorhanden sein. ## OneConnexx-Service ![x]({{ site.baseurl }}/assets/content-images/architecture/de/oneconnexxservice.png "OneConnexx-Service") Das Herz des OneConnexx ist der OneConnexx-Service. Dieser wird als eigenständiger Windows-Dienst installiert. Der OneConnexx-Service liest beim Aufstarten die Konfiguration aus einer Konfigurationsdatei und instanziiert die konfigurierten Add-In Instanzen. Die Ausführung des Services und der Add-In Instanzen werden in einer Logdatei protokolliert. Als Logging Framework wird nLog eingesetzt. Einzelne Add-Ins protokollieren das Resultat ihrer Ausführung mit einem Eintrag in der Datenbank. Dazu muss für den OneConnexx-Service ein Connection-String konfiguriert sein, und die entsprechende Add-In Instanz muss einer logischen «Schnittstelle» zugeordnet sein. #### Konfiguration Welche Add-Ins verwendet werden und wie diese konfiguriert sind, wird aus einer Konfigurationsdatei (normalerweise Config\oneconnexx.config) gelesen. Die Konfiguration erfolgt über einer Web-Applikation im Browser. Geänderte Einstellungen werden über eine .NET Remoting Schnittstelle an den OneConnexx-Service übertragen und von diesem in die Konfigurationsdatei geschrieben. #### Add-In Typen OneConnexx unterscheidet zwischen folgenden 2 Typen von Add-Ins: ![x]({{ site.baseurl }}/assets/content-images/architecture/de/eventaddin.png "Ereignis Add-In") Instanzen von **Ereignis Add-Ins** werden beim Start des OneConnexx-Services gestartet und sind so lange aktiv wie der Service läuft. Sie können Ereignisse auslösen die dann wiederum andere Add-Ins starten. Ein typisches Beispiel für ein Ereignis Add-In ist ein Web-Service, der beim Start einen Socket öffnet, auf die Verbindung eines Clients wartet, und ein Ereignis auslöst sobald eine Client-Anfrage erhalten wurde. ![x]({{ site.baseurl }}/assets/content-images/architecture/de/logicaddin.png "Logik Add-In") Instanzen von **Logik Add-Ins** werden durch ein Ereignis aktiviert, erledigen eine bestimmte Aufgabe und sind danach wieder inaktiv. Ein Beispiel für ein Logik Add-In ist das FileCopy Add-In, welches eine Datei von A nach B kopiert. #### Add-In Framework Add-Ins werden mithilfe des Microsoft Managed Extensibility Framework instanziert. Alle verfügbaren Add-Ins werden aus dem «AddIn» Verzeichnis gelesen und in das «Shadow» Verzeichnis kopiert. Das «Shadow» Verzeichnis ist nur sichtbar wenn im Windows-Explorer die Option zur anzeige von versteckten Dateien aktiviert ist. Der OneConnexx-Service lädt die konfigurierten Add-In DLLs aus dem «Shadow» Verzeichnis und überwacht das «AddIn» Verzeichnis auf Änderungen. Durch diesen Mechanismus ist es möglich einzelne Add-Ins im laufenden Betrieb zu aktualisieren: * Eine neue DLL wird in das «AddIn» Verzeichnis kopiert. * Der OneConnexx-Service erkennt die geänderte Datei. * Bei Ereignis Add-Ins werden alle laufenden Instanzen des entsprechenden Add-Ins gestoppt. * Bei Logik Add-Ins wird gewartet bis alle aktiven Instanzen ihre Ausführung abgeschlossen haben. Die Abarbeitung von Ereignissen wird unterbrochen, so dass keine neuen Instanzen mehr gestartet werden. * Die geänderten Dateien aus dem «AddIn» Verzeichnis werden ins «Shadow» Verzeichnis kopiert. * Die zuvor beendeten Instanzen des aktualisierten Logik Add-Ins werden wieder gestartet. #### Add-In Kommunikation Add-Ins kommunizieren untereinander über Ereignisse. Jede Add-In Instanz kann ein Ereignis auslösen. Ein Ereignis ist normalerweise durch den Namen der auslösenden Instanz und optional durch einen Ereignistyp definiert. Ein "FileCopy" Add-In beispielsweise löst für jede kopierte Datei ein Ereignis vom Typ "Output" aus, das den Namen der kopierten Datei enthält. Nachdem alle Dateien kopiert wurden, wird ausserdem ein Ereignis "Done" ausgelöst. Heisst die Instanz beispielsweise "FileCopy_Demo", dann heissen die ausgelösten Ereignisse wie folgt: ``` FileCopy_Demo.Output FileCopy_Demo.Done ``` Instanzen von Logik Add-Ins können dieses Ereignis abonnieren und werden aktiviert, sobald das Ereignis ausgelöst wird. Treten mehrere Ereignisse auf die eine Add-In Instanz aboniert hat, werden diese der Reihe nach abgearbeitet. Jede Add-In Instanz hat eine eigene Queue für Ereignisse. Eine parallele Verarbeitung gibt es nur zwischen unterschiedlichen Instanzen. ![x]({{ site.baseurl }}/assets/content-images/architecture/de/eventqueue.png "Ereignis-Queue") ## Web-Administration ![x]({{ site.baseurl }}/assets/content-images/architecture/de/webapplication.png "Web-Applikation") Die Administration und Konfiguration des OneConnexx-Services erfolgt über eine .NET MVC Web-Applikation. Die Web-Applikation wird in Microsoft IIS gehostet und verwendet «Windows Authentication» für die Berechtigungsprüfung. Mehreren Instanzen des OneConnexx-Services können durch eine Instanz der Web-Applikation administriert werden. Die Kommunikation mit den Service-Instanzen erfolgt dabei über .NET Remoting. Änderungen an der Add-In Konfiguration werden in der Web-Applikation gesammelt und müssen explizit gespeichert werden. Dadurch werden alle Änderungen an den OneConnexx-Service übermittelt und dieser speichert aktualisiert die Konfigurationsdatei. Die Konfiguration der Überwachungs- und Alarmierung-Regeln sind in der Datenbank gespeichert. Die Web-Applikation greift dazu direkt auf die Datenbank zu. Für die Echtzeitansicht und Auswertung der Logdateien greift die Web-Applikation direkt auf die Logdateien der entsprechenden OneConnexx-Instanz zu. Das funktioniert nur, wenn die Web-Applikation auf demselben Server installiert ist wie der OneConnexx-Service. ## Datenbank ![x]({{ site.baseurl }}/assets/content-images/architecture/de/db.png "Datenbank") Als Datenbank kommt Microsoft SQL Server (beliebige Ausgabe) zum Einsatz. Eine Datenbank Instanz kann, muss aber nicht, von mehreren OneConnexx Instanzen verwendet werden. Eine Datenbank wird nur für die Features «Überwachung» und «Alarmierung» benötigt und kann auch wegfallen wenn diese Features nicht verwendet werden. Alle Datenzugriffe erfolgen mittels EntityFramework und über gespeicherter Prozeduren. #### Schema ![x]({{ site.baseurl }}/assets/content-images/architecture/de/dbschema.png "Datenbankschema") Tabelle **Alert**: Enthält die in der Web-Administration unter «Alarmierung» konfigurierten E-Mails. Tabelle **Rule**: Enthält die in der Web-Administration unter «Überwachung/Regeln» konfigurierten Regeln. Tabelle **MailQueue**: Muss ein Alarmierung-E-Mail versendet werden, wird ein Eintrag in dieser Tabelle erstellt. Sobald das E-Mail versandt wurde wird der Eintrag gelöscht. Tabelle **Interface**: Enthält die in der Web-Administration unter «Überwachung/Schnittstellen» konfigurierten Schnittstellen. Tabelle **Instance**: Enthält einen Eintrag für jede konfigurierte Add-In Instanz. Tabelle **Transaction**: Jedes Add-In schreibt bei seiner Ausführung einen Eintrag in diese Tabelle, vorausgesetzt es ist einer Schnittstelle zugeordnet. Tabelle **TransactionCache**: Enthält die letzte Transaktion pro Schnittstelle und Endpunkt. Diese Tabelle entspricht der Ansicht Überwachung/Übersicht in der Web-Administration. ## Alerting-Service ![x]({{ site.baseurl }}/assets/content-images/architecture/de/alertingservice.png "Alerting-Service") Der Alerting-Service ist optional und wird nur für die Features «Überwachung» und «Alarmierung» benötigt. Der Alerting-Service kann mehrere Instanzen des OneConnexx-Services überwachen und ist für die folgenden 2 Aufgaben zuständig: * Prüfen aller in der Datenbank hinterlegten Regeln. Dazu werden die ebenfalls in der Datenbank abgespeicherten Transaktionen ausgewertet. Wird eine Regelverletzung erkannt, wird ein Eintrag in der Mail-Queue erstellt. * Versenden der E-Mails in der Mail-Queue. Hinweis: Einträge in der Mail-Queue können auch direkt von Add-Ins erstellt werden, wenn bei deren Ausführung ein Fehler auftritt. ## Mail-Server ![x]({{ site.baseurl }}/assets/content-images/architecture/de/mailserver.png "Mail-Server") Für das Versenden von Alarmierungen muss ein Mail-Server bereitgestellt werden. Der Mail-Server ist nicht Teil der OneConnexx Installation sondern muss in Ihrer Organisation bereits vorhanden sein. Die Kommunikation mit dem Mail-Server erfolgt über das SMTP Protokoll.
Sevitec/oneconnexx-docs
_pages/architecture/de/overview.md
Markdown
mit
9,123
--- layout: post title: suruba amadora titleinfo: pornvd desc: Watch suruba amadora. Pornhub is the ultimate xxx porn and sex site. --- <iframe src="http://www.pornhub.com/embed/ph56eacb34eae47" frameborder="0" width="630" height="338" scrolling="no"></iframe> <h2>suruba amadora</h2> <h3>Watch suruba amadora. Pornhub is the ultimate xxx porn and sex site.</h3>
pornvd/pornvd.github.io
_posts/2016-03-26-suruba-amadora.md
Markdown
mit
380
<?php /* Safe sample input : get the field userData from the variable $_GET via an object sanitize : use of floatval construction : interpretation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and its documentation for any purpose, provided that the above copyright notice and the following three paragraphs appear in all copies of this software. IN NO EVENT SHALL AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THE SOFTWARE IS PROVIDED ON AN "AS-IS" BASIS AND AUTHORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.*/ class Input{ private $input; public function getInput(){ return $this->input; } public function __construct(){ $this->input = $_GET['UserData'] ; } } $temp = new Input(); $tainted = $temp->getInput(); $tainted = floatval($tainted); $query = "$temp = ' $tainted ';"; $res = eval($query); ?>
stivalet/PHP-Vulnerability-test-suite
Injection/CWE_95/safe/CWE_95__object-classicGet__func_floatval__variable-interpretation_simple_quote.php
PHP
mit
1,394
# Royal Geni : A React Starter Kit ## Installation ```bash npm install ``` ## Running Dev Server ```bash npm run dev ``` The first time it may take a little while to generate the first `webpack-assets.json` and complain with a few dozen `[webpack-isomorphic-tools] (waiting for the first Webpack build to finish)` printouts, but be patient. Give it 30 seconds. ### Using Redux DevTools [Redux Devtools](https://github.com/gaearon/redux-devtools) are enabled by default in development. - <kbd>CTRL</kbd>+<kbd>H</kbd> Toggle DevTools Dock - <kbd>CTRL</kbd>+<kbd>Q</kbd> Move DevTools Dock Position - see [redux-devtools-dock-monitor](https://github.com/gaearon/redux-devtools-dock-monitor) for more detailed information. If you have the [Redux DevTools chrome extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd) installed it will automatically be used on the client-side instead. If you want to disable the dev tools during development, set `__DEVTOOLS__` to `false` in `/webpack/dev.config.js`. DevTools are not enabled during production. ## Building and Running Production Server ```bash npm run build npm run start ``` ## Documentation * [Exploring the Demo App](docs/ExploringTheDemoApp/ExploringTheDemoApp.md) is a guide that can be used before you install the kit. * [Installing the Kit](docs/InstallingTheKit/InstallingTheKit.md) guides you through installation and running the development server locally. * [Adding Text to the Home Page](docs/AddingToHomePage/AddingToHomePage.md) guides you through adding "Hello, World!" to the home page. * [React Tutorial - Converting Reflux to Redux](http://engineering.wework.com/process/2015/10/01/react-reflux-to-redux/), by Matt Star If you are the kind of person that learns best by following along a tutorial, I can recommend Matt Star's overview and examples. ## Explanation What initially gets run is `bin/server.js`, which does little more than enable ES6 and ES7 awesomeness in the server-side node code. It then initiates `server.js`. In `server.js` we proxy any requests to `/api/*` to the [API server](#api-server), running at `localhost:3030`. All the data fetching calls from the client go to `/api/*`. Aside from serving the favicon and static content from `/static`, the only thing `server.js` does is initiate delegate rendering to `react-router`. At the bottom of `server.js`, we listen to port `3000` and initiate the API server. #### Routing and HTML return The primary section of `server.js` generates an HTML page with the contents returned by `react-router`. First we instantiate an `ApiClient`, a facade that both server and client code use to talk to the API server. On the server side, `ApiClient` is given the request object so that it can pass along the session cookie to the API server to maintain session state. We pass this API client facade to the `redux` middleware so that the action creators have access to it. Then we perform [server-side data fetching](#server-side-data-fetching), wait for the data to be loaded, and render the page with the now-fully-loaded `redux` state. The last interesting bit of the main routing section of `server.js` is that we swap in the hashed script and css from the `webpack-assets.json` that the Webpack Dev Server – or the Webpack build process on production – has spit out on its last run. You won't have to deal with `webpack-assets.json` manually because [webpack-isomorphic-tools](https://github.com/halt-hammerzeit/webpack-isomorphic-tools) take care of that. We also spit out the `redux` state into a global `window.__data` variable in the webpage to be loaded by the client-side `redux` code. #### Server-side Data Fetching We ask `react-router` for a list of all the routes that match the current request and we check to see if any of the matched routes has a static `fetchData()` function. If it does, we pass the redux dispatcher to it and collect the promises returned. Those promises will be resolved when each matching route has loaded its necessary data from the API server. #### Client Side The client side entry point is reasonably named `client.js`. All it does is load the routes, initiate `react-router`, rehydrate the redux state from the `window.__data` passed in from the server, and render the page over top of the server-rendered DOM. This makes React enable all its event listeners without having to re-render the DOM. #### Redux Middleware The middleware, [`clientMiddleware.js`](https://github.com/erikras/react-redux-universal-hot-example/blob/master/src/redux/middleware/clientMiddleware.js), serves two functions: 1. To allow the action creators access to the client API facade. Remember this is the same on both the client and the server, and cannot simply be `import`ed because it holds the cookie needed to maintain session on server-to-server requests. 2. To allow some actions to pass a "promise generator", a function that takes the API client and returns a promise. Such actions require three action types, the `REQUEST` action that initiates the data loading, and a `SUCCESS` and `FAILURE` action that will be fired depending on the result of the promise. There are other ways to accomplish this, some discussed [here](https://github.com/rackt/redux/issues/99), which you may prefer, but to the author of this example, the middleware way feels cleanest. #### Redux Modules... *What the Duck*? The `src/redux/modules` folder contains "modules" to help isolate concerns within a Redux application (aka [Ducks](https://github.com/erikras/ducks-modular-redux), a Redux Style Proposal that I came up with). I encourage you to read the [Ducks Docs](https://github.com/erikras/ducks-modular-redux) and provide feedback. #### API Server This is where the meat of your server-side application goes. It doesn't have to be implemented in Node or Express at all. This is where you connect to your database and provide authentication and session management. In this example, it's just spitting out some json with the current time stamp. #### Getting data and actions into components To understand how the data and action bindings get into the components – there's only one, `InfoBar`, in this example – I'm going to refer to you to the [Redux](https://github.com/gaearon/redux) library. The only innovation I've made is to package the component and its wrapper in the same js file. This is to encapsulate the fact that the component is bound to the `redux` actions and state. The component using `InfoBar` needn't know or care if `InfoBar` uses the `redux` data or not. #### Images Now it's possible to render the image both on client and server. Please refer to issue [#39](https://github.com/erikras/react-redux-universal-hot-example/issues/39) for more detail discussion, the usage would be like below (super easy): ```javascript let logoImage = require('./logo.png'); ``` #### Styles This project uses [local styles](https://medium.com/seek-ui-engineering/the-end-of-global-css-90d2a4a06284) using [css-loader](https://github.com/webpack/css-loader). The way it works is that you import your stylesheet at the top of the `render()` function in your React Component, and then you use the classnames returned from that import. Like so: ```javascript render() { const styles = require('./App.scss'); ... ``` Then you set the `className` of your element to match one of the CSS classes in your SCSS file, and you're good to go! ```jsx <div className={styles.mySection}> ... </div> ``` #### Alternative to Local Styles If you'd like to use plain inline styles this is possible with a few modifications to your webpack configuration. **1. Configure Isomorphic Tools to Accept CSS** In `webpack-isomorphic-tools.js` add **css** to the list of style module extensions ```javascript style_modules: { extensions: ['less','scss','css'], ``` **2. Add a CSS loader to webpack dev config** In `dev.config.js` modify **module loaders** to include a test and loader for css ```javascript module: { loaders: [ { test: /\.css$/, loader: 'style-loader!css-loader'}, ``` **3. Add a CSS loader to the webpack prod config** You must use the **ExtractTextPlugin** in this loader. In `prod.config.js` modify **module loaders** to include a test and loader for css ```javascript module: { loaders: [ { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader')}, ``` **Now you may simply omit assigning the `required` stylesheet to a variable and keep it at the top of your `render()` function.** ```javascript render() { require('./App.css'); require('aModule/dist/style.css'); ... ``` **NOTE** In order to use this method with **scss or less** files one more modification must be made. In both `dev.config.js` and `prod.config.js` in the loaders for less and scss files remove 1. `modules` 2. `localIdentName...` Before: ```javascript { test: /\.less$/, loader: 'style!css?modules&importLoaders=2&sourceMap&localIdentName=[local]___[hash:base64:5]!autoprefixer?browsers=last 2 version!less?outputStyle=expanded&sourceMap' }, ``` After: ```javascript { test: /\.less$/, loader: 'style!css?importLoaders=2&sourceMap!autoprefixer?browsers=last 2 version!less?outputStyle=expanded&sourceMap' }, ``` After this modification to both loaders you will be able to use scss and less files in the same way as css files. #### Unit Tests The project uses [Mocha](https://mochajs.org/) to run your unit tests, it uses [Karma](http://karma-runner.github.io/0.13/index.html) as the test runner, it enables the feature that you are able to render your tests to the browser (e.g: Firefox, Chrome etc.), which means you are able to use the [Test Utilities](http://facebook.github.io/react/docs/test-utils.html) from Facebook api like `renderIntoDocument()`. To run the tests in the project, just simply run `npm test` if you have `Chrome` installed, it will be automatically launched as a test service for you. To keep watching your test suites that you are working on, just set `singleRun: false` in the `karma.conf.js` file. Please be sure set it to `true` if you are running `npm test` on a continuous integration server (travis-ci, etc). ## Deployment on Heroku To get this project to work on Heroku, you need to: 1. Remove the `"PORT": 8080` line from the `betterScripts` / `start-prod` section of `package.json`. 2. `heroku config:set NODE_ENV=production` 3. `heroku config:set NODE_PATH=./src` 4. `heroku config:set NPM_CONFIG_PRODUCTION=false` * This is to enable webpack to run the build on deploy. The first deploy might take a while, but after that your `node_modules` dir should be cached. ## FAQ This project moves fast and has an active community, so if you have a question that is not answered below please visit our [Discord channel](https://discord.gg/0ZcbPKXt5bZZb1Ko) or file an issue. ## Roadmap Although this isn't a library, we recently started versioning to make it easier to track breaking changes and emerging best practices. * [Babel 6](https://github.com/babel/babel) - Coming soon with v1 (see [#488](https://github.com/erikras/react-redux-universal-hot-example/issues/488)) * [Inline Styles](docs/InlineStyles.md) - CSS is dead ## Contributing I am more than happy to accept external contributions to the project in the form of feedback, bug reports and even better - pull requests :) If you would like to submit a pull request, please make an effort to follow the guide in [CONTRIBUTING.md](CONTRIBUTING.md). --- Thanks for checking this out. – Erik Rasmussen, [@erikras](https://twitter.com/erikras)
sanyamagrawal/royalgeni
README.md
Markdown
mit
11,634
/* * The MIT License (MIT) * * Copyright (c) 2016 MrInformatic. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package game.saver.remote.gamemaps; import game.saver.GameData; import game.saver.Quarry; import game.saver.gamemaps.GameDoubleMap; import game.saver.gamemaps.GameFloatMap; import game.saver.remote.RemoteClassMap; import game.saver.remote.Remoteable; import java.util.LinkedList; import java.util.Map; /** * * @author MrInformatic */ public class RemoteGameDoubleMap<T extends GameData> extends GameDoubleMap<T> implements Remoteable{ private int id; private Quarry quarry; private RemoteClassMap remoteClassMap; public RemoteGameDoubleMap(Quarry quarry,RemoteClassMap remoteClassMap){ this.quarry = quarry; this.remoteClassMap = remoteClassMap; } @Override public T put(Double key, T value) { LinkedList<GameData> gameDatas = getUnaddedGameData(value); T type = super.put(key,value); sendPut(key, value, gameDatas); return type; } @Override public T remove(Object key) { quarry.writeByte((byte)1); quarry.writeDouble((Double)key); return super.remove(key); } @Override public void putAll(Map<? extends Double, ? extends T> m) { LinkedList<GameData>[] gameDatases = new LinkedList[m.size()]; int i=0; for(T ms : m.values()){ gameDatases[i] = getUnaddedGameData(ms); i++; } super.putAll(m); i=0; for(Map.Entry<? extends Double, ? extends T> ms : m.entrySet()){ sendPut(ms.getKey(),ms.getValue(),gameDatases[i]); i++; } } @Override public void clear() { quarry.writeByte((byte)2); super.clear(); } private void sendPut(Double key,T value,LinkedList<GameData> unaddedGameData){ for(GameData gameData : unaddedGameData){ remoteClassMap.addClass(gameData.getClass()); } quarry.writeInt(id); quarry.writeByte((byte)0); quarry.writeDouble(key); quarry.writeInt(unaddedGameData.size()); for(GameData gameData : unaddedGameData){ quarry.writeInt(gameData.getId()); quarry.writeInt(remoteClassMap.getClassId(gameData.getClass())); quarry.write(gameData); } for(GameData gameData : unaddedGameData){ gameData.writeChilds(quarry); } quarry.writeInt(-1); } private LinkedList<GameData> getUnaddedGameData(GameData gameData){ LinkedList<GameData> result = new LinkedList<>(); getUnaddedGameData(result,gameData); return result; } private LinkedList<GameData> getUnaddedGameData(LinkedList<GameData> list,GameData gameData){ if(gameData.getId()==-1){ list.add(gameData); } for(GameData gameData1 : gameData.getChilds()){ getUnaddedGameData(list,gameData1); } return list; } @Override public void update() { try { switch(quarry.readByte()){ case 0: double key = quarry.readDouble(); LinkedList<GameData> gameDatas = new LinkedList<>(); int length = quarry.readInt(); for(int i=0;i<length;i++){ int id = quarry.readInt(); T value = (T)quarry.read(remoteClassMap.getClassbyId(quarry.readInt())); gameDatas.add(value); graph.set(id,value); } for(GameData gameData : gameDatas){ gameData.readChilds(quarry,graph); } break; case 1: remove(quarry.readDouble()); break; case 2: clear(); break; } } catch (Exception ex) { ex.printStackTrace(); } } public void setId(int id){ this.id = id; } }
MrInformatic/GameSaver
src/main/java/game/saver/remote/gamemaps/RemoteGameDoubleMap.java
Java
mit
5,186
function commentPage() { // Open popup $("#comment-popup").dialog({ width : 800, height : 400, modal : true, appendTo: "#mainForm", open : function(event, ui) { $('input[id$="comment-comment"]').focus(); }, close : function(event, ui) { cancelComment(); } }); } /** * Clean comment form */ function cancelComment() { $('textarea[id$="comment-comment"]').val(''); } function saveComment(event) { if (event.status == 'complete') { cancelComment(); $('#comment-popup').dialog('close'); } }
Micht69/shoplist
WebContent/static/scripts/comment.js
JavaScript
mit
556
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; using TwitterAPI; using System.Net; using Core; using System.Security.Cryptography; using System.IO; namespace TwitterAPI { [DataContract] public class TwitterDirectMessage { /// <summary> /// ダイレクトメッセージのID /// </summary> [DataMember(Name = "id")] public decimal Id { get; set; } [DataMember(Name = "created_at")] private string created_at { get; set; } public DateTime CreateDate { get { return DateTime.ParseExact(created_at, "ddd MMM dd HH':'mm':'ss zz'00' yyyy", System.Globalization.DateTimeFormatInfo.InvariantInfo, System.Globalization.DateTimeStyles.None); } } /// <summary> /// ダイレクトメッセージのID(文字列) /// </summary> [DataMember(Name = "id_str")] public string StringId { get; set; } /// <summary> /// ダイレクトメッセージの受信者 /// </summary> [DataMember(Name = "recipient")] public TwitterUser Recipient { get; set; } /// <summary> /// ダイレクトメッセージの送信者 /// </summary> [DataMember(Name = "sender")] public TwitterUser Sender { get; set; } /// <summary> /// ダイレクトメッセージの内容 /// </summary> [DataMember(Name = "text")] public string Text { get; set; } [DataMember(Name = "sender_id")] public decimal SenderId { get; set; } [DataMember(Name = "sender_id_str")] public string SenderStringId { get; set; } [DataMember(Name = "sender_screen_name")] public string SenderScreenName { get; set; } [DataMember(Name = "recipient_id")] public decimal RecipientId { get; set; } [DataMember(Name = "recipient_id_str")] public string RecipientStringId { get; set; } [DataMember(Name = "recipient_screen_name")] public string RecipientScreenName { get; set; } [DataMember(Name = "entities")] public TwitterStatus.TweetEntities Entities { get; set; } public static TwitterResponse<TwitterDirectMessageCollection> DirectMessage(OAuthTokens tokens, DirectMessageOptions options) { return new TwitterResponse<TwitterDirectMessageCollection>(Method.Get(UrlBank.DirectMessages, tokens, options)); } public static TwitterResponse<TwitterDirectMessageCollection> DirectMessageSent(OAuthTokens tokens, DirectMessageOptions options) { return new TwitterResponse<TwitterDirectMessageCollection>(Method.Get(UrlBank.DirectMessagesSent, tokens, options)); } public static TwitterResponse<TwitterDirectMessage> Show(OAuthTokens tokens, decimal id) { return new TwitterResponse<TwitterDirectMessage>(Method.Get(string.Format(UrlBank.DirectMessageShow, id), tokens, null)); } public static TwitterResponse<TwitterDirectMessage> Destroy(OAuthTokens tokens, decimal id, bool IncludeEntities = false) { return new TwitterResponse<TwitterDirectMessage>(Method.GenerateResponseResult(Method.GenerateWebRequest(string.Format("{0}?id={1}", UrlBank.DirectMessagesDestroy, id), WebMethod.POST, tokens, null, "application/x-www-form-urlencoded", null, null))); } public static TwitterResponse<TwitterDirectMessage> New(OAuthTokens tokens, string ScreenName, string Text) { string data = string.Format("text={0}&screen_name={1}", Uri.EscapeDataString(Text), Uri.EscapeDataString(ScreenName)); return new TwitterResponse<TwitterDirectMessage>(Method.GenerateResponseResult(Method.GenerateWebRequest("https://api.twitter.com/1.1/direct_messages/new.json?" + data, WebMethod.POST, tokens, null, "application/x-www-form-urlencoded", null, null))); } public static TwitterResponse<TwitterDirectMessage> New(OAuthTokens tokens, decimal UserId, string Text) { string data = string.Format("text={0}&screen_name={1}", Uri.EscapeDataString(Text), UserId); return new TwitterResponse<TwitterDirectMessage>(Method.GenerateResponseResult(Method.GenerateWebRequest("https://api.twitter.com/1.1/direct_messages/new.json?" + data, WebMethod.POST, tokens, null, "application/x-www-form-urlencoded", null, null))); } private class DMDestroyOption : ParameterClass { [Parameters("id", ParameterMethodType.POSTData)] public decimal Id { get; set; } [Parameters("include_entities")] public bool? IncludeEntities { get; set; } } } public class TwitterDirectMessageCollection : List<TwitterDirectMessage> { } }
atst1996/TwitterAPI
TwitterAPI/Method/DirectMessages/DirectMessage.cs
C#
mit
4,411
Elite-Solutions-Computer-Service =============================== Another website I ran at one time, hand-coded. Some scraps from it's predecessor are also buried in the directory. Looking at the predecessor site, one can easily see it was my learning experience using GIMP to slice and dice a website :)
CodeThat/Elite-Solutions-Computer-Service
README.md
Markdown
mit
305
document.addEventListener("DOMContentLoaded", function() { "use_strict"; // Store game in global variable const CASUDOKU = {}; CASUDOKU.game = (function() { // Controls the state of the game // Game UI let uiStats = document.getElementById("gameStats"), uiComplete = document.getElementById("gameComplete"), uiNewGame = document.getElementById("gameNew"), gamePadKeys = document.querySelectorAll("#gameKeypad li a"); // GameKeypad Events for (let i = gamePadKeys.length - 1; i >= 0; i--) { let key = gamePadKeys[i]; key.onclick = function(e) { e.preventDefault(); // Parse keycode value let number = parseInt(e.currentTarget.innerText, 10); if (!number) { CASUDOKU.board.update_cell(0); } else { CASUDOKU.board.update_cell(number); } } } uiNewGame.onclick = function(e) { e.preventDefault(); CASUDOKU.game.start(); } start = function() { CASUDOKU.timer.start(); CASUDOKU.board.new_puzzle(); uiComplete.style.display = "none"; uiStats.style.display = "block"; }; over = function() { CASUDOKU.timer.stop(); uiComplete.style.display = "block"; uiStats.style.display = "none"; }; // Public api return { start: start, over: over }; }()); CASUDOKU.timer = (function() { let timeout, seconds = 0, minutes = 0, secCounter = document.querySelectorAll(".secCounter"), minCounter = document.querySelectorAll(".minCounter"); start = function() { if (seconds === 0 && minutes === 0) { timer(); } else { stop(); seconds = 0; minutes = 0; setText(minCounter, 0); timer(); } }; stop = function() { clearTimeout(timeout); }; setText = function(element, time) { element.forEach(function(val) { val.innerText = time; }); }; timer = function() { timeout = setTimeout(timer, 1000); if (seconds === 59) { setText(minCounter, ++minutes); seconds = 0; } setText(secCounter, seconds++); }; // Public api return { start: start, stop: stop }; }()); CASUDOKU.board = (function() { // Stores the cells that make up the Sudoku board let grid = [], // Canvas settings canvas = document.getElementById("gameCanvas"), context = canvas.getContext("2d"), canvasWidth = canvas.offsetWidth, canvasHeight = canvas.offsetHeight, // Board Settings numRows = 9, numCols = 9, regionWidth = canvasWidth / 3, regionHeight = canvasHeight / 3, // Cell Settings cellWidth = canvasWidth / numCols, cellHeight = canvasHeight / numRows, numCells = numRows * numCols, selectedCellIndex = 0, //Key Codes keycode = { arrowLeft: 37, arrowUp: 38, arrowRight: 39, arrowDown: 40, zero: 48, nine: 57 }; // End let // Keyboard & Mouse Events canvas.addEventListener("click", function (e) { // Calculate position of mouse click and update selected cell let xAxis, yAxis, canvasOffset = getOffset(), cellIndex, resultsX = [], resultsY = []; function getOffset() { return { left: canvas.getBoundingClientRect().left + window.scrollX, top: canvas.getBoundingClientRect().top + window.scrollY }; } if (e.pageX !== undefined && e.pageY !== undefined) { xAxis = e.pageX; yAxis = e.pageY; } else { xAxis = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft; yAxis = e.clientY + document.body.scrollTop + document.documentElement.scrollTop; } xAxis -= canvasOffset.left; yAxis -= canvasOffset.top; xAxis = Math.min(xAxis, canvasWidth); yAxis = Math.min(yAxis, canvasHeight); xAxis = Math.floor(xAxis/cellWidth); yAxis = Math.floor(yAxis/cellHeight); // Matches clicked coordinates to a cell for (let i = 0; i < numCells; i+= 1) { if (grid[i].col === xAxis && grid[i].row === yAxis) { selectedCellIndex = i; refresh_board(); } } }); window.addEventListener("keypress", function (e) { if (e.which >= keycode.zero && e.which <= keycode.nine) { // Subtract 48 to get actual number update_cell(e.which - 48); } }); window.addEventListener("keydown", function (e) { // Arrow Key events for changing the selected cell let pressed = e.which, col = grid[selectedCellIndex].col, row = grid[selectedCellIndex].row; if (pressed >= keycode.arrowLeft && pressed <= keycode.arrowDown) { if (col < (numCols - 1) && pressed == keycode.arrowRight) { selectedCellIndex++; refresh_board(); } if (col > 0 && pressed == keycode.arrowLeft) { selectedCellIndex--; refresh_board(); } if (row < (numRows - 1) && pressed == keycode.arrowDown) { selectedCellIndex += numCols; refresh_board(); } if (row > 0 && pressed == keycode.arrowUp) { selectedCellIndex -= numCols; refresh_board(); } } }); new_puzzle = function() { let workerSudokuSolver = new Worker("js/sudoku-solver.js"), clues = 24, puzzle; workerSudokuSolver.postMessage(clues); workerSudokuSolver.onmessage = function(e) { puzzle = e.data; make_grid(puzzle); }; }; make_grid = function(puzzle) { // Makes a grid array filled with cell instances. Each cell stores // one puzzle value let colCounter = 0, rowCounter = 0; class Cell { constructor() { // set fixed puzzle values this.isDefault = true; this.value = 0; // Store position on the canvas this.x = 0; this.y = 0; this.col = 0; this.row = 0; } }; for (let i = 0; i < puzzle.length; i++) { grid[i] = new Cell(); grid[i].value = puzzle[i]; if (puzzle[i] === 0) { grid[i].isDefault = false; } // Set cell column and row grid[i].col = colCounter; grid[i].row = rowCounter; colCounter++; // change row if ((i + 1) % 9 === 0) { rowCounter++; colCounter = 0; } } refresh_board(); }; refresh_board = function () { let workerSudokuValidator = new Worker("js/sudoku-validator.js"); workerSudokuValidator.postMessage(grid); workerSudokuValidator.onmessage = function(e) { let correct = e.data; if (correct) { CASUDOKU.game.over(); } draw(); }; }; draw = function () { // renders the canvas let regionPosX = 0, regionPosY = 0, cellPosX = 0, cellPosY = 0, textPosX = cellWidth * 0.4, textPosY = cellHeight * 0.65; // board outline context.clearRect(0, 0, canvasWidth, canvasHeight); context.strokeRect(0 , 0, canvasWidth, canvasHeight); context.globalCompositeOperation = "destination-over"; context.lineWidth = 10; // regions for (let x = 0; x < numRows; x++) { context.strokeRect(regionPosX, regionPosY, regionWidth, regionHeight); regionPosX += regionWidth; if (regionPosX == canvasWidth){ regionPosY += regionHeight; regionPosX = 0; } } // Start to draw the Grid context.beginPath(); // vertical lines for (let z = 0; z <= canvasWidth; z += cellWidth) { context.moveTo(0.5 + z, 0); context.lineTo(0.5 + z, canvasWidth); } // horizontal lines for (let y = 0; y <= canvasHeight; y += cellHeight) { context.moveTo(0, 0.5 + y); context.lineTo(canvasHeight, 0.5 + y); } // cell outline context.lineWidth = 2; context.strokeStyle = "black"; context.stroke(); for (let i = 0; i < numCells; i++) { grid[i].x = cellPosX; grid[i].y = cellPosY; // Cell values if (grid[i].isDefault) { context.font = "bold 1.6em Droid Sans, sans-serif"; context.fillStyle = "black"; context.fillText(grid[i].value, textPosX, textPosY); } if (grid[i].value !== 0 && !grid[i].isDefault) { context.font = "1.4em Droid Sans, sans-serif"; context.fillStyle = "grey"; context.fillText(grid[i].value, textPosX, textPosY); } // Cell background colour if (i == selectedCellIndex) { context.fillStyle = "#00B4FF"; } else { context.fillStyle = "#EEEEEE"; } // Cell background context.fillRect(cellPosX, cellPosY, cellWidth, cellHeight); cellPosX += cellWidth; textPosX += cellWidth; // Change row if ((i + 1) % numRows === 0) { cellPosX = 0; cellPosY += cellHeight; textPosY += cellHeight; textPosX = cellWidth * 0.4; } } }; update_cell = function (value) { if (!grid[selectedCellIndex].isDefault) { grid[selectedCellIndex].value = value; refresh_board(); } }; // Public api return { new_puzzle: new_puzzle, update_cell: update_cell }; }()); CASUDOKU.game.start(); });
davidhenry/CaSudoku
js/game.js
JavaScript
mit
8,726
# Asynchronous Example An example showing how to delay rendering for asynchronous events. ## Commands ```sh $ npm install $ npm run dev $ npm run build ``` ## Code ```js // webpack.config.babel.js new HtmlPlugin((assets, defaultTemplate, compiler) => { return new Promise((resolve, reject) => { var templateData = { ...assets, title: 'Asynchronous Example' } setTimeout(resolve, 5 * 1000, { 'index.html': defaultTemplate(templateData) }) }) }) ``` ## License This software is released into the public domain.
urban/webpack-html-plugin
examples/asynchronous/README.md
Markdown
mit
557
package rest import ( restful "github.com/emicklei/go-restful" swagger "github.com/emicklei/go-restful-swagger12" ) // ConfigureSwagger configures the swagger documentation for all endpoints in the container func ConfigureSwagger(apiDocPath string, container *restful.Container) { if apiDocPath == "" { return } config := swagger.Config{ WebServices: container.RegisteredWebServices(), WebServicesUrl: ``, ApiPath: apiDocPath, } swagger.RegisterSwaggerService(config, container) }
spring1843/chat-server
src/shared/rest/swagger.go
GO
mit
508
webpackJsonp([2],{ /***/ 16: /***/ function(module, exports, __webpack_require__) { /// <reference path="../../typings/tsd.d.ts" /> var ListController = __webpack_require__(17); // webpack will load the html. Nifty, eh? __webpack_require__(9); // webpack will load this scss too! __webpack_require__(18); module.exports = angular.module('List', []) .controller('ListController', ['$scope', ListController]); //# sourceMappingURL=index.js.map /***/ }, /***/ 17: /***/ function(module, exports) { var ListController = (function () { function ListController() { this.apps = [ { name: 'Gmail' }, { name: 'Facebook' }, { name: 'Twitter' }, { name: 'LinkedIn' } ]; this.title = 'Applications'; } return ListController; })(); module.exports = ListController; //# sourceMappingURL=list.controller.js.map /***/ }, /***/ 18: /***/ function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(19); if(typeof content === 'string') content = [[module.id, content, '']]; // add the styles to the DOM var update = __webpack_require__(15)(content, {}); if(content.locals) module.exports = content.locals; // Hot Module Replacement if(false) { // When the styles change, update the <style> tags if(!content.locals) { module.hot.accept("!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/autoprefixer-loader/index.js!./../../../../node_modules/sass-loader/index.js!./list.scss", function() { var newContent = require("!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/autoprefixer-loader/index.js!./../../../../node_modules/sass-loader/index.js!./list.scss"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent); }); } // When the module is disposed, remove the <style> tags module.hot.dispose(function() { update(); }); } /***/ }, /***/ 19: /***/ function(module, exports, __webpack_require__) { exports = module.exports = __webpack_require__(14)(); // imports // module exports.push([module.id, ".list-item {\n color: blue; }\n", ""]); // exports /***/ } });
jaganathanb/Typescript-Angular-Gulp-Webpack-Dynamic-module-loading-
dist/2.module.js
JavaScript
mit
2,324
<?php namespace App\Models; use Fwartner\Katching\Cacheable; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Comment extends Model { use Cacheable, SoftDeletes; protected $table = 'comments'; protected $fillable = [ 'content', 'is_spam', 'user_id', 'thread_id' ]; protected $casts = [ 'is_spam' => 'boolean' ]; public function owner() { return $this->belongsTo(User::class, 'user_id'); } public function forum() { return $this->belongsTo(Forum::class, 'forum_id'); } public function thread() { return $this->belongsTo(Thread::class, 'thread_id'); } }
LaravelHamburg/laravel-hamburg.com
app/Models/Comment.php
PHP
mit
729
#**Django-AdminLTE-X** ###**Django AdminLTE Template** AdminLTE Bootstrap Theme packaged for Django **Quick Start** Install the pip package: ``` pip install django_adminlte_x ``` Add `adminlte` to your `INSTALLED_APPS` setting like this: ``` INSTALLED_APPS = ( 'adminlte' ... ) ``` It is almost done. You can check if this is working by adding a template **Adding navigation** ```python from adminlte.templatetags.menu import Menu Menu.add(label, link, icon, id, parent) ``` **Set Model Icon** ```python from adminlte.templatetags.menu import Menu Menu.Menu.set_model_icon('AppName', 'fa fa-plus') ``` **Assets** ``` Assets.js([ 'jquery.min.js' ]) Assets.css([ 'stylesheet':[ 'bootstrap.min.css' ] ]) ```
dnaextrim/django_adminlte_x
README.md
Markdown
mit
727
require File.expand_path('../core_response', __FILE__) module Korwe module TheCore class InitiateSessionResponse < CoreResponse def initialize(session_id, guid, successful) super(session_id, :InitiateSessionResponse, guid, successful) end end end end
korwe/core-client-ruby
lib/messages/initiate_session_response.rb
Ruby
mit
282
djsex.css = { /* * http://stackoverflow.com/questions/524696/how-to-create-a-style-tag-with-javascript */ create: function(stylesheet) { var head = document.getElementsByTagName('head')[0], style = document.createElement('style'), rules = document.createTextNode(stylesheet); style.type = 'text/css'; if(style.styleSheet) style.styleSheet.cssText = rules.nodeValue; else style.appendChild(rules); head.appendChild(style); }, appendClass: function (el, classname) { if(el.className) { var classes = el.className.split(" "); var alreadyclassed = false; classes.forEach(function(thisclassname) { if(classname == thisclassname) alreadyclassed=true; }); if(!alreadyclassed) classes.push(classname); el.className = classes.join(" ") } else { el.className=classname; } }, deleteClass: function (el, classname) { if(el.className) { var classes = el.className.split(" "); for(i=0; i<=classes.length; i++) { if((classes[i]) && (classes[i]==classname)) classes.splice(i,1); } el.className = classes.join(" "); } }, };
WatersideDevelopment/Fullscreen-Ajax-Image-Loader
js/djsex/CSS.js
JavaScript
mit
1,396
<?php namespace Mapbender\ActivityIndicatorBundle\Element; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; /** * */ class ActivityIndicatorAdminType extends AbstractType { /** * @inheritdoc */ public function getName() { return 'activityindicator'; } /** * @inheritdoc */ public function setDefaultOptions(OptionsResolverInterface $resolver) { $resolver->setDefaults(array( 'application' => null )); } /** * @inheritdoc */ public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add('tooltip', 'text', array('required' => false)) ->add('activityClass', 'text', array('required' => false)) ->add('ajaxActivityClass', 'text', array('required' => false)) ->add('tileActivityClass', 'text', array('required' => false)); } }
mapbender/mapbender-activityindicator
src/Mapbender/ActivityIndicatorBundle/Element/ActivityIndicatorAdminType.php
PHP
mit
1,022
--- title: "New package uniftest with initial version 1.0 " kind: article created_at: 2014-12-25 01:13:00 UTC author: CRANberries categories: tags: layout: post --- <strong>Package</strong>: uniftest<br> <strong>Version</strong>: 1.0<br> <strong>Date</strong>: 2014-12-24<br> <strong>Title</strong>: Tests for Uniformity<br> <strong>Author</strong>: Maxim Melnik, Ruslan Pusev<br> <strong>Maintainer</strong>: Ruslan Pusev <[email protected]><br> <strong>Description</strong>: Tests for the hypothesis of uniformity<br> <strong>License</strong>: GPL (>= 3)<br> <strong>Packaged</strong>: 2014-12-24 21:27:38 UTC; Ruslan<br> <strong>NeedsCompilation</strong>: no<br> <strong>Repository</strong>: CRAN<br> <strong>Date/Publication</strong>: 2014-12-25 01:28:18<br> <p> <a href="http://cran.r-project.org/web/packages/uniftest/index.html">More information about uniftest at CRAN</a><div class="author"> <img src="" style="width: 96px; height: 96;"> <span style="position: absolute; padding: 32px 15px;"> <i>Original post by <a href="http://twitter.com/">CRANberries</a> - check out <a href="http://dirk.eddelbuettel.com/cranberries">CRANberries </a></i> </span> </div>
planetr/planetr.github.io
_posts/2014-12-25-new-package-uniftest-with-initial-version-1-0.markdown
Markdown
mit
1,179
/** * The Furnace namespace * * @module furnace * @class Furnace * @static */ import Validation from 'furnace/packages/furnace-validation'; import I18n from 'furnace/packages/furnace-i18n'; import Forms from 'furnace/packages/furnace-forms'; export default { /** * * @property Forms * @type Furnace.Forms */ Forms : Forms, /** * @property I18n * @type Furnace.I18n */ I18n : I18n, /** * @property Validation * @type Furnace.Validation */ Validation: Validation };
ember-furnace/ember-cli-furnace
addon/index.js
JavaScript
mit
503
for f in $@ do echo $f out=`basename $f | sed 's/.fa$//g'` echo blastp -outfmt '6 qseqid sseqid evalue' -num_threads 16 -query $f -db uniprot/uniprot_all.fasta -out "blast/$out.blast" done
Dill-PICL/maize-GAMER
cafa_sw/argot2/run_blast.sh
Shell
mit
192
 #### প্রারম্ভিকা Go আসলে বেশি পরিচিত golang নামেই। এটি ২০০৭ সালে Google -এ ডেভেলপ করা হয়েছিল রবার্ট গ্রিজমার, রব পাইক এবং কেইন থম্পসন এর দ্বারা। ২০০৯ সালের দিকে এই ল্যাঙ্গুয়েজটি প্রকাশ করা হয়। ইতোমধ্যে এটি Google এর বেশ কিছু প্রোডাকশন সিস্টেমে ব্যবহৃত হচ্ছে। - বিষয় : Go Language সম্পর্কে জানা - গবেষণা ক্ষেত্র : যেকোন
bolaram/Go-Language-in-Bengali
README.md
Markdown
mit
779
import cx from 'clsx' import PropTypes from 'prop-types' import React from 'react' import { customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib' /** * A placeholder can contain an image. */ function PlaceholderImage(props) { const { className, square, rectangular } = props const classes = cx( useKeyOnly(square, 'square'), useKeyOnly(rectangular, 'rectangular'), 'image', className, ) const rest = getUnhandledProps(PlaceholderImage, props) const ElementType = getElementType(PlaceholderImage, props) return <ElementType {...rest} className={classes} /> } PlaceholderImage.propTypes = { /** An element type to render as (string or function). */ as: PropTypes.elementType, /** Additional classes. */ className: PropTypes.string, /** An image can modify size correctly with responsive styles. */ square: customPropTypes.every([customPropTypes.disallow(['rectangular']), PropTypes.bool]), /** An image can modify size correctly with responsive styles. */ rectangular: customPropTypes.every([customPropTypes.disallow(['square']), PropTypes.bool]), } export default PlaceholderImage
Semantic-Org/Semantic-UI-React
src/elements/Placeholder/PlaceholderImage.js
JavaScript
mit
1,162
(function (angular) { "use strict"; var appFooter = angular.module('myApp.footer', []); appFooter.controller("footerCtrl", ['$scope', function ($scope) { }]); myApp.directive("siteFooter",function(){ return { restrict: 'A', templateUrl:'app/components/footer/footer.html' }; }); } (angular));
kevinczhang/kevinczhang.github.io
src/app/components/footer/footer.js
JavaScript
mit
376
xss-test ========
hagifoo/xss-test
README.md
Markdown
mit
18
# Makefile for Sphinx documentation # # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext help: @echo "Please use \`make <target>' where <target> is one of" @echo " html to make standalone HTML files" @echo " dirhtml to make HTML files named index.html in directories" @echo " singlehtml to make a single large HTML file" @echo " pickle to make pickle files" @echo " json to make JSON files" @echo " htmlhelp to make HTML files and a HTML help project" @echo " qthelp to make HTML files and a qthelp project" @echo " devhelp to make HTML files and a Devhelp project" @echo " epub to make an epub" @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" @echo " latexpdf to make LaTeX files and run them through pdflatex" @echo " text to make text files" @echo " man to make manual pages" @echo " texinfo to make Texinfo files" @echo " info to make Texinfo files and run them through makeinfo" @echo " gettext to make PO message catalogs" @echo " changes to make an overview of all changed/added/deprecated items" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean: -rm -rf $(BUILDDIR)/* html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." dirhtml: $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml @echo @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." singlehtml: $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml @echo @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." pickle: $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle @echo @echo "Build finished; now you can process the pickle files." json: $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json @echo @echo "Build finished; now you can process the JSON files." htmlhelp: $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp @echo @echo "Build finished; now you can run HTML Help Workshop with the" \ ".hhp project file in $(BUILDDIR)/htmlhelp." qthelp: $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp @echo @echo "Build finished; now you can run "qcollectiongenerator" with the" \ ".qhcp project file in $(BUILDDIR)/qthelp, like this:" @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/db2utils.qhcp" @echo "To view the help file:" @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/db2utils.qhc" devhelp: $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp @echo @echo "Build finished." @echo "To view the help file:" @echo "# mkdir -p $$HOME/.local/share/devhelp/db2utils" @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/db2utils" @echo "# devhelp" epub: $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub @echo @echo "Build finished. The epub file is in $(BUILDDIR)/epub." latex: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." @echo "Run \`make' in that directory to run these through (pdf)latex" \ "(use \`make latexpdf' here to do that automatically)." latexpdf: $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex @echo "Running LaTeX files through pdflatex..." $(MAKE) -C $(BUILDDIR)/latex all-pdf @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." text: $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text @echo @echo "Build finished. The text files are in $(BUILDDIR)/text." man: $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man @echo @echo "Build finished. The manual pages are in $(BUILDDIR)/man." texinfo: $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo @echo @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." @echo "Run \`make' in that directory to run these through makeinfo" \ "(use \`make info' here to do that automatically)." info: $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo @echo "Running Texinfo files through makeinfo..." make -C $(BUILDDIR)/texinfo info @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." gettext: $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale @echo @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." changes: $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes @echo @echo "The overview file is in $(BUILDDIR)/changes." linkcheck: $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck @echo @echo "Link check complete; look for any errors in the above output " \ "or in $(BUILDDIR)/linkcheck/output.txt." doctest: $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest @echo "Testing of doctests in the sources finished, look at the " \ "results in $(BUILDDIR)/doctest/output.txt."
waveform80/db2utils
docs/Makefile
Makefile
mit
5,572
<?php namespace App\Http\Controllers\API\V2; use App\Beacon; use App\Http\Requests\BeaconRequest; use Illuminate\Http\Request; class BeaconController extends Controller { /** * Return a list of items. * * @param Request $request * * @return json */ public function index(Request $request) { return $this->filteredAndOrdered($request, new Beacon())->paginate($this->pageSize); } /** * Save a new item. * * @param Request $request * * @return json */ public function store(BeaconRequest $request) { return response(Beacon::create($request->all()), 201); } /** * Return a single item. * * @param Request $request * @param Beacon $beacon * * @return json */ public function show(Request $request, Beacon $beacon) { return $this->attachResources($request, $beacon); } /** * Update a single item. * * @param BeaconRequest $request * @param Beacon $beacon * * @return json */ public function update(BeaconRequest $request, Beacon $beacon) { $beacon->update($request->all()); return $beacon; } /** * Delete a single item. * * @param Beacon $beacon * * @return empty */ public function destroy(Beacon $beacon) { $beacon->delete(); return response('', 204); } /** * Return a list of deleted items. * * @return json */ public function deleted() { return Beacon::onlyTrashed()->get(); } }
nosuchagency/beacon-bacon
app/Http/Controllers/API/V2/BeaconController.php
PHP
mit
1,627
#!/bin/sh usage() { cat <<EOF USAGE: \${DOTFILES}/shell/csh/launcher.sh <function> [arg ...] FUNCTION: exit <return_code> EOF } # Print usage if not specify the function that need to run. if [ $# -eq 0 ]; then usage exit 1 fi # The function name is the first argument. func_name=${1} # Remove the first argument "function name". shift 1 # Dispatch to the corresponding function. case ${func_name} in exit) exit ${@} ;; *) cat <<EOF Error: Specify unknow function "${func_name}", this shell script now only support run function "exit". EOF usage exit 1 ;; esac
Johnson9009/dotfiles
shell/csh/launcher.sh
Shell
mit
642
/* -*- C++ -*- */ // $Id: ntsvc.h 80826 2008-03-04 14:51:23Z wotte $ // ============================================================================ // // = LIBRARY // examples/NT_Service // // = FILENAME // ntsvc.h // // = DESCRIPTION // This is the definition of the sample NT Service class. This example // only runs on Win32 platforms. // // = AUTHOR // Gonzalo Diethelm and Steve Huston // // ============================================================================ #ifndef NTSVC_H_ #define NTSVC_H_ #include "ace/config-lite.h" #if defined (ACE_WIN32) && !defined (ACE_LACKS_WIN32_SERVICES) #include "ace/Event_Handler.h" #include "ace/NT_Service.h" #include "ace/Singleton.h" #include "ace/Mutex.h" class Service : public ACE_NT_Service { public: Service (void); ~Service (void); virtual void handle_control (DWORD control_code); // We override <handle_control> because it handles stop requests // privately. virtual int handle_exception (ACE_HANDLE h); // We override <handle_exception> so a 'stop' control code can pop // the reactor off of its wait. virtual int svc (void); // This is a virtual method inherited from ACE_NT_Service. virtual int handle_timeout (const ACE_Time_Value& tv, const void *arg = 0); // Where the real work is done: private: typedef ACE_NT_Service inherited; private: int stop_; }; // Define a singleton class as a way to insure that there's only one // Service instance in the program, and to protect against access from // multiple threads. The first reference to it at runtime creates it, // and the ACE_Object_Manager deletes it at run-down. typedef ACE_Singleton<Service, ACE_Mutex> SERVICE; #endif /* ACE_WIN32 && !ACE_LACKS_WIN32_SERVICES */ #endif /* #ifndef NTSVC_H_ */
binghuo365/BaseLab
3rd/ACE-5.7.0/ACE_wrappers/examples/NT_Service/ntsvc.h
C
mit
1,815
import {IDetailsService} from '../services/details.service'; class DetailsController implements ng.IComponentController { private detailsService: IDetailsService; private detailsData: any; private previousState: any; constructor($stateParams: any, detailsService: IDetailsService) { console.log('details controller'); console.log("$stateParams.id=", $stateParams.id); console.log("this.previousState=", this.previousState); let id = $stateParams.id; detailsService.searchByIMDbID(id, 'full').then((result) => { console.log("detailsData = ", result.data); this.detailsData = result.data; }); } } export default DetailsController; DetailsController.$inject = ['$stateParams', 'detailsService'];
andyyusydney/open-movie
src/details/details.controller.ts
TypeScript
mit
788
package main import ( "bufio" "fmt" "os" "os/exec" "strings" "sync" ) func checkError(err error, prefix string) { if err != nil { panic(fmt.Sprintf("%s %s", prefix, err.Error())) } } func cleanFeedbackLine(s string) (out string) { out = s out = strings.TrimSpace(out) out = strings.Replace(out, "\r", "", -1) out = strings.Replace(out, "\n", "\\n", -1) return } func runCommand(wg *sync.WaitGroup, resultCollector *ResultCollector, commandIndex int, phase *nodeData, cmd *exec.Cmd) { if wg != nil { defer wg.Done() } defer func() { if r := recover(); r != nil { errMsg := fmt.Sprintf("%s", r) if !phase.ContinueOnFailure { logger.Fatallnf(errMsg) } else { logger.Errorlnf(errMsg) } resultCollector.AppendResult(&result{Cmd: cmd, Successful: false}) } else { resultCollector.AppendResult(&result{Cmd: cmd, Successful: true}) } }() stdout, err := cmd.StdoutPipe() checkError(err, "cmd.StdoutPipe") stderr, err := cmd.StderrPipe() checkError(err, "cmd.StderrPipe") outLines := []string{} stdoutScanner := bufio.NewScanner(stdout) go func() { for stdoutScanner.Scan() { txt := cleanFeedbackLine(stdoutScanner.Text()) outLines = append(outLines, txt) logger.Tracelnf("COMMAND %d STDOUT: %s", commandIndex, txt) } }() errLines := []string{} stderrScanner := bufio.NewScanner(stderr) go func() { for stderrScanner.Scan() { txt := cleanFeedbackLine(stderrScanner.Text()) errLines = append(errLines, txt) logger.Warninglnf("COMMAND %d STDERR: %s", commandIndex, txt) } }() err = cmd.Start() checkError(err, "cmd.Start") err = cmd.Wait() if err != nil { newErr := fmt.Errorf("%s - lines: %s", err.Error(), strings.Join(errLines, "\\n")) outCombined := cleanFeedbackLine(strings.Join(outLines, "\n")) errMsg := fmt.Sprintf("FAILED COMMAND %d. Continue: %t. ERROR: %s. OUT: %s", commandIndex, phase.ContinueOnFailure, newErr.Error(), outCombined) panic(errMsg) } } func runPhase(setup *setup, phaseName string, phase *nodeData) { var wg sync.WaitGroup resultCollector := &ResultCollector{} cmds, err := phase.GetExecCommandsFromSteps(setup.StringVariablesOnly(), setup.Variables) if err != nil { logger.Fatallnf(err.Error()) } if phase.RunParallel { wg.Add(len(cmds)) } logger.Infolnf("Running step %s", phaseName) for ind, c := range cmds { logger.Tracelnf(strings.TrimSpace(fmt.Sprintf(`INDEX %d = %s`, ind, execCommandToDisplayString(c)))) var wgToUse *sync.WaitGroup = nil if phase.RunParallel { wgToUse = &wg go runCommand(wgToUse, resultCollector, ind, phase, c) } else { runCommand(wgToUse, resultCollector, ind, phase, c) } } if phase.RunParallel { wg.Wait() } if resultCollector.FailedCount() == 0 { logger.Infolnf("There were no failures - %d/%d successful", resultCollector.SuccessCount(), resultCollector.TotalCount()) } else { logger.Errorlnf("There were %d/%d failures: ", resultCollector.FailedCount(), resultCollector.TotalCount()) for _, failure := range resultCollector.FailedDisplayList() { logger.Errorlnf("- %s", failure) } } } func main() { logger.Infolnf("Running version '%s'", Version) if len(os.Args) < 2 { logger.Fatallnf("The first command-line argument must be the YAML file path.") } yamlFilePath := os.Args[1] setup, err := ParseYamlFile(yamlFilePath) if err != nil { logger.Fatallnf(err.Error()) } for _, phase := range setup.Phases { runPhase(setup, phase.Name, phase.Data) } }
golang-devops/yaml-script-runner
main.go
GO
mit
3,494
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Header &lt;boost/icl/iterator.hpp&gt;</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../index.html" title="Chapter 1. Boost.Icl"> <link rel="up" href="../../../interval_container_library_reference.html" title="Interval Container Library Reference"> <link rel="prev" href="../../../boost/icl/size_typ_idm45536290362624.html" title="Struct template size_type_of&lt;interval_traits&lt; Type &gt;&gt;"> <link rel="next" href="../../../boost/icl/add_iterator.html" title="Class template add_iterator"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td> <td align="center"><a href="../../../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../../libraries.htm">Libraries</a></td> <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> <td align="center"><a href="../../../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../../../boost/icl/size_typ_idm45536290362624.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../interval_container_library_reference.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../../boost/icl/add_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="header.boost.icl.iterator_hpp"></a>Header &lt;<a href="../../../../../../../boost/icl/iterator.hpp" target="_top">boost/icl/iterator.hpp</a>&gt;</h3></div></div></div> <pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> <span class="keyword">namespace</span> <span class="identifier">icl</span> <span class="special">{</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ContainerT<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../../../boost/icl/add_iterator.html" title="Class template add_iterator">add_iterator</a><span class="special">;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ContainerT<span class="special">&gt;</span> <span class="keyword">class</span> <a class="link" href="../../../boost/icl/insert_iterator.html" title="Class template insert_iterator">insert_iterator</a><span class="special">;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ContainerT<span class="special">,</span> <span class="keyword">typename</span> IteratorT<span class="special">&gt;</span> <a class="link" href="../../../boost/icl/add_iterator.html" title="Class template add_iterator">add_iterator</a><span class="special">&lt;</span> <span class="identifier">ContainerT</span> <span class="special">&gt;</span> <a class="link" href="../../../boost/icl/adder.html" title="Function template adder"><span class="identifier">adder</span></a><span class="special">(</span><span class="identifier">ContainerT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">IteratorT</span><span class="special">)</span><span class="special">;</span> <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> ContainerT<span class="special">,</span> <span class="keyword">typename</span> IteratorT<span class="special">&gt;</span> <a class="link" href="../../../boost/icl/insert_iterator.html" title="Class template insert_iterator">insert_iterator</a><span class="special">&lt;</span> <span class="identifier">ContainerT</span> <span class="special">&gt;</span> <a class="link" href="../../../boost/icl/inserter.html" title="Function template inserter"><span class="identifier">inserter</span></a><span class="special">(</span><span class="identifier">ContainerT</span> <span class="special">&amp;</span><span class="special">,</span> <span class="identifier">IteratorT</span><span class="special">)</span><span class="special">;</span> <span class="special">}</span> <span class="special">}</span></pre> </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> <td align="right"><div class="copyright-footer">Copyright © 2007-2010 Joachim Faulhaber<br>Copyright © 1999-2006 Cortex Software GmbH<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="../../../boost/icl/size_typ_idm45536290362624.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../interval_container_library_reference.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../../../boost/icl/add_iterator.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html>
davehorton/drachtio-server
deps/boost_1_77_0/libs/icl/doc/html/header/boost/icl/iterator_hpp.html
HTML
mit
6,005
<html> <head> <title>Progmia | Game | Level Selection</title> <link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/levels.css"> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/stars.css"> <script type="text/javascript" src="<?php echo base_url();?>assets/js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="<?php echo base_url();?>assets/js/bootstrap.min.js""></script> <script type="text/javascript" src="<?php echo base_url();?>assets/js/bootstrap.min.js"></script> <link rel="icon" href="<?php echo base_url(); ?>assets/images/icon_jFd_icon.ico"> <link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/fonts/font-awesome-4.7.0/css/font-awesome.min.css"> <script type="text/javascript" src="<?php echo base_url();?>assets/js/drag-on.js"></script> </head> <body> <nav id="primary-nav" class="primary-nav"> <div class="container-fluid"> <div class="row" style="display: flex;align-items: center;"> <div class="col-md-3 col-lg-3 col-xs-4 col-sm-4" style="text-align: center;"> <a class="back" href="<?php echo base_url(); ?>Game/MainMenu"><i class="fa fa-arrow-left"></i></a> </div> <div class="col-md-6 col-lg-6 col-xs-4 col-sm-4"> </div> <div class="col-md-3 col-lg-3 col-xs-4 col-sm-4"> <ul class="nav-left"> <li class="music-control"> <button id="playpausebtn" class="playpausebtn"><i class="fa fa-music"></i></button> <input id="volumeslider" class="volumeslider" type="range" min="0" max="100" value="100" step="1"> </li> </ul> </div> </div> </div> </nav> <script> $(document).ready(function(){ $("button.playpausebtn").click(function() { if(jQuery('#playpausebtn').hasClass('paused')){ $("button").removeClass("paused"); } else { $(this).addClass("paused"); } }); $("button#back").click(function() { }); }); var audio, playbtn, mutebtn, seekslider, volumeslider, seeking=false, seekto; function initAudioPlayer(){ audio = new Audio(); audio.src = "<?php echo base_url();?>/assets/sounds/bgm/03 Civil (Explore).mp3"; audio.loop = true; audio.play(); // Set object references playbtn = document.getElementById("playpausebtn"); volumeslider = document.getElementById("volumeslider"); // Add Event Handling playbtn.addEventListener("click",playPause); volumeslider.addEventListener("mousemove", setvolume); // Functions function playPause(){ if(audio.paused){ audio.play(); } else { audio.pause(); } } function setvolume(){ audio.volume = volumeslider.value / 100; } } window.addEventListener("load", initAudioPlayer); </script>
timpquerubin/Progmia
application/views/templates/menu_levels_header.php
PHP
mit
2,910
--[[checkboxData = { type = "checkbox", name = "My Checkbox", tooltip = "Checkbox's tooltip text.", getFunc = function() return db.var end, setFunc = function(value) db.var = value doStuff() end, width = "full", --or "half" (optional) disabled = function() return db.someBooleanSetting end, --or boolean (optional) warning = "Will need to reload the UI.", --(optional) default = defaults.var, --(optional) reference = "MyAddonCheckbox" --(optional) unique global reference to control } ]] local widgetVersion = 7 local LAM = LibStub("LibAddonMenu-2.0") if not LAM:RegisterWidget("checkbox", widgetVersion) then return end local wm = WINDOW_MANAGER local cm = CALLBACK_MANAGER local tinsert = table.insert --label local enabledColor = ZO_DEFAULT_ENABLED_COLOR local enabledHLcolor = ZO_HIGHLIGHT_TEXT local disabledColor = ZO_DEFAULT_DISABLED_COLOR local disabledHLcolor = ZO_DEFAULT_DISABLED_MOUSEOVER_COLOR --checkbox local checkboxColor = ZO_NORMAL_TEXT local checkboxHLcolor = ZO_HIGHLIGHT_TEXT local function UpdateDisabled(control) local disable if type(control.data.disabled) == "function" then disable = control.data.disabled() else disable = control.data.disabled end control.label:SetColor((disable and ZO_DEFAULT_DISABLED_COLOR or control.value and ZO_DEFAULT_ENABLED_COLOR or ZO_DEFAULT_DISABLED_COLOR):UnpackRGBA()) control.checkbox:SetColor((disable and ZO_DEFAULT_DISABLED_COLOR or ZO_NORMAL_TEXT):UnpackRGBA()) --control:SetMouseEnabled(not disable) --control:SetMouseEnabled(true) control.isDisabled = disable end local function ToggleCheckbox(control) if control.value then control.label:SetColor(ZO_DEFAULT_ENABLED_COLOR:UnpackRGBA()) control.checkbox:SetText(control.checkedText) else control.label:SetColor(ZO_DEFAULT_DISABLED_COLOR:UnpackRGBA()) control.checkbox:SetText(control.uncheckedText) end end local function UpdateValue(control, forceDefault, value) if forceDefault then --if we are forcing defaults value = control.data.default control.data.setFunc(value) elseif value ~= nil then --our value could be false control.data.setFunc(value) --after setting this value, let's refresh the others to see if any should be disabled or have their settings changed if control.panel.data.registerForRefresh then cm:FireCallbacks("LAM-RefreshPanel", control) end else value = control.data.getFunc() end control.value = value ToggleCheckbox(control) end local function OnMouseEnter(control) ZO_Options_OnMouseEnter(control) if control.isDisabled then return end local label = control.label if control.value then label:SetColor(ZO_HIGHLIGHT_TEXT:UnpackRGBA()) else label:SetColor(ZO_DEFAULT_DISABLED_MOUSEOVER_COLOR:UnpackRGBA()) end control.checkbox:SetColor(ZO_HIGHLIGHT_TEXT:UnpackRGBA()) end local function OnMouseExit(control) ZO_Options_OnMouseExit(control) if control.isDisabled then return end local label = control.label if control.value then label:SetColor(ZO_DEFAULT_ENABLED_COLOR:UnpackRGBA()) else label:SetColor(ZO_DEFAULT_DISABLED_COLOR:UnpackRGBA()) end control.checkbox:SetColor(ZO_NORMAL_TEXT:UnpackRGBA()) end --controlName is optional function LAMCreateControl.checkbox(parent, checkboxData, controlName) local control = wm:CreateTopLevelWindow(controlName or checkboxData.reference) control:SetParent(parent.scroll or parent) control:SetMouseEnabled(true) --control.tooltipText = checkboxData.tooltip control:SetHandler("OnMouseEnter", OnMouseEnter) control:SetHandler("OnMouseExit", OnMouseExit) control:SetHandler("OnMouseUp", function(control) if control.isDisabled then return end PlaySound(SOUNDS.DEFAULT_CLICK) control.value = not control.value control:UpdateValue(false, control.value) end) control.label = wm:CreateControl(nil, control, CT_LABEL) local label = control.label label:SetFont("ZoFontWinH4") label:SetText(checkboxData.name) label:SetWrapMode(TEXT_WRAP_MODE_ELLIPSIS) label:SetHeight(26) control.checkbox = wm:CreateControl(nil, control, CT_LABEL) local checkbox = control.checkbox checkbox:SetFont("ZoFontGameBold") checkbox:SetColor(ZO_NORMAL_TEXT:UnpackRGBA()) control.checkedText = GetString(SI_CHECK_BUTTON_ON):upper() control.uncheckedText = GetString(SI_CHECK_BUTTON_OFF):upper() local isHalfWidth = checkboxData.width == "half" if isHalfWidth then control:SetDimensions(250, 55) checkbox:SetDimensions(100, 26) checkbox:SetAnchor(BOTTOMRIGHT) label:SetAnchor(TOPLEFT) label:SetAnchor(TOPRIGHT) else control:SetDimensions(510, 30) checkbox:SetDimensions(200, 26) checkbox:SetAnchor(RIGHT) label:SetAnchor(LEFT) label:SetAnchor(RIGHT, checkbox, LEFT, -5, 0) end if checkboxData.warning then control.warning = wm:CreateControlFromVirtual(nil, control, "ZO_Options_WarningIcon") control.warning:SetAnchor(RIGHT, checkbox, LEFT, -5, 0) --control.warning.tooltipText = checkboxData.warning control.warning.data = {tooltipText = checkboxData.warning} end control.panel = parent.panel or parent --if this is in a submenu, panel is its parent control.data = checkboxData control.data.tooltipText = checkboxData.tooltip if checkboxData.disabled then control.UpdateDisabled = UpdateDisabled control:UpdateDisabled() end control.UpdateValue = UpdateValue control:UpdateValue() if control.panel.data.registerForRefresh or control.panel.data.registerForDefaults then --if our parent window wants to refresh controls, then add this to the list tinsert(control.panel.controlsToRefresh, control) end return control end
JordyMoos/JMGuildSaleHistoryTracker
Libs/LibAddonMenu-2.0/controls/checkbox.lua
Lua
mit
5,568
import base64 try: from functools import wraps except ImportError: from django.utils.functional import wraps # Python 2.3, 2.4 fallback. from django import http, template from django.conf import settings from django.contrib.auth.models import User from django.contrib.auth import authenticate, login from django.shortcuts import render_to_response from django.utils.translation import ugettext_lazy, ugettext as _ ERROR_MESSAGE = ugettext_lazy("Please enter a correct username and password. Note that both fields are case-sensitive.") LOGIN_FORM_KEY = 'this_is_the_login_form' def _display_login_form(request, error_message=''): request.session.set_test_cookie() return render_to_response('admin/login.html', { 'title': _('Log in'), 'app_path': request.get_full_path(), 'error_message': error_message }, context_instance=template.RequestContext(request)) def staff_member_required(view_func): """ Decorator for views that checks that the user is logged in and is a staff member, displaying the login page if necessary. """ def _checklogin(request, *args, **kwargs): if request.user.is_authenticated() and request.user.is_staff: # The user is valid. Continue to the admin page. return view_func(request, *args, **kwargs) assert hasattr(request, 'session'), "The Django admin requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.sessions.middleware.SessionMiddleware'." # If this isn't already the login page, display it. if LOGIN_FORM_KEY not in request.POST: if request.POST: message = _("Please log in again, because your session has expired.") else: message = "" return _display_login_form(request, message) # Check that the user accepts cookies. if not request.session.test_cookie_worked(): message = _("Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again.") return _display_login_form(request, message) else: request.session.delete_test_cookie() # Check the password. username = request.POST.get('username', None) password = request.POST.get('password', None) user = authenticate(username=username, password=password) if user is None: message = ERROR_MESSAGE if '@' in username: # Mistakenly entered e-mail address instead of username? Look it up. users = list(User.all().filter('email =', username)) if len(users) == 1 and users[0].check_password(password): message = _("Your e-mail address is not your username. Try '%s' instead.") % users[0].username else: # Either we cannot find the user, or if more than 1 # we cannot guess which user is the correct one. message = _("Usernames cannot contain the '@' character.") return _display_login_form(request, message) # The user data is correct; log in the user in and continue. else: if user.is_active and user.is_staff: login(request, user) return http.HttpResponseRedirect(request.get_full_path()) else: return _display_login_form(request, ERROR_MESSAGE) return wraps(view_func)(_checklogin)
isaac-philip/loolu
common/django/contrib/admin/views/decorators.py
Python
mit
3,535
// BEGIN CUT HERE // END CUT HERE #include <sstream> #include <cstdio> #include <cstdlib> #include <iostream> #include <cstring> #include <algorithm> #include <cmath> #include <vector> #include <map> #include <string> #include <set> #include <algorithm> using namespace std; const int V = 64; const int E = V * V * 2; const int INF = 1 << 29; int d[V], how[V], eCapacity[E], eU[E], eV[E], eCost[E]; int eIndex = 0; void addEdge(int u, int v, int capacity, int cost) { eU[eIndex] = u, eV[eIndex] = v, eCapacity[eIndex] = capacity, eCost[eIndex++] = cost; eU[eIndex] = v, eV[eIndex] = u, eCapacity[eIndex] = 0, eCost[eIndex++] = -cost; } pair <int, int> minCostMaxFlow(int n, int s, int t) { int flow = 0, cost = 0; for (;;) { for (int i = 0; i < n; i++) { d[i] = INF; } d[s] = 0; for(;;) { bool done = true; for (int e = 0; e < eIndex; e++) { if (eCapacity[e] > 0) { int u = eU[e], v = eV[e], cost = eCost[e]; if (d[v] > d[u] + cost) { d[v] = d[u] + cost; how[v] = e; done = false; } } } if (done) { break; } } if (d[t] >= INF / 2) { break; } int augment = INF; for (int v = t; v != s; v = eU[how[v]]) { augment = min(augment, eCapacity[how[v]]); } for (int v = t; v != s; v = eU[how[v]]) { int e = how[v]; eCapacity[e] -= augment; eCapacity[e ^ 1] += augment; } flow += augment; cost += d[t] * augment; } pair <int, int> ret = make_pair(cost, flow); return ret; } class SpecialCells { public: int guess(vector <int> x, vector <int> y) { eIndex = 0; map <int, int> xMap, yMap; set <pair <int, int> > pairSet; int n = x.size(); for (int i = 0; i < n; i++) { xMap[x[i]]++; yMap[y[i]]++; pairSet.insert(make_pair(x[i], y[i])); } int grpahVertexNumber = xMap.size() + yMap.size() + 2; int s = grpahVertexNumber - 2, t = grpahVertexNumber - 1, xIndex = 0, yIndex = xMap.size(); for (map <int, int> :: iterator it = xMap.begin(); it != xMap.end(); it++, xIndex++) { addEdge(s, xIndex, it->second, 0); } for (map <int, int> :: iterator it = yMap.begin(); it != yMap.end(); it++, yIndex++) { addEdge(yIndex, t, it->second, 0); } xIndex = 0; for (map <int, int> :: iterator it = xMap.begin(); it != xMap.end(); it++, xIndex++) { yIndex = xMap.size(); for (map <int, int> :: iterator jt = yMap.begin(); jt != yMap.end(); jt++, yIndex++) { int cost = pairSet.find(make_pair(it->first, jt->first)) == pairSet.end() ? 0 : 1; addEdge(xIndex, yIndex, 1, cost); } } pair <int, int> mcmf = minCostMaxFlow(grpahVertexNumber, s, t); int ret = mcmf.first; return ret; } // BEGIN CUT HERE public: void run_test(int Case) { if ((Case == -1) || (Case == 0)) test_case_0(); if ((Case == -1) || (Case == 1)) test_case_1(); if ((Case == -1) || (Case == 2)) test_case_2(); if ((Case == -1) || (Case == 3)) test_case_3(); if ((Case == -1) || (Case == 4)) test_case_4(); } private: template <typename T> string print_array(const vector<T> &V) { ostringstream os; os << "{ "; for (typename vector<T>::const_iterator iter = V.begin(); iter != V.end(); ++iter) os << '\"' << *iter << "\","; os << " }"; return os.str(); } void verify_case(int Case, const int &Expected, const int &Received) { cerr << "Test Case #" << Case << "..."; if (Expected == Received) cerr << "PASSED" << endl; else { cerr << "FAILED" << endl; cerr << "\tExpected: \"" << Expected << '\"' << endl; cerr << "\tReceived: \"" << Received << '\"' << endl; } } void test_case_0() { int Arr0[] = {1,2}; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = {1,2}; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 0; verify_case(0, Arg2, guess(Arg0, Arg1)); } void test_case_1() { int Arr0[] = {1,1,2}; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = {1,2,1}; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 3; verify_case(1, Arg2, guess(Arg0, Arg1)); } void test_case_2() { int Arr0[] = {1,2,1,2,1,2}; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = {1,2,3,1,2,3}; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 6; verify_case(2, Arg2, guess(Arg0, Arg1)); } void test_case_3() { int Arr0[] = {1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9}; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = {1,2,3,1,2,3,1,2,3,1,2,3,1,2,3,1,2,3}; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 9; verify_case(3, Arg2, guess(Arg0, Arg1)); } void test_case_4() { int Arr0[] = {1,100000}; vector <int> Arg0(Arr0, Arr0 + (sizeof(Arr0) / sizeof(Arr0[0]))); int Arr1[] = {1,100000}; vector <int> Arg1(Arr1, Arr1 + (sizeof(Arr1) / sizeof(Arr1[0]))); int Arg2 = 0; verify_case(4, Arg2, guess(Arg0, Arg1)); } // END CUT HERE }; // BEGIN CUT HERE int main(){ SpecialCells ___test; ___test.run_test(-1); return 0; } // END CUT HERE
CanoeFZH/SRM
SRM612/SpecialCells.cpp
C++
mit
5,627
<?php /** * wCMF - wemove Content Management Framework * Copyright (C) 2005-2020 wemove digital solutions GmbH * * Licensed under the terms of the MIT License. * * See the LICENSE file distributed with this work for * additional information. */ namespace wcmf\lib\core; /** * A session that requires clients to send a token for authentication. * * @author ingo herwig <[email protected]> */ interface TokenBasedSession extends Session { /** * Get the name of the auth token header. * @return String */ public function getHeaderName(); /** * Get the name of the auth token cookie. * @return String */ public function getCookieName(); }
iherwig/wcmf
src/wcmf/lib/core/TokenBasedSession.php
PHP
mit
673
happy_photo_data ================
caohonghiep/happy_photo_data
README.md
Markdown
mit
34
export default function formatList(xs, { ifEmpty = 'нет', joint = ', ' } = {}) { return (!xs || xs.length === 0) ? ifEmpty : xs.join(joint) }
whitescape/react-admin-components
src/ui/format/list.js
JavaScript
mit
147
<?php namespace Tests\Builders; class SaveCardBuilder extends AbstractModelBuilder { public function __construct() { $this->attributeValues = array( 'yourConsumerReference' => '12345', 'cardNumber' => '4976000000003436', 'expiryDate' => '12/20', 'cv2' => 452, ); } }
JudoPay/PhpSdk
tests/Builders/SaveCardBuilder.php
PHP
mit
385
// $Author: benine $ // $Date$ // $Log$ // Contains the mismatch class for afin #ifndef MISMATCH_H #define MISMATCH_H //////////////////////////////////////////////\ // Mismatch Class: ////////////////////////////> ////////////////////////////////////////////// // // Mismatch object, contains all classes, methods, data, and data references necessary for processing mismatches for contig fusion // There will be only one Process object needed per iteration of this program class Mismatch{ private: double score; int length; int index_i; int index_j; int end_i; int end_j; public: Mismatch(); Mismatch( double score, int length, int index_i, int index_j, int end_i, int end_j ); // set mismatch score void set_score( double score ); // set length void set_length( int length ); // set index_i void set_index_i( int index ); // set index_j void set_index_j( int index ); // set index void set_indices( int index_i, int index_j ); // set end_i void set_end_i( int end_i ); // set end_j void set_end_j( int end_j ); // return mismatch score double get_score(); // return length int get_length(); // return index i int get_index_i(); // return index j int get_index_j(); // return end_i int get_end_i(); // return end_j int get_end_j(); }; #endif
mrmckain/Fast-Plast
afin/mismatch.hpp
C++
mit
1,405
<?php /* * 注意:此文件由itpl_engine编译型模板引擎编译生成。 * 如果您的模板要进行修改,请修改 templates/default/shop/map.html * 如果您的模型要进行修改,请修改 models/shop/map.php * * 修改完成之后需要您进入后台重新编译,才会重新生成。 * 如果您开启了debug模式运行,那么您可以省去上面这一步,但是debug模式每次都会判断程序是否更新,debug模式只适合开发调试。 * 如果您正式运行此程序时,请切换到service模式运行! * * 如您有问题请到官方论坛()提问,谢谢您的支持。 */ ?><?php /* * 此段代码由debug模式下生成运行,请勿改动! * 如果debug模式下出错不能再次自动编译时,请进入后台手动编译! */ /* debug模式运行生成代码 开始 */ if (!function_exists("tpl_engine")) { require("foundation/ftpl_compile.php"); } if(filemtime("templates/default/shop/map.html") > filemtime(__file__) || (file_exists("models/shop/map.php") && filemtime("models/shop/map.php") > filemtime(__file__)) ) { tpl_engine("default", "shop/map.html", 1); include(__file__); } else { /* debug模式运行生成代码 结束 */ ?><?php if (!$IWEB_SHOP_IN) { trigger_error('Hacking attempt'); } /* 公共信息处理 header, left, footer */ require("foundation/module_shop.php"); require("foundation/module_users.php"); require("foundation/module_shop_category.php"); //引入语言包 $s_langpackage = new shoplp; $i_langpackage = new indexlp; /* 数据库操作 */ dbtarget('r', $dbServs); $dbo = new dbex(); /* 定义文件表 */ $t_shop_info = $tablePreStr . "shop_info"; $t_users = $tablePreStr . "users"; $t_shop_category = $tablePreStr . "shop_category"; $t_shop_categories = $tablePreStr . "shop_categories"; /* 商铺信息处理 */ $SHOP = get_shop_info($dbo, $t_shop_info, $shop_id); //商铺分类 $shop_rank = $SHOP['shop_categories']; $shop_rank_arr = get_categories_rank($shop_rank, $dbo, $t_shop_categories); if ($shop_rank_arr) { $num = count($shop_rank_arr) - 1; } if (!$SHOP) { trigger_error($s_langpackage->s_shop_error); }//无此商铺 if ($SHOP['lock_flg']) { trigger_error($s_langpackage->s_shop_locked); }//锁定 if ($SHOP['open_flg']) { trigger_error($s_langpackage->s_shop_close); }//关闭 $sql = "select rank_id,user_name,last_login_time from $t_users where user_id='" . $SHOP['user_id'] . "'"; $ranks = $dbo->getRow($sql); $SHOP['rank_id'] = $ranks[0]; /* 文章头部信息 */ $header = get_shop_header($s_langpackage->s_shop_index, $SHOP); //$nav_selected=3; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo $header['title']; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> <meta name="keywords" content="<?php echo $header['keywords']; ?>"/> <meta name="description" content="<?php echo $header['description']; ?>"/> <base href="<?php echo $baseUrl; ?>"/> <link href="skin/<?php echo $SYSINFO['templates']; ?>/css/shop.css" rel="stylesheet" type="text/css"/> <link href="skin/<?php echo $SYSINFO['templates']; ?>/css/import.css" type="text/css" rel="stylesheet"/> <link href="skin/<?php echo $SYSINFO['templates']; ?>/css/article.css" type="text/css" rel="stylesheet"/> <link href="skin/<?php echo $SYSINFO['templates']; ?>/css/shop_<?php echo $SHOP['shop_template']; ?>.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="skin/<?php echo $SYSINFO['templates']; ?>/js/jquery-1.8.0.min.js"></script> <script type="text/javascript" src="skin/<?php echo $SYSINFO['templates']; ?>/js/changeStyle.js"></script> <style> <?php if($SHOP['shop_template_img']){?> #shopHeader { background: transparent url(<?php echo $SHOP['shop_template_img'];?>) no-repeat scroll 0 0 #4A9DA5; } <?php }?> </style> </head> <body onload="initialize()" onunload="GUnload()"> <!-- wrapper --> <div id="wrapper"> <?php require("shop/index_header.php"); ?> <!-- contents --> <div id="contents" class="clearfix"> <div id="pkz"> <?php echo $s_langpackage->s_this_location; ?><a href="index.php"><?php echo $SYSINFO['sys_name']; ?></a> &gt; <a href="shop_list.php"><?php echo $s_langpackage->s_shop_category; ?></a> &gt; <?php foreach ($shop_rank_arr as $k => $value) { ?> <?php if ($num == $k) { ?> <a href=""><?php echo $value['cat_name']; ?></a> <?php } else { ?> <a href=""><?php echo $value['cat_name']; ?></a> &gt; <?php } ?> <?php } ?> </div> <div id="shopHeader" class=" mg12b clearfix"> <p class="shopName"><?php echo $SHOP['shop_name']; ?></p> <div class="shop_nav"> <?php require("shop/menu.php"); ?> </div> </div> <?php require("shop/left.php"); ?> <div id="rightCloumn"> <div class="bigpart"> <div class="shop_notice top10"> <div class="c_t"> <div class="c_t_l left"></div> <div class="c_t_r right"></div> <h2><a href="javascript:;"><?php echo $s_langpackage->s_shop_seat; ?></a><span></span></h2> </div> <div class="c_m"> <div id="map_canvas" style="width: 688px; height: 500px"></div> </div> <div class="c_bt"> <div class="c_bt_l left"></div> <div class="c_bt_r right"></div> </div> </div> </div> </div> </div> <?php require("shop/index_footer.php"); ?> <script src="http://maps.google.com/maps?file=api&v=2.x&key=<?php echo $SYSINFO['map_key']; ?>" type="text/javascript"></script> <script type="text/javascript"> var now_x = <?php echo $SHOP['map_x'];?>; var now_y = <?php echo $SHOP['map_y'];?>; var now_zoom = <?php echo $SHOP['map_zoom'];?>; function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); var center = new GLatLng(now_y, now_x); map.setCenter(center, now_zoom); var point = new GLatLng(now_y, now_x); var marker = new GMarker(point); map.addOverlay(marker); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl()); } } </script> </body> </html><?php } ?>
hisuley/gds
trunk/shop/map.php
PHP
mit
7,143
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fairisle: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="stylesheet"> <link href="../../../../../bootstrap-custom.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <script src="../../../../../moment.min.js"></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <div class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li><a href="../..">clean / released</a></li> <li class="active"><a href="">8.9.1 / fairisle - 8.7.0</a></li> </ul> </div> </div> </div> <div class="article"> <div class="row"> <div class="col-md-12"> <a href="../..">« Up</a> <h1> fairisle <small> 8.7.0 <span class="label label-info">Not compatible 👼</span> </small> </h1> <p>📅 <em><script>document.write(moment("2022-02-16 00:21:27 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-16 00:21:27 UTC)</em><p> <h2>Context</h2> <pre># Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.9.1 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.07.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.07.1 Official release 4.07.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.3 A library manager for OCaml # opam file: opam-version: &quot;2.0&quot; maintainer: &quot;[email protected]&quot; homepage: &quot;https://github.com/coq-contribs/fairisle&quot; license: &quot;LGPL 2.1&quot; build: [make &quot;-j%{jobs}%&quot;] install: [make &quot;install&quot;] remove: [&quot;rm&quot; &quot;-R&quot; &quot;%{lib}%/coq/user-contrib/Fairisle&quot;] depends: [ &quot;ocaml&quot; &quot;coq&quot; {&gt;= &quot;8.7&quot; &amp; &lt; &quot;8.8~&quot;} ] tags: [ &quot;keyword: circuits&quot; &quot;keyword: automata&quot; &quot;keyword: co-induction&quot; &quot;keyword: dependent types&quot; &quot;category: Computer Science/Architecture&quot; &quot;date: 2005-12-15&quot; ] authors: [ &quot;Solange Coupet-Grimal &lt;[email protected]&gt; [http://www.cmi.univ-mrs.fr/~solange/]&quot; &quot;Line Jakubiec-Jamet &lt;[email protected]&gt; [http://www.dil.univ-mrs.fr/~jakubiec/]&quot; ] bug-reports: &quot;https://github.com/coq-contribs/fairisle/issues&quot; dev-repo: &quot;git+https://github.com/coq-contribs/fairisle.git&quot; synopsis: &quot;Proof of the Fairisle 4x4 Switch Element&quot; description: &quot;&quot;&quot; http://www.dil.univ-mrs.fr/~jakubiec/fairisle.tar.gz This library contains the development of general definitions dedicated to the verification of sequential synchronous devices (based on Moore and Mealy automata) and the formal verification of the Fairisle 4x4 Switch Element.&quot;&quot;&quot; flags: light-uninstall url { src: &quot;https://github.com/coq-contribs/fairisle/archive/v8.7.0.tar.gz&quot; checksum: &quot;md5=709bcd94237492a8980a2807936b80b5&quot; } </pre> <h2>Lint</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Dry install 🏜️</h2> <p>Dry install with the current Coq version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam install -y --show-action coq-fairisle.8.7.0 coq.8.9.1</code></dd> <dt>Return code</dt> <dd>5120</dd> <dt>Output</dt> <dd><pre>[NOTE] Package coq is already installed (current version is 8.9.1). The following dependencies couldn&#39;t be met: - coq-fairisle -&gt; coq &lt; 8.8~ -&gt; ocaml &lt; 4.06.0 base of this switch (use `--unlock-base&#39; to force) Your request can&#39;t be satisfied: - No available version of coq satisfies the constraints No solution found, exiting </pre></dd> </dl> <p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-fairisle.8.7.0</code></dd> <dt>Return code</dt> <dd>0</dd> </dl> <h2>Install dependencies</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Install 🚀</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Duration</dt> <dd>0 s</dd> </dl> <h2>Installation size</h2> <p>No files were installed.</p> <h2>Uninstall 🧹</h2> <dl class="dl-horizontal"> <dt>Command</dt> <dd><code>true</code></dd> <dt>Return code</dt> <dd>0</dd> <dt>Missing removes</dt> <dd> none </dd> <dt>Wrong removes</dt> <dd> none </dd> </dl> </div> </div> </div> <hr/> <div class="footer"> <p class="text-center"> Sources are on <a href="https://github.com/coq-bench">GitHub</a> © Guillaume Claret 🐣 </p> </div> </div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="../../../../../bootstrap.min.js"></script> </body> </html>
coq-bench/coq-bench.github.io
clean/Linux-x86_64-4.07.1-2.0.6/released/8.9.1/fairisle/8.7.0.html
HTML
mit
7,390
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <!-- ZeepIt --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>ZeepIt</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <frameset rows="20%, 80%"> <frameset cols="25%,35%,45%"> <frame src="fr_file_index.html" title="Files" name="Files" /> <frame src="fr_class_index.html" name="Classes" /> <frame src="fr_method_index.html" name="Methods" /> </frameset> <frame src="files/README_rdoc.html" name="docwin" /> </frameset> </html>
ychaker/zeep_it
rdoc/index.html
HTML
mit
723
package com.example; import java.util.Set; import javax.servlet.ServletContainerInitializer; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.ServletRegistration; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; public class ServletContainerInitializerImpl implements ServletContainerInitializer { @Override public void onStartup(final Set<Class<?>> c, final ServletContext ctx) throws ServletException { final AnnotationConfigWebApplicationContext wac = new AnnotationConfigWebApplicationContext(); wac.register(MvcConfig.class); wac.refresh(); final DispatcherServlet servlet = new DispatcherServlet(wac); final ServletRegistration.Dynamic reg = ctx.addServlet("dispatcher", servlet); reg.addMapping("/*"); } }
backpaper0/sandbox
springmvc-study-no-xml/src/main/java/com/example/ServletContainerInitializerImpl.java
Java
mit
923
import React from 'react'; const EditHero = props => { if (props.selectedHero) { return ( <div> <div className="editfields"> <div> <label>id: </label> {props.addingHero ? <input type="number" name="id" placeholder="id" value={props.selectedHero.id} onChange={props.onChange} /> : <label className="value"> {props.selectedHero.id} </label>} </div> <div> <label>name: </label> <input name="name" value={props.selectedHero.name} placeholder="name" onChange={props.onChange} /> </div> <div> <label>saying: </label> <input name="saying" value={props.selectedHero.saying} placeholder="saying" onChange={props.onChange} /> </div> </div> <button onClick={props.onCancel}>Cancel</button> <button onClick={props.onSave}>Save</button> </div> ); } else { return <div />; } }; export default EditHero;
Ryan-ZL-Lin/react-cosmosdb
src/components/EditHero.js
JavaScript
mit
1,289
#ifndef SE_SCANNNER_H #define SE_SCANNNER_H #include <stdio.h> #include <stdlib.h> #include <string> #include "read.h" #include "fusion.h" #include "match.h" #include <cstdlib> #include <condition_variable> #include <mutex> #include <thread> #include "fusionmapper.h" using namespace std; struct ReadPack { Read** data; int count; }; typedef struct ReadPack ReadPack; struct ReadRepository { ReadPack** packBuffer; size_t readPos; size_t writePos; size_t readCounter; std::mutex mtx; std::mutex readCounterMtx; std::condition_variable repoNotFull; std::condition_variable repoNotEmpty; }; typedef struct ReadRepository ReadRepository; class SingleEndScanner{ public: SingleEndScanner(string fusionFile, string refFile, string read1File, string html, string json, int threadnum); ~SingleEndScanner(); bool scan(); void textReport(); void htmlReport(); void jsonReport(); private: bool scanSingleEnd(ReadPack* pack); void initPackRepository(); void destroyPackRepository(); void producePack(ReadPack* pack); void consumePack(); void producerTask(); void consumerTask(); void pushMatch(Match* m); private: string mFusionFile; string mRefFile; string mRead1File; string mRead2File; string mHtmlFile; string mJsonFile; ReadRepository mRepo; bool mProduceFinished; std::mutex mFusionMtx; int mThreadNum; FusionMapper* mFusionMapper; }; #endif
OpenGene/FusionScan
src/sescanner.h
C
mit
1,488
/** * Module dependencies. */ var express = require('express') var MemoryStore = express.session.MemoryStore var mongoStore = require('connect-mongo')(express) var path = require('path') var fs = require('fs') var _ = require('underscore') var mongoose = require('mongoose') var passport = require('passport') var http = require('http') var socketio = require('socket.io') var passportSocketIo = require('passport.socketio') // Load configurations var env = process.env.NODE_ENV || 'development' var config = require('./config/config')[env] // Bootstrap db connection mongoose.connect(config.db) // Bootstrap models var modelsDir = path.join(__dirname, '/app/models') fs.readdirSync(modelsDir).forEach(function (file) { if (~file.indexOf('.js')) require(modelsDir + '/' + file) }) // Bootstrap passport config require('./config/passport')(passport, config) var app = express() var store = new mongoStore({ url : config.db, collection : 'sessions' }); //var store = new MemoryStore() // express settings require('./config/express')(app, config, passport, store) // Bootstrap routes require('./config/routes')(app, passport) var server = http.createServer(app) var sio = socketio.listen(server) var clients = {} var socketsOfClients = {} sio.configure(function () { sio.set('authorization', passportSocketIo.authorize({ cookieParser: express.cookieParser, //or connect.cookieParser key: 'express.sid', //the cookie where express (or connect) stores the session id. secret: 'dirty', //the session secret to parse the cookie store: store, //the session store that express uses fail: function (data, accept) { // *optional* callbacks on success or fail accept(null, false) // second parameter takes boolean on whether or not to allow handshake }, success: function (data, accept) { accept(null, true) } })) }) // upon connection, start a periodic task that emits (every 1s) the current timestamp sio.sockets.on('connection', function (socket) { var username = socket.handshake.user.username; clients[username] = socket.id socketsOfClients[socket.id] = username userNameAvailable(socket.id, username) userJoined(username) socket.on('data', function (data) { socket.broadcast.emit('data', { 'drawing' : data }) }) socket.on('message', function (data) { var now = new Date(); sio.sockets.emit('message', { 'source': socketsOfClients[socket.id], 'time': now.getHours() + ':' + now.getMinutes() + ':' + now.getSeconds(), 'message': data.message }) }) socket.on('disconnect', function() { var username = socketsOfClients[socket.id] delete socketsOfClients[socket.id] delete clients[username]; // relay this message to all the clients userLeft(username) }) }) // Start the application by listening on port <> var port = process.env.PORT || 3000 server.listen(port, function(){ console.log('Express server listening on port ' + port) }); function userNameAvailable(socketId, username) { setTimeout(function(){ sio.sockets.sockets[socketId].emit('user welcome', { "currentUsers": JSON.stringify(Object.keys(clients)) }); }, 500); } function userJoined(username) { Object.keys(socketsOfClients).forEach(function(socketId) { sio.sockets.sockets[socketId].emit('user joined', { "username": username }); }); } function userLeft(username) { sio.sockets.emit('user left', { "username": username }); } // expose app exports = module.exports = app;
rtorino/shiny-octo-ironman
app.js
JavaScript
mit
3,595
#guimporter.py import sys from PySide import QtGui, QtCore, QtWebKit Signal = QtCore.Signal
lazunin/stclient
guimporter.py
Python
mit
92
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SearchForANumber")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("SearchForANumber")] [assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("fe6220fa-63b8-4168-9867-f466b571c2a5")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
davidvaleff/ProgrammingFundamentals-Sept2017
06.Lists/Exercises/SearchForANumber/Properties/AssemblyInfo.cs
C#
mit
1,403
'use strict'; var redis = require('redis') , xtend = require('xtend') , hyperquest = require('hyperquest') ; module.exports = FetchAndCache; /** * Creates a fetchncache instance. * * #### redis opts * * - **opts.redis.host** *{number=}* host at which redis is listening, defaults to `127.0.0.1` * - **opts.redis.port** *{string=}* port at which redis is listening, defaults to `6379` * * #### service opts * * - **opts.service.url** *{string=}* url at which to reach the service * * @name fetchncache * @function * @param {Object=} opts * @param {Object=} opts.redis redis options passed straight to [redis](https://github.com/mranney/node_redis) (@see above) * @param {Object=} opts.service options specifying how to reach the service that provides the data (@see above) * @param {number=} opts.expire the default number of seconds after which to expire a resource from the redis cache (defaults to 15mins) * @return {Object} fetchncache instance */ function FetchAndCache(opts) { if (!(this instanceof FetchAndCache)) return new FetchAndCache(opts); opts = opts || {}; var redisOpts = xtend({ port: 6379, host: '127.0.0.1' }, opts.redis) , serviceOpts = xtend({ url: 'http://127.0.0.1' }, opts.service) this._defaultExpire = opts.expire || 15 * 60 // 15min this._serviceOpts = serviceOpts; this._markCached = opts.markCached !== false; this._client = redis.createClient(redisOpts.port, redisOpts.host, redisOpts) } var proto = FetchAndCache.prototype; /** * Fetches the resource, probing the redis cache first and falling back to the service. * If a transform function is provided (@see opts), that is applied to the result before returning or caching it. * When fetched from the service it is added to the redis cached according to the provided options. * * @name fetcncache::fetch * @function * @param {string} uri path to the resource, i.e. `/reource1?q=1234` * @param {Object=} opts configure caching and transformation behavior for this particular resource * @param {number=} opts.expire overrides default expire for this particular resource * @param {function=} opts.transform specify the transform function to be applied, default: `function (res} { return res }` * @param {function} cb called back with an error or the transformed resource */ proto.fetch = function (uri, opts, cb) { var self = this; if (!self._client) return cb(new Error('fetchncache was stopped and can no longer be used to fetch data')); if (typeof opts === 'function') { cb = opts; opts = null; } opts = xtend({ expire: self._defaultExpire, transform: function (x) { return x } }, opts); self._client.get(uri, function (err, res) { if (err) return cb(err); if (res) return cb(null, res, true); self._get(uri, function (err, res) { if (err) return cb(err); self._cache(uri, res, opts, cb); }) }); } /** * Stops the redis client in order to allow exiting the application. * At this point this fetchncache instance becomes unusable and throws errors on any attempts to use it. * * @name fetchncache::stop * @function * @param {boolean=} force will make it more aggressive about ending the underlying redis client (default: false) */ proto.stop = function (force) { if (!this._client) throw new Error('fetchncache was stopped previously and cannot be stopped again'); if (force) this._client.end(); else this._client.unref(); this._client = null; } /** * Clears the entire redis cache, so use with care. * Mainly useful for testing or to ensure that all resources get refreshed. * * @name fetchncache::clearCache * @function * @return {Object} fetchncache instance */ proto.clearCache = function () { if (!this._client) throw new Error('fetchncache was stopped previously and cannot be cleared'); this._client.flushdb(); return this; } proto._get = function (uri, cb) { var body = ''; var url = this._serviceOpts.url + uri; console.log('url', url); hyperquest .get(url) .on('error', cb) .on('data', function (d) { body += d.toString() }) .on('end', function () { cb(null, body) }) } proto._cache = function (uri, res, opts, cb) { var self = this; var val; try { val = opts.transform(res); } catch (e) { return cb(e); } // assuming that value is now a string we use set to add it self._client.set(uri, val, function (err) { if (err) return cb(err); self._client.expire(uri, opts.expire, function (err) { if (err) return cb(err); cb(null, val); }) }); }
thlorenz/fetchncache
index.js
JavaScript
mit
4,638
package org.blendee.jdbc; /** * プレースホルダを持つ SQL 文と、プレースホルダにセットする値を持つものを表すインターフェイスです。 * @author 千葉 哲嗣 */ public interface ComposedSQL extends ChainPreparedStatementComplementer { /** * このインスタンスが持つ SQL 文を返します。 * @return SQL 文 */ String sql(); /** * {@link PreparedStatementComplementer} を入れ替えた新しい {@link ComposedSQL} を生成します。 * @param complementer 入れ替える {@link PreparedStatementComplementer} * @return 同じ SQL を持つ、別のインスタンス */ default ComposedSQL reproduce(PreparedStatementComplementer complementer) { var sql = sql(); return new ComposedSQL() { @Override public String sql() { return sql; } @Override public int complement(int done, BPreparedStatement statement) { complementer.complement(statement); return Integer.MIN_VALUE; } }; } /** * {@link ChainPreparedStatementComplementer} を入れ替えた新しい {@link ComposedSQL} を生成します。 * @param complementer 入れ替える {@link ChainPreparedStatementComplementer} * @return 同じ SQL を持つ、別のインスタンス */ default ComposedSQL reproduce(ChainPreparedStatementComplementer complementer) { var sql = sql(); return new ComposedSQL() { @Override public String sql() { return sql; } @Override public int complement(int done, BPreparedStatement statement) { return complementer.complement(done, statement); } }; } }
blendee/blendee
src/main/java/org/blendee/jdbc/ComposedSQL.java
Java
mit
1,611
# basic-data-structure basic data strcture in python from THU Data Structure 3rd Edition, including: * Vector (Chapter 2) * LinkedList (Chapter 3) * Stack based on Vector and LinkedList (Chapter 4) * Queue based on Vector and LinkedList (Chapter 4) * Deque based on Vector and LinkedList (Chapter 4) * BinTree based on BinNode (Chapter 5) * GraphMatrix based on Vector and Edge (Chapter 6) * GraphList based on Vector and Edge (Chapter 6) * DisjointSet based on Vector and Edge (Chapter 6) * BinSearchTree based on BinTree (Chapter 7) * AVLTree based on BinSearchTree (Chapter 7) * SkipList based on LinkedList (Chapter 9) * HashTable (Chapter 9) * Bucket for bucket sort (Chapter 9) * Heap (Chapter 10)
haoliangyu/basic-data-structure
README.md
Markdown
mit
720
<TS language="es_419" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>Haga clic para editar la dirección o etiqueta</translation> </message> <message> <source>Create a new address</source> <translation>Crear una nueva dirección</translation> </message> <message> <source>&amp;New</source> <translation>&amp;New</translation> </message> <message> <source>Copy the currently selected address to the system clipboard</source> <translation>Copia la dirección seleccionada al portapapeles del sistema</translation> </message> <message> <source>Delete the currently selected address from the list</source> <translation>Borrar la dirección que esta seleccionada en la lista</translation> </message> <message> <source>Export the data in the current tab to a file</source> <translation>Exportar los datos de la actual tabla hacia un archivo</translation> </message> <message> <source>Choose the address to send coins to</source> <translation>Seleccione la dirección a la que enviará las monedas</translation> </message> <message> <source>Choose the address to receive coins with</source> <translation>Seleccione la dirección con la que recibirá las monedas</translation> </message> <message> <source>Sending addresses</source> <translation>Enviando direcciones</translation> </message> <message> <source>Receiving addresses</source> <translation>Recibiendo direcciones</translation> </message> <message> <source>These are your Pandacoin addresses for sending payments. Always check the amount and the receiving address before sending coins.</source> <translation>Estas son sus direcciones de Pandacoin para enviar sus pagos. Siempre revise el monto y la dirección recibida antes de enviar monedas.</translation> </message> </context> <context> <name>AddressTableModel</name> </context> <context> <name>AskPassphraseDialog</name> </context> <context> <name>BanTableModel</name> </context> <context> <name>BitcoinGUI</name> </context> <context> <name>CoinControlDialog</name> </context> <context> <name>EditAddressDialog</name> </context> <context> <name>FreespaceChecker</name> </context> <context> <name>HelpMessageDialog</name> </context> <context> <name>Intro</name> </context> <context> <name>ModalOverlay</name> </context> <context> <name>OpenURIDialog</name> </context> <context> <name>OptionsDialog</name> </context> <context> <name>OverviewPage</name> </context> <context> <name>PaymentServer</name> </context> <context> <name>PeerTableModel</name> </context> <context> <name>QObject</name> </context> <context> <name>QObject::QObject</name> </context> <context> <name>QRImageWidget</name> </context> <context> <name>RPCConsole</name> </context> <context> <name>ReceiveCoinsDialog</name> </context> <context> <name>ReceiveRequestDialog</name> </context> <context> <name>RecentRequestsTableModel</name> </context> <context> <name>SendCoinsDialog</name> </context> <context> <name>SendCoinsEntry</name> </context> <context> <name>SendConfirmationDialog</name> </context> <context> <name>ShutdownWindow</name> </context> <context> <name>SignVerifyMessageDialog</name> </context> <context> <name>SplashScreen</name> </context> <context> <name>TrafficGraphWidget</name> </context> <context> <name>TransactionDesc</name> </context> <context> <name>TransactionDescDialog</name> </context> <context> <name>TransactionTableModel</name> </context> <context> <name>TransactionView</name> </context> <context> <name>UnitDisplayStatusBarControl</name> </context> <context> <name>WalletFrame</name> </context> <context> <name>WalletModel</name> </context> <context> <name>WalletView</name> <message> <source>Export the data in the current tab to a file</source> <translation>Exportar los datos de la actual tabla hacia un archivo</translation> </message> </context> <context> <name>bitcoin-core</name> </context> </TS>
DigitalPandacoin/pandacoin
src/qt/locale/bitcoin_es_419.ts
TypeScript
mit
4,495
package com.github.sixro.minihabits.core.infrastructure.domain; import java.util.*; import com.badlogic.gdx.Preferences; import com.github.sixro.minihabits.core.domain.*; public class PreferencesBasedRepository implements Repository { private final Preferences prefs; public PreferencesBasedRepository(Preferences prefs) { super(); this.prefs = prefs; } @Override public Set<MiniHabit> findAll() { String text = prefs.getString("mini_habits"); if (text == null || text.trim().isEmpty()) return new LinkedHashSet<MiniHabit>(); return newMiniHabits(text); } @Override public void add(MiniHabit miniHabit) { Set<MiniHabit> list = findAll(); list.add(miniHabit); prefs.putString("mini_habits", asString(list)); prefs.flush(); } @Override public void update(Collection<MiniHabit> list) { Set<MiniHabit> currentList = findAll(); currentList.removeAll(list); currentList.addAll(list); prefs.putString("mini_habits", asString(currentList)); prefs.flush(); } @Override public void updateProgressDate(DateAtMidnight aDate) { prefs.putLong("last_feedback_timestamp", aDate.getTime()); prefs.flush(); } @Override public DateAtMidnight lastFeedbackDate() { long timestamp = prefs.getLong("last_feedback_timestamp"); if (timestamp == 0L) return null; return DateAtMidnight.from(timestamp); } private Set<MiniHabit> newMiniHabits(String text) { String[] parts = text.split(","); Set<MiniHabit> ret = new LinkedHashSet<MiniHabit>(); for (String part: parts) ret.add(newMiniHabit(part)); return ret; } private MiniHabit newMiniHabit(String part) { int indexOfColon = part.indexOf(':'); String label = part.substring(0, indexOfColon); Integer daysInProgress = Integer.parseInt(part.substring(indexOfColon +1)); MiniHabit habit = new MiniHabit(label, daysInProgress); return habit; } private String asString(Collection<MiniHabit> list) { StringBuilder b = new StringBuilder(); int i = 0; for (MiniHabit each: list) { b.append(each.label() + ":" + each.daysInProgress()); if (i < list.size()-1) b.append(','); i++; } return b.toString(); } }
sixro/minihabits
core/src/main/java/com/github/sixro/minihabits/core/infrastructure/domain/PreferencesBasedRepository.java
Java
mit
2,241
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); let _ = require('lodash'); let async = require('async'); const pip_services3_commons_node_1 = require("pip-services3-commons-node"); const pip_services3_facade_node_1 = require("pip-services3-facade-node"); class RolesOperationsV1 extends pip_services3_facade_node_1.FacadeOperations { constructor() { super(); this._dependencyResolver.put('roles', new pip_services3_commons_node_1.Descriptor('pip-services-roles', 'client', '*', '*', '1.0')); } setReferences(references) { super.setReferences(references); this._rolesClient = this._dependencyResolver.getOneRequired('roles'); } getUserRolesOperation() { return (req, res) => { this.getUserRoles(req, res); }; } grantUserRolesOperation() { return (req, res) => { this.grantUserRoles(req, res); }; } revokeUserRolesOperation() { return (req, res) => { this.revokeUserRoles(req, res); }; } getUserRoles(req, res) { let userId = req.route.params.user_id; this._rolesClient.getRolesById(null, userId, this.sendResult(req, res)); } grantUserRoles(req, res) { let userId = req.route.params.user_id; let roles = req.body; this._rolesClient.grantRoles(null, userId, roles, this.sendResult(req, res)); } revokeUserRoles(req, res) { let userId = req.route.params.user_id; let roles = req.body; this._rolesClient.revokeRoles(null, userId, roles, this.sendResult(req, res)); } } exports.RolesOperationsV1 = RolesOperationsV1; //# sourceMappingURL=RolesOperationsV1.js.map
pip-services-users/pip-facade-users-node
obj/src/operations/version1/RolesOperationsV1.js
JavaScript
mit
1,730
local core = require ("core") local function echo (prefix, channel, suffix) core:respond (channel, "My life meaning: Marry Ratbot!") end core:addCommand ("meaning", echo)
bauen1/Ratbeef
modules/fun/meaning.lua
Lua
mit
175
require_relative 'rules_factory_common' FactoryBot.define do factory :priority_bills, parent: :answers do factory :S6_H1_missed_payment_low, traits: [:country, :S6_H1_missed_payment_low_answers] factory :S6_H2_council_tax_severe, traits: [:country, :S6_H2_tax_severe_answers] factory :S6_H2_domestic_rates_severe, traits: [:country, :S6_H2_tax_severe_answers] factory :S6_H2_council_tax_temp_worried, traits: [:country, :S6_H2_tax_temp_worried_answers] factory :S6_H2_domestic_rates_temp_worried, traits: [:country, :S6_H2_tax_temp_worried_answers] factory :S6_H2_council_tax_temp_normal, traits: [:country, :S6_H2_tax_temp_normal_answers] factory :S6_H2_domestic_rates_temp_normal, traits: [:country, :S6_H2_tax_temp_normal_answers] factory :S6_H2_council_tax_no_change, traits: [:country, :S6_H2_tax_no_change_answers] factory :S6_H2_domestic_rates_no_change, traits: [:country, :S6_H2_tax_no_change_answers] factory :S6_H3_gas_electricity_severe, traits: [:country, :S6_H3_gas_electricity_severe_answers] factory :S6_H3_gas_electricity_temp_worried, traits: [:country, :S6_H3_gas_electricity_temp_worried_answers] factory :S6_H3_gas_electricity_temp_normal, traits: [:country, :S6_H3_gas_electricity_temp_normal_answers] factory :S6_H3_gas_electricity_no_change, traits: [:country, :S6_H3_gas_electricity_no_change_answers] factory :S6_H4_dmp_hmrc_severe, traits: [:country, :S6_H4_dmp_hmrc_severe_answers] factory :S6_H4_dmp_hmrc_temp_worried, traits: [:country, :S6_H4_dmp_hmrc_temp_worried_answers] factory :S6_H4_dmp_hmrc_temp_normal, traits: [:country, :S6_H4_dmp_hmrc_temp_normal_answers] factory :S6_H4_dmp_hmrc_no_change, traits: [:country, :S6_H4_dmp_hmrc_no_change_answers] factory :S6_H5_tv_licence_severe, traits: [:country, :S6_H5_tv_licence_severe_answers] factory :S6_H5_tv_licence_temp_worried, traits: [:country, :S6_H5_tv_licence_temp_worried_answers] factory :S6_H5_tv_licence_temp_normal, traits: [:country, :S6_H5_tv_licence_temp_normal_answers] factory :S6_H5_tv_licence_no_change, traits: [:country, :S6_H5_tv_licence_no_change_answers] factory :S6_H6_income_tax_severe, traits: [:country, :S6_H6_income_tax_severe_answers] factory :S6_H6_income_tax_temp_worried, traits: [:country, :S6_H6_income_tax_temp_worried_answers] factory :S6_H6_income_tax_temp_normal, traits: [:country, :S6_H6_income_tax_temp_normal_answers] factory :S6_H6_income_tax_no_change, traits: [:country, :S6_H6_income_tax_no_change_answers] factory :S6_H7_child_maintenance_severe, traits: [:country, :S6_H7_child_maintenance_severe_answers] factory :S6_H7_child_maintenance_temp_worried, traits: [:country, :S6_H7_child_maintenance_temp_worried_answers] factory :S6_H7_child_maintenance_temp_normal, traits: [:country, :S6_H7_child_maintenance_temp_normal_answers] factory :S6_H7_child_maintenance_no_change, traits: [:country, :S6_H7_child_maintenance_no_change_answers] factory :S6_H8_court_fines_severe, traits: [:country, :S6_H8_court_fines_severe_answers] factory :S6_H8_court_fines_temp_worried, traits: [:country, :S6_H8_court_fines_temp_worried_answers] factory :S6_H8_court_fines_temp_normal, traits: [:country, :S6_H8_court_fines_temp_normal_answers] factory :S6_H8_court_fines_temp_normal_ni, traits: [:country, :S6_H8_court_fines_temp_normal_ni_answers] factory :S6_H8_court_fines_temp_normal_scotland, traits: [:country, :S6_H8_court_fines_temp_normal_scotland_answers] factory :S6_H8_court_fines_no_change, traits: [:country, :S6_H8_court_fines_no_change_answers] factory :S6_H9_hire_purchase_severe, traits: [:country, :S6_H9_hire_purchase_severe_answers] factory :S6_H9_hire_purchase_temp_worried, traits: [:country, :S6_H9_hire_purchase_temp_worried_answers] factory :S6_H9_hire_purchase_temp_normal, traits: [:country, :S6_H9_hire_purchase_temp_normal_answers] factory :S6_H9_hire_purchase_no_change, traits: [:country, :S6_H9_hire_purchase_no_change_answers] factory :S6_H10_car_park_severe, traits: [:country, :S6_H10_car_park_severe_answers] factory :S6_H10_car_park_temp_worried, traits: [:country, :S6_H10_car_park_temp_worried_answers] factory :S6_H10_car_park_temp_normal, traits: [:country, :S6_H10_car_park_temp_normal_answers] factory :S6_H10_car_park_temp_normal_ni, traits: [:country, :S6_H10_car_park_temp_normal_ni_answers] factory :S6_H10_car_park_temp_normal_scotland, traits: [:country, :S6_H10_car_park_temp_normal_scotland_answers] factory :S6_H10_car_park_no_change, traits: [:country, :S6_H10_car_park_no_change_answers] trait :S6_H1_missed_payment_low_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', [], nil) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8', 'a9'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H2_tax_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a1'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H2_tax_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a1'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H2_tax_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a1'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H2_tax_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a1'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H3_gas_electricity_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a2'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H3_gas_electricity_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a2'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H3_gas_electricity_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a2'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H3_gas_electricity_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a2'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H4_dmp_hmrc_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a3'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H4_dmp_hmrc_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a3'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H4_dmp_hmrc_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a3'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H4_dmp_hmrc_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a3'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H5_tv_licence_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a4'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H5_tv_licence_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a4'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H5_tv_licence_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a4'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H5_tv_licence_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a4'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H6_income_tax_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a5'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H6_income_tax_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a5'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H6_income_tax_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a5'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H6_income_tax_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a5'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H7_child_maintenance_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a6'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H7_child_maintenance_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a6'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H7_child_maintenance_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a6'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H7_child_maintenance_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a6'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H8_court_fines_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a7'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H8_court_fines_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a7'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H8_court_fines_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a7'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H8_court_fines_temp_normal_ni_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a7'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H8_court_fines_temp_normal_scotland_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a7'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H8_court_fines_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a7'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H9_hire_purchase_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a8'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H9_hire_purchase_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a8'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H9_hire_purchase_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a8'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H9_hire_purchase_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a8'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H10_car_park_severe_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a1'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a9'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H10_car_park_temp_worried_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a2'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a9'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H10_car_park_temp_normal_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a9'], nil) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H10_car_park_temp_normal_ni_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a9'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H10_car_park_temp_normal_scotland_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a3'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a9'], []) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end trait :S6_H10_car_park_no_change_answers do q1 { answers_with_entropy('q1', [], nil) } q2 { answers_with_entropy('q2', [], nil) } q3 { answers_with_entropy('q3', [], nil) } q4 { answers_with_entropy('q4', ['a4'], []) } q5 { answers_with_entropy('q5', [], nil) } q6 { answers_with_entropy('q6', [], nil) } q7 { answers_with_entropy('q7', ['a9'],[] ) } q8 { answers_with_entropy('q8', [], nil) } q9 { answers_with_entropy('q9', [], nil) } q11 { answers_with_entropy('q11', [], nil) } q12 { answers_with_entropy('q12', [], nil) } q13 { answers_with_entropy('q13', [], nil) } q14 { answers_with_entropy('q14', [], nil) } end end end
moneyadviceservice/frontend
features/factories/money_navigator/priority_bills_rules.rb
Ruby
mit
33,882
var config = require('../lib/config')(); var Changeset = require('./Changeset'); var queries = require('./queries'); var helpers = require('../helpers'); require('../validators'); var validate = require('validate.js'); var errors = require('../errors'); var pgPromise = helpers.pgPromise; var promisifyQuery = helpers.promisifyQuery; var changesets = {}; module.exports = changesets; var pgURL = config.PostgresURL; changesets.search = function(params) { var parseError = validateParams(params); if (parseError) { return Promise.reject(new errors.ParseError(parseError)); } var searchQuery = queries.getSearchQuery(params); var countQuery = queries.getCountQuery(params); console.log('searchQ', searchQuery); console.log('countQ', countQuery); return pgPromise(pgURL) .then(function (pg) { var query = promisifyQuery(pg.client); var searchProm = query(searchQuery.text, searchQuery.values); var countProm = query(countQuery.text, countQuery.values); return Promise.all([searchProm, countProm]) .then(function (r) { pg.done(); return r; }) .catch(function (e) { pg.done(); return Promise.reject(e); }); }) .then(processSearchResults); }; changesets.get = function(id) { if (!validate.isNumber(parseInt(id, 10))) { return Promise.reject(new errors.ParseError('Changeset id must be a number')); } var changesetQuery = queries.getChangesetQuery(id); var changesetCommentsQuery = queries.getChangesetCommentsQuery(id); return pgPromise(pgURL) .then(function (pg) { var query = promisifyQuery(pg.client); var changesetProm = query(changesetQuery.text, changesetQuery.values); var changesetCommentsProm = query(changesetCommentsQuery.text, changesetCommentsQuery.values); return Promise.all([changesetProm, changesetCommentsProm]) .then(function (results) { pg.done(); return results; }) .catch(function (e) { pg.done(); return Promise.reject(e); }); }) .then(function (results) { var changesetResult = results[0]; if (changesetResult.rows.length === 0) { return Promise.reject(new errors.NotFoundError('Changeset not found')); } var changeset = new Changeset(results[0].rows[0], results[1].rows); return changeset.getGeoJSON(); }); }; function processSearchResults(results) { var searchResult = results[0]; var countResult = results[1]; var changesetsArray = searchResult.rows.map(function (row) { var changeset = new Changeset(row); return changeset.getGeoJSON(); }); var count; if (countResult.rows.length > 0) { count = countResult.rows[0].count; } else { count = 0; } var featureCollection = { 'type': 'FeatureCollection', 'features': changesetsArray, 'total': count }; return featureCollection; } function validateParams(params) { var constraints = { 'from': { 'presence': false, 'datetime': true }, 'to': { 'presence': false, 'datetime': true }, 'bbox': { 'presence': false, 'bbox': true } }; var errs = validate(params, constraints); if (errs) { var errMsg = Object.keys(errs).map(function(key) { return errs[key][0]; }).join(', '); return errMsg; } return null; }
mapbox/osm-comments-api
changesets/index.js
JavaScript
mit
3,841
# Nancy.Rest.Client Dynamic proxy client generation for [Nancy](http://nancyfx.org) using [Nancy.Rest.Module](https://github.com/maxpiva/Nancy.Rest.Module). ## Prerequisites A server using [Nancy](http://nancyfx.org) & [Nancy.Rest.Module](https://github.com/maxpiva/Nancy.Rest.Module). It is recommended you read the [Nancy.Rest.Module](https://github.com/maxpiva/Nancy.Rest.Module) documentation to understand how the server mount the services before continuing reading. ## Installation * Add [Nancy.Rest.Client](https://github.com/maxpiva/Nancy.Rest.Client) and [Nancy.Rest.Annotations](https://github.com/maxpiva/Nancy.Rest.Annotations) to your client project. Or * Add the Nuget package [Nancy.Rest.Client](https://www.nuget.org/packages/Nancy.Rest.Client/) Add your server models and interface with the method signatures to use. ## Basic Usage ####Your Server signatures: ```csharp namespace Nancy.Rest.ExampleServer { [RestBasePath("/api")] public interface IExample { [Rest("Person", Verbs.Get)] List<Person> GetAllPersons(); [Rest("Person/{personid}", Verbs.Get)] Person GetPerson(int personid); [Rest("Person", Verbs.Post)] bool SavePerson(Person person); [Rest("Person/{personid}", Verbs.Delete)] bool DeletePerson(int personid); } } ``` ####Your Server Models ```csharp namespace Nancy.Rest.ExampleServer { public class Person { public string FirstName { get; set; } public string LastName { get; set; } [Level(1)] public bool IsProgrammer { get; set; } [Tags("Attr")] public List<string> Attributes { get; set; } } } ``` #### Your Client ```csharp namespace Nancy.Rest.ExampleClient { public class Example { public void Run() { IExample server=ClientFactory.Create<IExample>("http://yourserver/api"); ` List<Person> persons=server.GetPersons(); } } } ``` ##Advanced Usage ###Transversal Filtering [Nancy.Rest.Client](https://github.com/maxpiva/Nancy.Rest.Client) includes this interface. ```csharp using System.Collections.Generic; namespace Nancy.Rest.Client.Interfaces { public interface IFilter<T> { T FilterWithLevel(int level); T FilterWithTags(IEnumerable<string> tags); T FilterWithLevelAndTags(int level, IEnumerable<string> tags); } } ``` Create a new interface in your client that includes, both, [IFilter](https://github.com/maxpiva/Nancy.Rest.Client/blob/master/Interfaces/IFilter.cs) interface and your server interface. ```csharp namespace Nancy.Rest.ExampleClient { public interface IExampleWithFiltering : IExample, IFilter<IExample> { } } ``` Then you can use the transversal filtering capabilities of the server like this: ```csharp namespace Nancy.Rest.ExampleClient { public class Example { public void Run() { IExampleWithFiltering server=ClientFactory.Create<IExampleWithFiltering>("http://yourserver/api"); ` //Per example, you can ask the server to not serialize any property with level bigger than the number provided. //Here we can filter the IsProgrammer property using levels. List<Person> persons=server.FilterWithLevel(0).GetPersons(); //Or remove the Attributes property using Tags. List<Person> persons=server.FilterWithTags(new string[] { "Attr"}).GetPersons(); } } } ``` ###Controlable deserialization Imagine you have your poco models from the server, but you need to add some properties, methods or INotifyPropertyChanged to that objects, you create a child class from the model, and add all those things. The problem is, the deserialzer will deserialize your poco model, so you have to create a new child class, and copy all properties to your child. Nancy.Rest.Client have the capability of deserializing the objects to child objects. ####Client model ```csharp namespace Nancy.Rest.ExampleClient { public class ClientPerson : Person { public bool IsSuperman { get; set; } public void DoSomeNastyThings() { //Kidding } } } ``` ####Example ```csharp namespace Nancy.Rest.ExampleClient { public class Example { public void Run() { Dictionary<Type,Type> mappings=new Dictionary<Type,Type>(); //Here we add the mapping, we want every person to be deserialized as ClientPerson mappings.Add(typeof(Person), typeof(ClientPerson)); IExample server=ClientFactory.Create<IExample>("http://yourserver/api", mappings); ` //Here is your list of client persons List<ClientPerson> persons=server.GetPersons().Cast<ClientPerson>.ToList(); } } } ``` ##WARNING THIS IS AN BETA VERSION, so far it works on my machine ;) ## TODO * Fill the blanks :P ## History **1.4.3-Beta**: Removed bugs, published nugets. **1.4.3-Alpha**: First Release ## Built With * [JSON.Net](newtonsoft.com/json/) * [impromptu-interface](https://github.com/ekonbenefits/impromptu-interface) ## Credits * **Maximo Piva** - [maxpiva](https://github.com/maxpiva) ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
maxpiva/Nancy.Rest.Client
README.md
Markdown
mit
5,497
Setlocal EnableDelayedExpansion @rem BUILD SOLUTIONS C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild META\make.msbuild /t:All /m /nodeReuse:false || exit /b !ERRORLEVEL! C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild tonka\make.msbuild /t:All /m /nodeReuse:false || exit /b !ERRORLEVEL! @rem RUN TONKA TESTS del tonka\test\*_result.xml del tonka\test\*_results.xml tonka\run_tests_console_output_xml_parallel.py || exit /b !ERRORLEVEL! @rem RUN META TESTS del META\test\*_result.xml del META\test\*_results.xml c:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild META\test\run.msbuild || exit /b !ERRORLEVEL! @rem BUILD INSTALLER pushd META\deploy ..\bin\Python27\Scripts\python.exe build_msi.py || (popd & exit /b !ERRORLEVEL!) popd
pombredanne/metamorphosys-desktop
metamorphosys/jenkins_build.cmd
Batchfile
mit
771
//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Windows.Automation.Peers; using System.Windows.Media; using System.Windows.Threading; using MS.Internal.KnownBoxes; namespace System.Windows.Controls.Primitives { /// <summary> /// StatusBar is a visual indicator of the operational status of an application and/or /// its components running in a window. StatusBar control consists of a series of zones /// on a band that can display text, graphics, or other rich content. The control can /// group items within these zones to emphasize relational similarities or functional /// connections. The StatusBar can accommodate multiple sets of UI or functionality that /// can be chosen even within the same application. /// </summary> [StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(StatusBarItem))] public class StatusBar : ItemsControl { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors static StatusBar() { DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); _dType = DependencyObjectType.FromSystemTypeInternal(typeof(StatusBar)); IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); ItemsPanelTemplate template = new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DockPanel))); template.Seal(); ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); } #endregion #region Public Properties /// <summary> /// DependencyProperty for ItemContainerTemplateSelector property. /// </summary> public static readonly DependencyProperty ItemContainerTemplateSelectorProperty = MenuBase.ItemContainerTemplateSelectorProperty.AddOwner( typeof(StatusBar), new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); /// <summary> /// DataTemplateSelector property which provides the DataTemplate to be used to create an instance of the ItemContainer. /// </summary> public ItemContainerTemplateSelector ItemContainerTemplateSelector { get { return (ItemContainerTemplateSelector)GetValue(ItemContainerTemplateSelectorProperty); } set { SetValue(ItemContainerTemplateSelectorProperty, value); } } /// <summary> /// DependencyProperty for UsesItemContainerTemplate property. /// </summary> public static readonly DependencyProperty UsesItemContainerTemplateProperty = MenuBase.UsesItemContainerTemplateProperty.AddOwner(typeof(StatusBar)); /// <summary> /// UsesItemContainerTemplate property which says whether the ItemContainerTemplateSelector property is to be used. /// </summary> public bool UsesItemContainerTemplate { get { return (bool)GetValue(UsesItemContainerTemplateProperty); } set { SetValue(UsesItemContainerTemplateProperty, value); } } #endregion //------------------------------------------------------------------- // // Protected Methods // //------------------------------------------------------------------- #region Protected Methods private object _currentItem; /// <summary> /// Return true if the item is (or is eligible to be) its own ItemUI /// </summary> protected override bool IsItemItsOwnContainerOverride(object item) { bool ret = (item is StatusBarItem) || (item is Separator); if (!ret) { _currentItem = item; } return ret; } protected override DependencyObject GetContainerForItemOverride() { object currentItem = _currentItem; _currentItem = null; if (UsesItemContainerTemplate) { DataTemplate itemContainerTemplate = ItemContainerTemplateSelector.SelectTemplate(currentItem, this); if (itemContainerTemplate != null) { object itemContainer = itemContainerTemplate.LoadContent(); if (itemContainer is StatusBarItem || itemContainer is Separator) { return itemContainer as DependencyObject; } else { throw new InvalidOperationException(SR.Get(SRID.InvalidItemContainer, this.GetType().Name, typeof(StatusBarItem).Name, typeof(Separator).Name, itemContainer)); } } } return new StatusBarItem(); } /// <summary> /// Prepare the element to display the item. This may involve /// applying styles, setting bindings, etc. /// </summary> protected override void PrepareContainerForItemOverride(DependencyObject element, object item) { base.PrepareContainerForItemOverride(element, item); Separator separator = element as Separator; if (separator != null) { bool hasModifiers; BaseValueSourceInternal vs = separator.GetValueSource(StyleProperty, null, out hasModifiers); if (vs <= BaseValueSourceInternal.ImplicitReference) separator.SetResourceReference(StyleProperty, SeparatorStyleKey); separator.DefaultStyleKey = SeparatorStyleKey; } } /// <summary> /// Determine whether the ItemContainerStyle/StyleSelector should apply to the container /// </summary> /// <returns>false if item is a Separator, otherwise return true</returns> protected override bool ShouldApplyItemContainerStyle(DependencyObject container, object item) { if (item is Separator) { return false; } else { return base.ShouldApplyItemContainerStyle(container, item); } } #endregion #region Accessibility /// <summary> /// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) /// </summary> protected override AutomationPeer OnCreateAutomationPeer() { return new StatusBarAutomationPeer(this); } #endregion #region DTypeThemeStyleKey // Returns the DependencyObjectType for the registered ThemeStyleKey's default // value. Controls will override this method to return approriate types. internal override DependencyObjectType DTypeThemeStyleKey { get { return _dType; } } private static DependencyObjectType _dType; #endregion DTypeThemeStyleKey #region ItemsStyleKey /// <summary> /// Resource Key for the SeparatorStyle /// </summary> public static ResourceKey SeparatorStyleKey { get { return SystemResourceKey.StatusBarSeparatorStyleKey; } } #endregion } }
mind0n/hive
Cache/Libs/net46/wpf/src/Framework/System/Windows/Controls/Primitives/StatusBar.cs
C#
mit
7,812
// John Meyer // CSE 271 F // Dr. Angel Bravo import java.util.Scanner; import java.io.*; /** * Copies a file with line numbers prefixed to every line */ public class Lab2InputOutput { public static void main(String[] args) throws Exception { // Define variables Scanner keyboardReader = new Scanner(System.in); String inputFileName; String outputFileName; // Check arguments if (args.length == 0) { System.out.println("Usage: java Lab2InputOutput /path/to/file"); return; } inputFileName = args[0]; // Find input file File inputFile = new File(inputFileName); Scanner fileInput = new Scanner(inputFile); // Get output file name System.out.print("Output File Name: "); outputFileName = keyboardReader.next(); File outputFile = new File(outputFileName); // Start copying PrintWriter fileOutput = new PrintWriter(outputFile); String lineContent; for (int lineNumber = 1; fileInput.hasNext(); lineNumber++) { lineContent = fileInput.nextLine(); fileOutput.printf("/* %d */ %s%n", lineNumber, lineContent); } fileInput.close(); fileOutput.close(); } // end method main } // end class Lab2InputOutput
0x326/academic-code-portfolio
2016-2021 Miami University/CSE 271 Introduction to Object-Oriented Programming/Lab02/src/main/java/Lab2InputOutput.java
Java
mit
1,334
/* ' Copyright (c) 2013 Christoc.com Software Solutions ' All rights reserved. ' ' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED ' TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ' THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF ' CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ' DEALINGS IN THE SOFTWARE. ' */ using System; using DotNetNuke.Common.Utilities; using DotNetNuke.Framework.Providers; namespace Christoc.Modules.DNNSignalR.Data { /// ----------------------------------------------------------------------------- /// <summary> /// SQL Server implementation of the abstract DataProvider class /// /// This concreted data provider class provides the implementation of the abstract methods /// from data dataprovider.cs /// /// In most cases you will only modify the Public methods region below. /// </summary> /// ----------------------------------------------------------------------------- public class SqlDataProvider : DataProvider { #region Private Members private const string ProviderType = "data"; private const string ModuleQualifier = "DNNSignalR_"; private readonly ProviderConfiguration _providerConfiguration = ProviderConfiguration.GetProviderConfiguration(ProviderType); private readonly string _connectionString; private readonly string _providerPath; private readonly string _objectQualifier; private readonly string _databaseOwner; #endregion #region Constructors public SqlDataProvider() { // Read the configuration specific information for this provider Provider objProvider = (Provider)(_providerConfiguration.Providers[_providerConfiguration.DefaultProvider]); // Read the attributes for this provider //Get Connection string from web.config _connectionString = Config.GetConnectionString(); if (string.IsNullOrEmpty(_connectionString)) { // Use connection string specified in provider _connectionString = objProvider.Attributes["connectionString"]; } _providerPath = objProvider.Attributes["providerPath"]; _objectQualifier = objProvider.Attributes["objectQualifier"]; if (!string.IsNullOrEmpty(_objectQualifier) && _objectQualifier.EndsWith("_", StringComparison.Ordinal) == false) { _objectQualifier += "_"; } _databaseOwner = objProvider.Attributes["databaseOwner"]; if (!string.IsNullOrEmpty(_databaseOwner) && _databaseOwner.EndsWith(".", StringComparison.Ordinal) == false) { _databaseOwner += "."; } } #endregion #region Properties public string ConnectionString { get { return _connectionString; } } public string ProviderPath { get { return _providerPath; } } public string ObjectQualifier { get { return _objectQualifier; } } public string DatabaseOwner { get { return _databaseOwner; } } // used to prefect your database objects (stored procedures, tables, views, etc) private string NamePrefix { get { return DatabaseOwner + ObjectQualifier + ModuleQualifier; } } #endregion #region Private Methods private static object GetNull(object field) { return Null.GetNull(field, DBNull.Value); } #endregion #region Public Methods //public override IDataReader GetItem(int itemId) //{ // return SqlHelper.ExecuteReader(ConnectionString, NamePrefix + "spGetItem", itemId); //} //public override IDataReader GetItems(int userId, int portalId) //{ // return SqlHelper.ExecuteReader(ConnectionString, NamePrefix + "spGetItemsForUser", userId, portalId); //} #endregion } }
ChrisHammond/DNN-SignalR
Providers/DataProviders/SqlDataProvider/SqlDataProvider.cs
C#
mit
4,526
module ClassifyCluster VERSION = "0.4.17" end
socialcast/classify_cluster
lib/classify_cluster/version.rb
Ruby
mit
48
set Path=%PATH%;"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\" makecert -r -pe -n "CN=ChangeDynamix LLC" -sr localmachine -a sha1 -cy authority -sky signature -sv changedynamix.ca.pvk changedynamix.ca.cer makecert -pe -n CN="WinPCAP NDIS 6.x Filter Driver" -a sha1 -sky signature -eku 1.3.6.1.5.5.7.3.3 -ic changedynamix.ca.cer -iv changedynamix.ca.pvk -sv pcap-ndis6.pvk pcap-ndis6.cer pvk2pfx -pvk pcap-ndis6.pvk -spc pcap-ndis6.cer -pfx pcap-ndis6.pfx
SageAxcess/pcap-ndis6
cert/create_cs_cert.cmd
Batchfile
mit
469
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_91) on Mon Jun 20 22:26:50 PDT 2016 --> <title>Rational</title> <meta name="date" content="2016-06-20"> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> <script type="text/javascript" src="script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Rational"; } } catch(err) { } //--> var methods = {"i0":9,"i1":10,"i2":10,"i3":9,"i4":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="index-all.html">Index</a></li> <li><a href="help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="Main.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="RationalTest.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="index.html?Rational.html" target="_top">Frames</a></li> <li><a href="Rational.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <h2 title="Class Rational" class="title">Class Rational</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li>java.lang.Object</li> <li> <ul class="inheritance"> <li>Rational</li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <hr> <br> <pre>public class <span class="typeNameLabel">Rational</span> extends java.lang.Object</pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="Rational.html#Rational--">Rational</a></span>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="Rational.html#Rational-int-int-">Rational</a></span>(int&nbsp;num, int&nbsp;denom)</code>&nbsp;</td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>static int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="Rational.html#gcd-int-int-">gcd</a></span>(int&nbsp;a, int&nbsp;b)</code> <div class="block">greatest common divisor of a and b</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="Rational.html#getDenominator--">getDenominator</a></span>()</code>&nbsp;</td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="Rational.html#getNumerator--">getNumerator</a></span>()</code>&nbsp;</td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="Rational.html#main-java.lang.String:A-">main</a></span>(java.lang.String[]&nbsp;args)</code> <div class="block">For testing getters.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>java.lang.String</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="Rational.html#toString--">toString</a></span>()</code>&nbsp;</td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class&nbsp;java.lang.Object</h3> <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor.detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="Rational--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>Rational</h4> <pre>public&nbsp;Rational()</pre> </li> </ul> <a name="Rational-int-int-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>Rational</h4> <pre>public&nbsp;Rational(int&nbsp;num, int&nbsp;denom)</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="gcd-int-int-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>gcd</h4> <pre>public static&nbsp;int&nbsp;gcd(int&nbsp;a, int&nbsp;b)</pre> <div class="block">greatest common divisor of a and b</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>a</code> - first number</dd> <dd><code>b</code> - second number</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>gcd of a and b</dd> </dl> </li> </ul> <a name="toString--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toString</h4> <pre>public&nbsp;java.lang.String&nbsp;toString()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd> </dl> </li> </ul> <a name="getNumerator--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNumerator</h4> <pre>public&nbsp;int&nbsp;getNumerator()</pre> </li> </ul> <a name="getDenominator--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDenominator</h4> <pre>public&nbsp;int&nbsp;getDenominator()</pre> </li> </ul> <a name="main-java.lang.String:A-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>main</h4> <pre>public static&nbsp;void&nbsp;main(java.lang.String[]&nbsp;args)</pre> <div class="block">For testing getters.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>args</code> - unused</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="package-tree.html">Tree</a></li> <li><a href="deprecated-list.html">Deprecated</a></li> <li><a href="index-all.html">Index</a></li> <li><a href="help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="Main.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Prev&nbsp;Class</span></a></li> <li><a href="RationalTest.html" title="class in &lt;Unnamed&gt;"><span class="typeNameLink">Next&nbsp;Class</span></a></li> </ul> <ul class="navList"> <li><a href="index.html?Rational.html" target="_top">Frames</a></li> <li><a href="Rational.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary:&nbsp;</li> <li>Nested&nbsp;|&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail:&nbsp;</li> <li>Field&nbsp;|&nbsp;</li> <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>
UCSB-CS56-M16/cs56-rational-example
ex05/javadoc/Rational.html
HTML
mit
11,178
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt--> <title>Method Adapter.renderContext</title> <link rel="stylesheet" type="text/css" href="../../../styles/ddox.css"/> <link rel="stylesheet" href="../../../prettify/prettify.css" type="text/css"/> <script type="text/javascript" src="../../../scripts/jquery.js">/**/</script> <script type="text/javascript" src="../../../prettify/prettify.js">/**/</script> <script type="text/javascript" src="../../../scripts/ddox.js">/**/</script> </head> <body onload="prettyPrint(); setupDdox();"> <nav id="main-nav"><!-- using block navigation in layout.dt--> <ul class="tree-view"> <li class="collapsed tree-view"> <a href="#" class="package">components</a> <ul class="tree-view"> <li> <a href="../../../components/animation.html" class=" module">animation</a> </li> <li> <a href="../../../components/assets.html" class=" module">assets</a> </li> <li> <a href="../../../components/camera.html" class=" module">camera</a> </li> <li> <a href="../../../components/component.html" class=" module">component</a> </li> <li> <a href="../../../components/lights.html" class=" module">lights</a> </li> <li> <a href="../../../components/material.html" class=" module">material</a> </li> <li> <a href="../../../components/mesh.html" class=" module">mesh</a> </li> <li> <a href="../../../components/userinterface.html" class=" module">userinterface</a> </li> </ul> </li> <li class="collapsed tree-view"> <a href="#" class="package">core</a> <ul class="tree-view"> <li> <a href="../../../core/dgame.html" class=" module">dgame</a> </li> <li> <a href="../../../core/gameobject.html" class=" module">gameobject</a> </li> <li> <a href="../../../core/prefabs.html" class=" module">prefabs</a> </li> <li> <a href="../../../core/properties.html" class=" module">properties</a> </li> <li> <a href="../../../core/reflection.html" class=" module">reflection</a> </li> <li> <a href="../../../core/scene.html" class=" module">scene</a> </li> </ul> </li> <li class=" tree-view"> <a href="#" class="package">graphics</a> <ul class="tree-view"> <li class=" tree-view"> <a href="#" class="package">adapters</a> <ul class="tree-view"> <li> <a href="../../../graphics/adapters/adapter.html" class="selected module">adapter</a> </li> <li> <a href="../../../graphics/adapters/linux.html" class=" module">linux</a> </li> <li> <a href="../../../graphics/adapters/mac.html" class=" module">mac</a> </li> <li> <a href="../../../graphics/adapters/win32.html" class=" module">win32</a> </li> </ul> </li> <li class="collapsed tree-view"> <a href="#" class="package">shaders</a> <ul class="tree-view"> <li class="collapsed tree-view"> <a href="#" class="package">glsl</a> <ul class="tree-view"> <li> <a href="../../../graphics/shaders/glsl/ambientlight.html" class=" module">ambientlight</a> </li> <li> <a href="../../../graphics/shaders/glsl/animatedgeometry.html" class=" module">animatedgeometry</a> </li> <li> <a href="../../../graphics/shaders/glsl/directionallight.html" class=" module">directionallight</a> </li> <li> <a href="../../../graphics/shaders/glsl/geometry.html" class=" module">geometry</a> </li> <li> <a href="../../../graphics/shaders/glsl/pointlight.html" class=" module">pointlight</a> </li> <li> <a href="../../../graphics/shaders/glsl/shadowmap.html" class=" module">shadowmap</a> </li> <li> <a href="../../../graphics/shaders/glsl/userinterface.html" class=" module">userinterface</a> </li> </ul> </li> <li> <a href="../../../graphics/shaders/glsl.html" class=" module">glsl</a> </li> <li> <a href="../../../graphics/shaders/shaders.html" class=" module">shaders</a> </li> </ul> </li> <li> <a href="../../../graphics/adapters.html" class=" module">adapters</a> </li> <li> <a href="../../../graphics/graphics.html" class=" module">graphics</a> </li> <li> <a href="../../../graphics/shaders.html" class=" module">shaders</a> </li> </ul> </li> <li class="collapsed tree-view"> <a href="#" class="package">utility</a> <ul class="tree-view"> <li> <a href="../../../utility/awesomium.html" class=" module">awesomium</a> </li> <li> <a href="../../../utility/concurrency.html" class=" module">concurrency</a> </li> <li> <a href="../../../utility/config.html" class=" module">config</a> </li> <li> <a href="../../../utility/filepath.html" class=" module">filepath</a> </li> <li> <a href="../../../utility/input.html" class=" module">input</a> </li> <li> <a href="../../../utility/output.html" class=" module">output</a> </li> <li> <a href="../../../utility/resources.html" class=" module">resources</a> </li> <li> <a href="../../../utility/string.html" class=" module">string</a> </li> <li> <a href="../../../utility/tasks.html" class=" module">tasks</a> </li> <li> <a href="../../../utility/time.html" class=" module">time</a> </li> </ul> </li> <li> <a href="../../../components.html" class=" module">components</a> </li> <li> <a href="../../../core.html" class=" module">core</a> </li> <li> <a href="../../../graphics.html" class=" module">graphics</a> </li> <li> <a href="../../../utility.html" class=" module">utility</a> </li> </ul> <noscript> <p style="color: red">The search functionality needs JavaScript enabled</p> </noscript> <div id="symbolSearchPane" style="display: none"> <p> <input id="symbolSearch" type="text" placeholder="Search for symbols" onchange="performSymbolSearch(24);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();"/> </p> <ul id="symbolSearchResults" style="display: none"></ul> <script type="application/javascript" src="../../../symbols.js"></script> <script type="application/javascript"> //<![CDATA[ var symbolSearchRootDir = "../../../"; $('#symbolSearchPane').show(); //]]> </script> </div> </nav> <div id="main-contents"> <h1>Method Adapter.renderContext</h1><!-- using block body in layout.dt--><!-- Default block ddox.description in ddox.layout.dt--><!-- Default block ddox.sections in ddox.layout.dt--><!-- using block ddox.members in ddox.layout.dt--> <h2>Overload group</h2> <p></p> <section> <h3>Prototype</h3> <pre class="code prettyprint lang-d prototype"> void* renderContext() pure nothrow @property @safe auto final;</pre> </section> <h2>Overload group</h2> <p></p> <section> <h3>Prototype</h3> <pre class="code prettyprint lang-d prototype"> void renderContext( &nbsp;&nbsp;void* newVal ) pure nothrow @property @safe final;</pre> </section> <section> <h2>Authors</h2><!-- using block ddox.authors in ddox.layout.dt--> </section> <section> <h2>Copyright</h2><!-- using block ddox.copyright in ddox.layout.dt--> </section> <section> <h2>License</h2><!-- using block ddox.license in ddox.layout.dt--> </section> </div> </body> </html>
Circular-Studios/Dash-Docs
api/v0.9.0/graphics/adapters/adapter/Adapter.renderContext.html
HTML
mit
8,140
// Copyright 2013 The Changkong Authors. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. package dmt const VersionNo = "20131207" /* 图片分类 */ type PictureCategory struct { Created string `json:"created"` Modified string `json:"modified"` ParentId int `json:"parent_id"` PictureCategoryId int `json:"picture_category_id"` PictureCategoryName string `json:"picture_category_name"` Position int `json:"position"` Type string `json:"type"` } /* 图片 */ type Picture struct { ClientType string `json:"client_type"` Created string `json:"created"` Deleted string `json:"deleted"` Md5 string `json:"md5"` Modified string `json:"modified"` PictureCategoryId int `json:"picture_category_id"` PictureId int `json:"picture_id"` PicturePath string `json:"picture_path"` Pixel string `json:"pixel"` Referenced bool `json:"referenced"` Sizes int `json:"sizes"` Status string `json:"status"` Title string `json:"title"` Uid int `json:"uid"` } /* 图片空间的用户信息获取,包括订购容量等 */ type UserInfo struct { AvailableSpace string `json:"available_space"` FreeSpace string `json:"free_space"` OrderExpiryDate string `json:"order_expiry_date"` OrderSpace string `json:"order_space"` RemainingSpace string `json:"remaining_space"` UsedSpace string `json:"used_space"` WaterMark string `json:"water_mark"` } /* 搜索返回的结果类 */ type TOPSearchResult struct { Paginator *TOPPaginator `json:"paginator"` VideoItems struct { VideoItem []*VideoItem `json:"video_item"` } `json:"video_items"` } /* 分页信息 */ type TOPPaginator struct { CurrentPage int `json:"current_page"` IsLastPage bool `json:"is_last_page"` PageSize int `json:"page_size"` TotalResults int `json:"total_results"` } /* 视频 */ type VideoItem struct { CoverUrl string `json:"cover_url"` Description string `json:"description"` Duration int `json:"duration"` IsOpenToOther bool `json:"is_open_to_other"` State int `json:"state"` Tags []string `json:"tags"` Title string `json:"title"` UploadTime string `json:"upload_time"` UploaderId int `json:"uploader_id"` VideoId int `json:"video_id"` VideoPlayInfo *VideoPlayInfo `json:"video_play_info"` } /* 视频播放信息 */ type VideoPlayInfo struct { AndroidpadUrl string `json:"androidpad_url"` AndroidpadV23Url *AndroidVlowUrl `json:"androidpad_v23_url"` AndroidphoneUrl string `json:"androidphone_url"` AndroidphoneV23Url *AndroidVlowUrl `json:"androidphone_v23_url"` FlashUrl string `json:"flash_url"` IpadUrl string `json:"ipad_url"` IphoneUrl string `json:"iphone_url"` WebUrl string `json:"web_url"` } /* android phone和pad播放的mp4文件类。适用2.3版本的Android。 */ type AndroidVlowUrl struct { Hd string `json:"hd"` Ld string `json:"ld"` Sd string `json:"sd"` Ud string `json:"ud"` }
yaofangou/open_taobao
api/dmt/dmt_structs.go
GO
mit
3,394
'use strict'; const assert = require('assert'); const HttpResponse = require('./http-response'); describe('HttpResponse', () => { const mockResponse = { version: '1.0', status: '200 OK' }; it('should create an instance', () => { const httpResponse = new HttpResponse(mockResponse); assert.ok(httpResponse instanceof HttpResponse); }); describe('isProtocolVersion()', () => { it('should determine if protocol version matches', () => { const httpResponse = new HttpResponse(mockResponse); assert.ok(httpResponse.isProtocolVersion('1.0')); }); it('should return false if versions do not match', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.isProtocolVersion('2.0'), false); }); it('should throw an error if no version specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(httpResponse.isProtocolVersion, /Specify a protocol `version`/); }); it('should throw an error if no version specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.isProtocolVersion(false), /The protocol `version` must be a string/); }); }); describe('getProtocolVersion()', () => { it('should get the protocol version', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getProtocolVersion(), '1.0'); }); }); describe('setProtocolVersion()', () => { it('should set the protocol version', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getProtocolVersion(), '1.0'); httpResponse.setProtocolVersion('2.0'); assert.equal(httpResponse.getProtocolVersion(), '2.0'); }); it('should throw an error if no version specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(httpResponse.setProtocolVersion, /Specify a protocol `version`/); }); it('should throw an error if no version specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.setProtocolVersion(Boolean), /The protocol `version` must be a string/); }); }); describe('isStatus()', () => { it('should determine if status matches', () => { const httpResponse = new HttpResponse(mockResponse); assert.ok(httpResponse.isStatus('200 OK')); }); it('should return false if status do not match', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.isStatus('400 Bad Request'), false); }); it('should throw an error if no status specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(httpResponse.isStatus, /Specify a `status`/); }); it('should throw an error if specified status is not a string', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.isStatus({}), /The `status` must be a string/); }); }); describe('getStatus()', () => { it('should return the status', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatus(), '200 OK'); }); }); describe('getStatusCode()', () => { it('should return status code', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatusCode(), '200'); }); }); describe('getStatusText()', () => { it('should return status text', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatusText(), 'OK'); }); }); describe('setStatus()', () => { it('should set the status', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatus(), '200 OK'); httpResponse.setStatus(400, 'Bad Request'); assert.equal(httpResponse.getStatus(), '400 Bad Request'); }); it('should throw an error if no code specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatus(), '200 OK'); assert.throws(() => httpResponse.setStatus(void 0, 'Bad Request'), /Specify a status `code`/); }); it('should throw an error if the code is not an integer', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatus(), '200 OK'); assert.throws(() => httpResponse.setStatus('200', 'Bad Request'), /The status `code` must be an integer/); }); it('should throw an error if no text specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatus(), '200 OK'); assert.throws(() => httpResponse.setStatus(400, void 0), /Specify a status `text`/); }); it('should throw an error if specified text is not a string', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.getStatus(), '200 OK'); assert.throws(() => httpResponse.setStatus(400, true), /The status `text` must be a string/); }); }); describe('hasHeader()', () => { it('should determine if header has been set', () => { const _mockResponse = Object.assign({headers: {'Content-Type': 'test'}}, mockResponse); const httpResponse = new HttpResponse(_mockResponse); assert.ok(httpResponse.hasHeader('Content-Type')); }); it('should return false if header has not been set', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.hasHeader('Content-Type'), false); }); it('should throw an error if no header `name` specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(httpResponse.hasHeader, /Specify a header `name`/); }); it('should throw an error if specified header `name` is not a string', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.hasHeader({}), /The header `name` must be a string/); }); }); describe('getHeader()', () => { it('should return the header with the specified `name`', () => { const _mockResponse = Object.assign({headers: {'Content-Type': ['test']}}, mockResponse); const httpResponse = new HttpResponse(_mockResponse); assert.equal(httpResponse.getHeader('Content-Type'), 'test'); }); it('should return the default value if specified header does not exist', () => { const _mockResponse = Object.assign({headers: {}}, mockResponse); const httpResponse = new HttpResponse(_mockResponse); const defaultValue = 'text/plain'; assert.equal(httpResponse.getHeader('Content-Type', defaultValue), defaultValue); }); it('should throw an error if no header `name` specified', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(httpResponse.getHeader, /Specify a header `name`/); }); it('should throw an error if specified header `name` is not a string', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.getHeader({}), /The header `name` must be a string/); }); }); describe('getHeaders()', () => { it('should return all headers', () => { const headers = {'Content-Type': ['test']}; const _mockResponse = Object.assign({headers}, mockResponse); const httpResponse = new HttpResponse(_mockResponse); assert.deepEqual(httpResponse.getHeaders(), {'Content-Type': 'test'}); }); it('should return an empty set of headers when none are set', () => { const httpResponse = new HttpResponse(mockResponse); assert.deepEqual(httpResponse.getHeaders(), {}); }); }); describe('setHeader()', () => { it('should set a header in the httpResponse', () => { const httpResponse = new HttpResponse(mockResponse); httpResponse.setHeader('Content-Type', 'test'); assert.ok(httpResponse.hasHeader('Content-Type')); assert.equal(httpResponse.getHeader('Content-Type'), 'test'); }); it('should throw an error if a header `name` is not defined', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.setHeader(void 0, 'test'), /Specify a header `name`/); }); it('should throw an error if a header `name` is not a string', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.setHeader(false, 'test'), /The header `name` must be a string/); }); it('should throw an error if a header `value` is not defined', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.setHeader('Content-Type', void 0), /Specify a header `value`/); }); it('should throw an error if a header `name` is not a string', () => { const httpResponse = new HttpResponse(mockResponse); assert.throws(() => httpResponse.setHeader('Content-Type', []), /The header `value` must be a string/); }); it('should register a new header as an array with 1 value', () => { const httpResponse = new HttpResponse(mockResponse); httpResponse.setHeader('X-Test', 'test'); assert.ok(httpResponse.hasHeader('X-Test')); assert.deepEqual(httpResponse.getHeaderArray('X-Test'), ['test']); }); }); describe('hasBody()', () => { it('should determine if the httpResponse has a `body`', () => { const _mockResponse = Object.assign({body: ' '}, mockResponse); const httpResponse = new HttpResponse(_mockResponse); assert.ok(httpResponse.hasBody()); }); it('should return false if the esponse do not have a `body`', () => { const httpResponse = new HttpResponse(mockResponse); assert.equal(httpResponse.hasBody(), false); }); }); describe('getBody()', () => { it('should return the content of the httpResponse `body`', () => { const body = ' '; const _mockResponse = Object.assign({body}, mockResponse); const httpResponse = new HttpResponse(_mockResponse); assert.equal(httpResponse.getBody(), body); }); }); describe('setBody()', () => { it('should set the content of the httpResponse `body`', () => { const body = ' '; const httpResponse = new HttpResponse(mockResponse); httpResponse.setBody(body); assert.equal(httpResponse.getBody(), body); }); }); });
orestes/katana-sdk-node
sdk/http-response.test.js
JavaScript
mit
10,676
"use strict"; let datafire = require('datafire'); let openapi = require('./openapi.json'); module.exports = datafire.Integration.fromOpenAPI(openapi, "azure_sql_failoverdatabases");
DataFire/Integrations
integrations/generated/azure_sql_failoverdatabases/index.js
JavaScript
mit
181
--- layout: sidebar-right title: 'Meet the Author: Rose Tremain' date: 2016-08-16 author: brandon-king category: meet-the-author excerpt: Brandon King interviews Whitbread winner Rose Tremain. breadcrumb: meet-the-author --- ![Rose Tremain](/images/featured/featured-rose-tremain.jpg) Rose Tremain was one of only five women writers to be included in Granta’s original list of 20 Best of Young British Novelists in 1983. Her novels and short stories have been published worldwide in 27 countries and have won many prizes, including the Sunday Express book of the Year Award (for <cite>Restoration</cite>, also shortlisted for the Booker Prize); the Prix Femina Etranger, France (for <cite>Sacred Country</cite>); the Whitbread Novel of the Year Award (for <cite>Music &amp; Silence</cite>) and the Orange Prize for Fiction 2008 (for <cite>The Road Home</cite>). Restoration was filmed in 1995 and a stage version was produced in 2009. Her latest novel is the acclaimed <cite>The Gustav Sonata</cite> which sees Rose <q>writing at the height of her inimitable powers</q> (<cite>Observer</cite>). [Rose’s books are available through Suffolk Libraries.](https://suffolk.spydus.co.uk/cgi-bin/spydus.exe/ENQ/OPAC/BIBENQ/19571153?QRY=CAUBIB%3C%20IRN(3632)&QRYTEXT=Tremain%2C%20Rose) **Who were your literary influences when you were growing up?** At my school, we read no contemporary literature at all. It wasn’t until I was about sixteen that I discovered, for instance, Lawrence Durrell, whose over-rated purple prose felt beautiful to me then. I loved it so much, I wanted to eat the text! Meanwhile, I tried to write lyric poetry like Keats and gripping yarns, like Conrad. But the then Poet Laureate, John Masefield was watching over me. Our class made some poster-paint pictures of scenes from his novel, <cite>Lost Endeavour</cite>, and sent them to Masefield, and he was so touched that he invited us all to tea. I was then about 14 and I confided to him that I wanted to be a writer and he quoted W.B. Yeats to me: “Do not hurry, do not rest.” And I have never forgotten this. **Do you spend a lot of time researching? What is your writing routine?** Research is important. If, like me, you write about experiences outside your own, you have to know the world you’re trying to evoke. I work not only from written research, but a lot from pictures and photographs. For my recent novel, <cite>The Gustav Sonata</cite>, one of the most helpful sources was a traveller’s guide to Switzerland, heavily illustrated with pictures of everything from pastures to patisserie, cathedrals to cheese manufacture. Interior scenes and indeed landscapes can be evoked by the tiniest details, but they have to feel real and true. But here, I was also helped by my own memorable experiences of being taken to Switzerland as a young child and, later being sent to school there for a year. Writing routines vary for every one of us. The most important thing, when I’m working on a novel, is to try to clear the diary of interruptions. This isn’t always easy because talking to audiences about our work has become part of a writer’s life. But my happiest days are those when I can work without being disturbed for six or seven hours. **What draws you to a new subject?** This is a mysterious process. Over a long writing life, I’ve been drawn to a variety of subjects and themes and I can never predict where I’m likely to go next. But this, I think, is what has kept me going over forty years as a published author. I seldom recycle any part of my own biography, but search for new places and characters who are distant from me in age, type and (often) gender. This is the process which gets my imagination working. Dreaming a new story into existence is as enthralling to me now as it was when I was 30. **Robert Merivel: What makes people love this man?** I think people love Robert Merivel because we are all – every one of us – like him, in certain ways. We are courageous and yet afraid, boastful and yet uncertain of our capacities, drawn to material splendour but pricked by a puritanical conscience. We can also usually predict – ahead of him – the troubles he is going to tumble into, and then laugh or cry with him. In other words, he is human and fallible, but often saved by irony and wit and a tendency to collapse into drunken monologues or unstoppable giggling at inappropriate moments. Once this character was ‘found’, via his voice and his appetites, it was easy to become him. I always knew that, one day, I would write the sequel to <cite>Restoration</cite> and this came out (<cite>Merivel: A Man of His Time</cite>) in 2013. In the second book, Sir Robert is older, but not much wiser and the world around him begins to darken. **Are Anton and Gustav in <cite>The Gustav Sonata</cite> based on anyone?** These boys are pure inventions, not based on anyone. However, in the opening section, I draw on some personal recollections of the loneliness of childhood and its terrors and the way adult behaviour is so unpredictable. Connected to the idea of Swiss ‘neutrality’ (a state much harder to sustain that we might suppose), I wanted to create a person, Gustav, who, because he is not loved, strives for a kind of ‘neutrality of feeling’ all his life. He achieves a high degree of self-mastery, but his passionate love for Anton threatens to undermine this from the day they first meet at Kindergarten, aged 5. Anton is Gustav’s antithesis, the spoilt child of loving parents, with seemingly boundless self-belief. Yet Anton, too, is overwhelmed by destructive forces within himself and he comes to realise that the only person who can save him is Gustav. **What is your latest project?** I’m working on several things: a stage play based on my short story, <cite>The Darkness of Wallis Simpson</cite>, a 3-part TV adaptation of my novel, <cite>Trespass</cite>, a mystery with incest at its troubled heart, set in the Cevennes region of France, and a story for children about an iron bird. I have a new idea for a novel, but this is a tiny, hard-to-see embryo, which may or may not put on flesh and acquire a beating heart. Watch this space – or rather, perhaps, don’t watch it! **Do you have a message for your many readers in Suffolk Libraries?** You’ve been patient with my many excursions into different forms and subjects and I hope most of you have found something to love. I’ll try to keep on working and experimenting and not let you down.
suffolklibraries/sljekyll
new-suggestions/meet-the-author/_posts/2016-08-09-meet-the-author-rose-tremain.md
Markdown
mit
6,530
--- layout: post title: "Visão da Verdade" date: 2018-01-01 source: Módulo Básico 209, Módulo Básico Edição Revisada 219. tags: [nenhum, bardo] --- **arcana 6, divina 5 (adivinhação)** **Alcance**: toque **Teste de Resistência**: nenhum. **Duração**: 10 minutos **Alvo**: criatura tocada **Tempo de Execução**: ação padrão Esta magia faz o alvo ver a forma real das coisas. Ele enxerga através de escuridão (normal e mágica), ilusões (tanto invisibilidade quanto formas ilusórias) e transmutações (vê a forma real de criaturas ou objetos transformados). Esta magia não atravessa objetos sólidos, nem cancela camuflagem causada por efeitos mundanos. Assim, ela não revela coisas como disfarces comuns.
RoenMidnight/grimorio-trpg
_posts/2018-01-01-Vis__o-da-Verdade.markdown
Markdown
mit
739
<!DOCTYPE html> <head> <title>Terrible Treats - Cookie Recipe</title> <link rel="stylesheet" type="text/css" href="styling.css"> </head> <body> <div id="header"> <p id="title">Terrible Treats</p> <p id="subTitle">Desserts For Your Worst Enemies</p> </div> <div id="navCon" class="flex-container"> <div id="navBar" class="flex-nav"> <p class="navButton"><a href="index.html">Home</a></p> <p class="navButton"><a href="cookies.html">Cookies</a></p> <p class="navButton"><a href="cakes.html">Cakes</a></p> <p class="navButton"><a href="pies.html">Pies</a></p> </div> <div id="contentSection"> <p id="subTitle">Wasabi Cookies</p> <!-- Image taken from https://commons.wikimedia.org/wiki/File:Lemon_shortbread_cookies_with_lemon_royal_icing.jpg --> <img src="greenCookie.jpg" alt="Green Cookies"> <table id="ingredients"> <tr> <th>Ingredients</th> <th>Amount</th> </tr> <tr> <td>Eggs</td> <td>4</td> </tr> <tr> <td>Flour</td> <td>3 cups</td> </tr> <tr> <td>Butter</td> <td>1/4 pound</td> </tr> <tr> <td>Salt</td> <td>2 tbs</td> </tr> <tr> <td>Wasabi</td> <td>1 cup</td> </tr> </table> <h4>Instructions</h4> <ol> <li>Preheat oven to 350 degrees fahrenheit</li> <li>Add egg, flour, butter, wasabi, and salt into a bowl and mix untill fully blended</li> <li>Drop tablespoon size amounts of batter on a baking sheet with some distance between them</li> <li>Bake for 30 minutes</li> <li>Let stand for 15 minutes</li> </ol> </div> </div> </body>
Sean-Cox/Sean-Cox.github.io
Assn1/cookies.html
HTML
mit
2,032
package generated.zcsclient.mail; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for messagePartHitInfo complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType name="messagePartHitInfo"> * &lt;complexContent> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;sequence> * &lt;element name="e" type="{urn:zimbraMail}emailInfo" minOccurs="0"/> * &lt;element name="su" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * &lt;/sequence> * &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="sf" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="s" type="{http://www.w3.org/2001/XMLSchema}long" /> * &lt;attribute name="d" type="{http://www.w3.org/2001/XMLSchema}long" /> * &lt;attribute name="cid" type="{http://www.w3.org/2001/XMLSchema}int" /> * &lt;attribute name="mid" type="{http://www.w3.org/2001/XMLSchema}int" /> * &lt;attribute name="ct" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;attribute name="part" type="{http://www.w3.org/2001/XMLSchema}string" /> * &lt;/restriction> * &lt;/complexContent> * &lt;/complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "messagePartHitInfo", propOrder = { "e", "su" }) public class testMessagePartHitInfo { protected testEmailInfo e; protected String su; @XmlAttribute(name = "id") protected String id; @XmlAttribute(name = "sf") protected String sf; @XmlAttribute(name = "s") protected Long s; @XmlAttribute(name = "d") protected Long d; @XmlAttribute(name = "cid") protected Integer cid; @XmlAttribute(name = "mid") protected Integer mid; @XmlAttribute(name = "ct") protected String ct; @XmlAttribute(name = "name") protected String name; @XmlAttribute(name = "part") protected String part; /** * Gets the value of the e property. * * @return * possible object is * {@link testEmailInfo } * */ public testEmailInfo getE() { return e; } /** * Sets the value of the e property. * * @param value * allowed object is * {@link testEmailInfo } * */ public void setE(testEmailInfo value) { this.e = value; } /** * Gets the value of the su property. * * @return * possible object is * {@link String } * */ public String getSu() { return su; } /** * Sets the value of the su property. * * @param value * allowed object is * {@link String } * */ public void setSu(String value) { this.su = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the sf property. * * @return * possible object is * {@link String } * */ public String getSf() { return sf; } /** * Sets the value of the sf property. * * @param value * allowed object is * {@link String } * */ public void setSf(String value) { this.sf = value; } /** * Gets the value of the s property. * * @return * possible object is * {@link Long } * */ public Long getS() { return s; } /** * Sets the value of the s property. * * @param value * allowed object is * {@link Long } * */ public void setS(Long value) { this.s = value; } /** * Gets the value of the d property. * * @return * possible object is * {@link Long } * */ public Long getD() { return d; } /** * Sets the value of the d property. * * @param value * allowed object is * {@link Long } * */ public void setD(Long value) { this.d = value; } /** * Gets the value of the cid property. * * @return * possible object is * {@link Integer } * */ public Integer getCid() { return cid; } /** * Sets the value of the cid property. * * @param value * allowed object is * {@link Integer } * */ public void setCid(Integer value) { this.cid = value; } /** * Gets the value of the mid property. * * @return * possible object is * {@link Integer } * */ public Integer getMid() { return mid; } /** * Sets the value of the mid property. * * @param value * allowed object is * {@link Integer } * */ public void setMid(Integer value) { this.mid = value; } /** * Gets the value of the ct property. * * @return * possible object is * {@link String } * */ public String getCt() { return ct; } /** * Sets the value of the ct property. * * @param value * allowed object is * {@link String } * */ public void setCt(String value) { this.ct = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the part property. * * @return * possible object is * {@link String } * */ public String getPart() { return part; } /** * Sets the value of the part property. * * @param value * allowed object is * {@link String } * */ public void setPart(String value) { this.part = value; } }
nico01f/z-pec
ZimbraSoap/src/wsdl-test/generated/zcsclient/mail/testMessagePartHitInfo.java
Java
mit
7,074