Skip to content

Instantly share code, notes, and snippets.

View owencjones's full-sized avatar

Owen Jones owencjones

  • Seacode Limited
  • Cardiff, UK
View GitHub Profile

Keybase proof

I hereby claim:

  • I am owencjones on github.
  • I am owencjones (https://keybase.io/owencjones) on keybase.
  • I have a public key whose fingerprint is A47C 7887 FD41 B597 4525 9BB1 FDF7 FFCA 7706 6A78

To claim this, I am signing this object:

@owencjones
owencjones / resume.json
Last active October 10, 2022 10:53
resume.json
{"basics":{"name":"Owen C. Jones","label":"Python and Javascript Specialist in HPC and API development","image":"https://avatars.githubusercontent.com/u/10032926?v=4","email":"enquire@owencjones.co.uk","phone":"","url":"represent.io/seajones","summary":"I'm a technologically agnostic software engineer with a proven track record of creation of web products and applications over the last 15 years.\n\nIn my time I've worked with multiple technologies, from PHP to C#, JavaEE, and Python. I spent several years focused on front-end and user interface coding, and now work in full stack, using whatever technology is best suited to the problem.\n\nMy current interests are:\n\n- Node.js and plain JavaScript coding\n- Python\n- Test driven development\n- Integrated systems\n- Machine learning","profiles":[{"network":"gitconnected","username":"owencjones","url":"https://gitconnected.com/owencjones"},{"network":"GitHub","username":"owencjones","url":"https://github.com/owencjones"},{"network":"LinkedIn","url":"https://www
@owencjones
owencjones / 0_reuse_code.js
Created May 5, 2016 08:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@owencjones
owencjones / cleanInput.js
Created December 3, 2014 10:32
Clean user input in Client-Side JS
/*
Depends on JQuery. By taking input and adding it as text to a DOM-injected div, it forces the content to go
through JQuery's in-built sanitation. Rendering it clean of DOM-injection attacks.
Taken from Socket.io's chat demo source.
https://github.com/Automattic/socket.io/blob/master/examples/chat/public/main.js#L148
*/
function cleanInput (input) {return $('<div/>').text(input).text();}