Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Hello.
- //
- // This is JSHint, a tool that helps to detect errors and potential
- // problems in your JavaScript code.
- //
- // To start, simply enter some JavaScript anywhere on this page. Your
- // report will appear on the right side.
- //
- // Additionally, you can toggle specific options in the Configure
- // menu.
- function main() {
- return 'Hello, World!';
- }
- main();
- /* Magic Mirror Config Sample
- *
- * By Michael Teeuw http://michaelteeuw.nl
- * MIT Licensed.
- *
- * For more information how you can configurate this file
- * See https://github.com/MichMich/MagicMirror#configuration
- *
- */
- var config = {
- address: "localhost", // Address to listen on, can be:
- // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
- // - another specific IPv4/6 to listen on a specific interface
- // - "", "0.0.0.0", "::" to listen on any interface
- // Default, when address config is left out, is "localhost"
- port: 8080,
- ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
- // or add a specific IPv4 of 192.168.1.5 :
- // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
- // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
- // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
- language: "en",
- timeFormat: 24,
- units: "metric",
- modules: [
- {
- module: "alert",
- },
- {
- module: "MMM-NowPlayingOnSpotify",
- position: "top_right",
- config: {
- showCoverArt: true,
- clientID: "",
- clientSecret: "",
- accessToken: "",
- refreshToken: ""
- }
- },
- {
- module: "updatenotification",
- position: "top_bar"
- },
- {
- module: "clock",
- position: "top_left"
- },
- {
- module: "calendar",
- header: "US Holidays",
- position: "top_left",
- config: {
- calendars: [
- {
- symbol: "calendar-check",
- url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" }
- ]
- }
- },
- {
- module: "compliments",
- position: "lower_third"
- },
- {
- module: "currentweather",
- position: "top_right",
- config: {
- location: "Vara,Sweden",
- locationID: "2665018", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- appid: "YOUR_OPENWEATHER_API_KEY"
- }
- },
- {
- module: "weatherforecast",
- position: "top_right",
- header: "Weather Forecast",
- config: {
- location: "Vara,Sweden",
- locationID: "2665018", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
- appid: "YOUR_OPENWEATHER_API_KEY"
- }
- },
- {
- module: "newsfeed",
- position: "bottom_bar",
- config: {
- feeds: [
- {
- title: "Aftonbladet",
- url: "http://www.aftonbladet.se/nyheter/rss.xml"
- }
- ],
- showSourceTitle: true,
- showPublishDate: true,
- broadcastNewsFeeds: true,
- broadcastNewsUpdates: true
- }
- },
- ]
- };
- /*************** DO NOT EDIT THE LINE BELOW ***************/
- if (typeof module !== "undefined") {module.exports = config;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement