This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
// Clone HTML5's placeholder attribute functionality | |
$('input[placeholder]').each(function() { | |
// Store the placeholder text and then set the element's value | |
// TODO: Check to make sure value is empty before setting here | |
$(this).data('placeholder', $(this).attr('placeholder')); | |
$(this).val($(this).data('placeholder')).addClass('placeholder'); | |
// Handle the removal/addition of the placeholder text on focus/blur | |
$(this).focus(function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @Author Jonathon byrd | |
* @link http://www.jonathonbyrd.com | |
* @Package Wordpress | |
* @SubPackage Widgets | |
* @copyright Proprietary Software, Copyright Byrd Incorporated. All Rights Reserved | |
* @Since 1.0.0 | |
* | |
* Plugin Name: Master Widget |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import socket | |
import struct | |
import sys | |
import os | |
import time | |
# see com.intellij.idea.SocketLock for the server side of this interface |