8918 W 64th Pl, Apt 203 / Merriam, KS 66202
816-200-7301 / [email protected]
To obtain a position working with web technologies that leverages my skills,
| import inspect | |
| def privatemethod(func): | |
| """decorator for making an instance method private""" | |
| def func_wrapper(*args, **kwargs): | |
| """decorator wrapper function""" | |
| outer_frame = inspect.stack()[1][0] | |
| if 'self' not in outer_frame.f_locals or outer_frame.f_locals['self'] is not args[0]: | |
| raise Exception('%s.%s is a private method' % (args[0].__class__.__name__, func.__name__)) | |
| func(*args, **kwargs) |
| try { Thread.sleep(5000); } catch (InterruptedException e) { e.printStackTrace(); } |
| <?php | |
| /** | |
| * Objected-oriented command line output library for PHP. | |
| * | |
| * Dependencies: | |
| * - Console_Color PEAR package | |
| * - Bash | |
| * | |
| * PHP version 5 | |
| * |
| <?php | |
| error_reporting(-1); | |
| set_time_limit(0); | |
| $host = '0.0.0.0'; | |
| $port = 12345; | |
| $max_clients = 10; | |
| // Create the socket. |
| <?php | |
| /** | |
| * Wrapper class for AtomicParsley for setting iTunes style meta data on MPEG-4 files. | |
| * | |
| * Dependencies: | |
| * - Bunsen <http://github.com/jnrbsn/bunsen> | |
| * - AtomicParsley <http://atomicparsley.sourceforge.net/> | |
| */ | |
| class AtomicParsley |
| <?php | |
| /** | |
| * An example of how to use the `squarize()` function below. | |
| */ | |
| $path_input = 'input.png'; | |
| $path_output = 'output.png'; | |
| $thumb_w = 100; | |
| $thumb_h = 100; |
8918 W 64th Pl, Apt 203 / Merriam, KS 66202
816-200-7301 / [email protected]
To obtain a position working with web technologies that leverages my skills,
| function j(u, c) { | |
| var h = document.getElementsByTagName('head')[0], s = document.createElement('script'); | |
| s.async = true; s.src = u; | |
| s.onload = s.onreadystatechange = function () { | |
| if (!s.readyState || /loaded|complete/.test(s.readyState)) { | |
| s.onload = s.onreadystatechange = null; if (h && s.parentNode) { h.removeChild(s) } s = undefined; | |
| if (c) { c() } | |
| } | |
| }; | |
| h.insertBefore(s, h.firstChild); |
| var fs = require('fs'), | |
| EventEmitter = require('events').EventEmitter; | |
| var createLineReader = function (filename) { | |
| var stream = fs.createReadStream(filename), | |
| em = new EventEmitter(), | |
| buffer = ''; | |
| stream.on('error', function (error) { | |
| throw error; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>jQuery Mobile Test</title> | |
| <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css"> | |
| <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> | |
| <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script> | |
| <script> |