Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
/* (Optional) Define RGB settings in your config.h */ | |
#ifdef RGBLIGHT_ENABLE | |
# define RGBLIGHT_ANIMATIONS | |
# define RGBLIGHT_HUE_STEP 8 | |
# define RGBLIGHT_SAT_STEP 8 | |
# define RGBLIGHT_VAL_STEP 8 | |
# define RGBLIGHT_LIMIT_VAL 150 | |
# define RGBLIGHT_SLEEP | |
// # define RGBLIGHT_LAYERS // We do NOT need the layers! | |
#endif |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
var express = require('express'); | |
var app = express.createServer(); | |
app.set('view engine', 'jade'); | |
app.set('port', parseInt(process.env.PORT || 5000, 10)); | |
app.get('/', function(req, res) { | |
res.render('index'); |