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
| public class PageRoutingServlet extends HttpServlet { | |
| private Map<String, PageController> pages = Maps.newHashMap(); | |
| @Override | |
| public void init(ServletConfig config) throws ServletException { | |
| super.init(config); | |
| pages.put("/page1", new PageController() { | |
| @Override |
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
| find . -name "*.spec.js" -exec sed -i '' -e 's/andReturn/and.returnValue/g' {} \; | |
| find . -name "*.spec.js" -exec sed -i '' -e 's/callCount/calls.count()/g' {} \; |
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
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "title": "TNG API", | |
| "description": "Move your app forward with the TNG API", | |
| "version": "1.0.0" | |
| }, | |
| "host": "mtel.telcong.com", | |
| "schemes": [ | |
| "https" |
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
| package tests | |
| import ( | |
| "testing" | |
| ) | |
| type S struct { | |
| t *testing.T | |
| } |
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
| MG.data_graphic({ | |
| title:"Multi-Line Chart", | |
| description: "This line chart contains multiple lines.", | |
| data: [[{"time":new Date("2015-03-06 12:01:12"), "value" : 10},{"time" : new Date("2015-03-06 12:02:12"), "value" : 15}],[{"time" : new Date("2015-03-06 12:01:12"), "value":15},{"time" : new Date("2015-03-06 12:02:12"), "value":30}]], | |
| width: 400, | |
| height: 250, | |
| target: ".result", | |
| x_accessor: "time", | |
| y_accessor: "value", | |
| interpolate: "monotone" |
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-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <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-menu/core-submenu.html"> | |
| <link rel="import" href="../paper-slider/paper-slider.html"> | |
| <polymer-element name="my-element"> |
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-scaffold/core-scaffold.html"> | |
| <link rel="import" href="../core-header-panel/core-header-panel.html"> | |
| <link rel="import" href="../core-menu/core-menu.html"> | |
| <link rel="import" href="../core-item/core-item.html"> | |
| <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-menu/core-submenu.html"> | |
| <polymer-element name="my-element"> |
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="../topeka-elements/topeka-datasource.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
| package main | |
| import ( | |
| "github.com/codegangsta/martini" | |
| "github.com/gorilla/websocket" | |
| "log" | |
| "net" | |
| "net/http" | |
| "sync" | |
| ) |
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
| <configuration debug="true"> | |
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
| <layout class="ch.qos.logback.classic.PatternLayout"> | |
| <Pattern>%d{HH:mm:ss.SSS,Europe/Sofia} %-5level %logger{35} - %msg%n</Pattern> | |
| </layout> | |
| </appender> | |
| <logger name="com.clouway" level="DEBUG"> |