Advertisement
Guest User

Untitled

a guest
Apr 16th, 2017
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. var config = {
  3.         port: 8080,
  4.         ipWhitelist: ["192.168.1.1/24", "::ffff:192.168.1.1/24", "::1"],
  5.  
  6.         language: "nl",
  7.         timeFormat: 24,
  8.         units: "metric",
  9.  
  10.         modules: [
  11.                 {
  12.                         module: "alert",
  13.                 },
  14.                 {
  15.                         module: "newsfeed",
  16.                         position: "top_bar",
  17.                         config: {
  18.                                 feeds: [
  19.                                         {
  20.                                                 title: "De Redactie",
  21.                                                 url: "http://deredactie.be/cm/vrtnieuws?mode=atom"
  22.                                         }
  23.                                 ],
  24.                                 showSourceTitle: true,
  25.                                 showPublishDate: true
  26.                         }
  27.                 },
  28.                 {
  29.                         module: "updatenotification",
  30.                         position: "top_bar"
  31.                 },
  32.                 {
  33.                         module: "clock",
  34.                         position: "top_left"
  35.                 },
  36.                 {
  37.                         module: "calendar",
  38.                         header: "Agenda",
  39.                         position: "top_left",
  40.                         config: {
  41.                                 calendars: [
  42.                                         {
  43.                                                 url: "https://calendar.google.com/myWorkCal",
  44.                                         },
  45.                                         {
  46.                                                 url: "https://calendar.google.com/myFamilyCal",
  47.                                         }
  48.                                 ]
  49.                         }
  50.                 },
  51.                 {
  52.                         module: "currentweather",
  53.                         position: "top_right",
  54.                         config: {
  55.                                 location: "location",
  56.                                 locationID: "28026225",  //ID from http://www.openweathermap.org
  57.                                 appid: "myrealapi"
  58.                         }
  59.                 },
  60.                 {
  61.                         module: "weatherforecast",
  62.                         position: "top_right",
  63.                         header: "Weather Forecast",
  64.                         config: {
  65.                                 location: "location",
  66.                                 locationID: "28026225",  //ID from http://www.openweathermap.org
  67.                                 appid: "myrealapi"
  68.                         }
  69.                 },
  70.                 {
  71.                         module: "newsfeed",
  72.                         position: "Bottom_bar",
  73.                         config: {
  74.                                 feeds: [
  75.                                         {
  76.                                                 title: "Krebs on Security",
  77.                                                 url: "https://krebsonsecurity.com/feed"
  78.                                         },
  79.                                                 title: "Wired",
  80.                                                 url: "https://www.wired.com/feed"
  81.                                 ],
  82.                                 showSourceTitle: true,
  83.                                 showPublishDate: true
  84.                         }
  85.                 },
  86.         ]
  87.  
  88. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement