Skip to content

Instantly share code, notes, and snippets.

Avatar

BackSpaceTech

View GitHub Profile
@BackSpaceTech
BackSpaceTech / index.js
Last active Sep 12, 2016
Shared Responsibility 3 - Identify and Destroy the Bots
View index.js
var express = require('express')
var app = express()
var bodyParser = require('body-parser')
app.set('port', (process.env.PORT ||8080));
app.use(express.static(__dirname + '/public'));
app.use(bodyParser.urlencoded({ extended: true }));
app.get('/', function(request, response) {
response.send(dynamicCSS())
@BackSpaceTech
BackSpaceTech / index.js
Last active Sep 11, 2016
Shared Responsibility 2 - Using Dynamic CSS Selectors to stop the bots.
View index.js
var express = require('express')
var app = express();
app.set('port', (process.env.PORT ||8080));
app.use(express.static(__dirname + '/public'));
app.get('/', function(request, response) {
response.send(dynamicCSS())
})