Skip to content

Instantly share code, notes, and snippets.

Bradley Miller bnmnetp

Block or report user

Report or block bnmnetp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bnmnetp
bnmnetp / cleanDatabase.ipynb
Created Jul 30, 2014
interactivepython database cleanup
View cleanDatabase.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bnmnetp
bnmnetp / third-party.js
Last active Aug 30, 2018
Include a Third Party library not in skulpt-stdlib.js
View third-party.js
// This snippet shows the cool new functionality added by @bzwheeler and the team at trinket.io
// You can now develop and host your own modules for skulpt, and set up a page to make those
// modules available as in the following.
Sk.externalLibraries = {
numpy : {
path: 'http://example.com/static/primeronoo/skulpt/external/numpy/__init__.js',
dependencies: ['/static/primeronoo/skulpt/external/deps/math.js'],
},
matplotlib : {
@bnmnetp
bnmnetp / simpleskulpt.html
Last active Jun 24, 2019
Here is about the simplest example I can think of that gets you a working skulpt environment. This little sample shows regular python as well as importing a module.
View simpleskulpt.html
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
<script src="http://www.skulpt.org/js/skulpt.min.js" type="text/javascript"></script>
<script src="http://www.skulpt.org/js/skulpt-stdlib.js" type="text/javascript"></script>
</head>
<body>
You can’t perform that action at this time.