Skip to content

Instantly share code, notes, and snippets.

View BackSpaceTech's full-sized avatar

BackSpaceTech

View GitHub Profile
@BackSpaceTech
BackSpaceTech / index.js
Last active September 12, 2016 08:26
Shared Responsibility 3 - Identify and Destroy the Bots
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 September 11, 2016 16:29
Shared Responsibility 2 - Using Dynamic CSS Selectors to stop the bots.
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())
})