This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var result = await ctx.Blogs | |
| .GroupBy(b => true) | |
| .Select(g => new { | |
| Max = g.Max(), | |
| Count = g.Count() | |
| }) | |
| .SingleAsync(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let controlsParent = document.getElementsByClassName('ytp-right-controls')[0]; | |
| let buttonHtml = '<button class="ytp-ratio-button ytp-button" aria-label="Ratio" title="Ratio"><svg height="100%" version="1.1" viewBox="0 0 24 24" width="100%" transform="scale(0.75)"> <use class="ytp-svg-shadow" xlink:href="#ytp-id-1234"></use> <path d="M2 4h20v16H2V4zm2 14h16V6H4v12zM8 8h2v2H8v2H6V8h2zm8 8h-2v-2h2v-2h2v4h-2z" fill="#fff" fill-rule="evenodd" id="ytp-id-1234"/> </svg></button>'; | |
| controlsParent.children[controlsParent.children.length - 2] | |
| .insertAdjacentHTML("afterEnd", buttonHtml); | |
| const video = document.querySelector('video.html5-main-video'); | |
| let globalScale = 1; | |
| const sheet = new CSSStyleSheet(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../polymer/polymer.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../polymer/polymer.html"> | |
| <polymer-element name="my-timetable"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../core-icon-button/core-icon-button.html"> | |
| <link rel="import" href="../core-toolbar/core-toolbar.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../paper-tabs/paper-tabs.html"> | |
| <link rel="import" href="../paper-tabs/paper-tab.html"> | |
| <link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
| <link rel="import" href="../core-menu/core-submenu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <polymer-element name="my-scheduler-app"> |