Skip to content

Instantly share code, notes, and snippets.

View copleston's full-sized avatar

Oliver Copleston copleston

View GitHub Profile
import mido, time
PORT = "Traktor Virtual Output"
inport = mido.open_input(PORT)
old_time = time.time()
new_time = 0
readings = list()
max_samples = 50
def mean(nums):
@copleston
copleston / App.js
Last active November 28, 2018 15:03
Cardiff Uni Phishing Attack
import React, { Component } from 'react'
import axios from 'axios'
import { Helmet } from 'react-helmet'
import { createBrowserHistory } from 'history'
const browserHistory = createBrowserHistory({ forceRefresh: false })
var randomstring = require('randomstring')
const devtools = require('devtools-detect')
let DISABLE_PROTECTION = true