Skip to content

Instantly share code, notes, and snippets.

View tekniklr's full-sized avatar
🦾

T tekniklr

🦾
View GitHub Profile

Keybase proof

I hereby claim:

  • I am tekniklr on github.
  • I am tekniklr (https://keybase.io/tekniklr) on keybase.
  • I have a public key whose fingerprint is 8B64 E366 0B55 4271 ED4D 62CC 5469 0810 9F0A 701F

To claim this, I am signing this object:

@tekniklr
tekniklr / null.html
Created March 26, 2016 21:34
was curious how this ( http://gizmodo.com/it-really-sucks-to-be-named-jennifer-null-1767159091 ) even happens - how does a form input validate a string value from a submitted form as equivalent to null???
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='text/html;charset=utf-8' http-equiv='Content-Type'>
<title>null</title>
<!-- was curious how this ( http://gizmodo.com/it-really-sucks-to-be-named-jennifer-null-1767159091 ) even happens - how does a form input validate a string value from a submitted form as equivalent to null??? -->
<script type="text/javascript">
function do_it() {
@tekniklr
tekniklr / gist:2661694
Created May 11, 2012 18:56
Example of using modal confirmation dialog in jQuery
<div id="modal-submit-once" title="Are you sure?" style="display:none">
<p>This form can only be submitted once. Are you sure you want to submit it now?</p>
</div>
<input type="button" id="submit_form" value="Submit" />
<script type="text/javascript">
$("div[id^='modal-submit-once']").dialog({
modal: true,
autoOpen: false,